Hi all thought this was something simple wanting to add integer x after /sensor/ but when I use that string in place of the example "/sensor/" where myString is I get the below error
OSCMessage & add( char * address);
//add with nothing in it produces an invalid osc message
//copies an existing message into the bundle
OSCMessage & add(OSCMessage & msg);
You need to use the underlying string since Strings are not supported as an argument: bndl.add(myString.c_str()).add((int32_t)measurementData.distance_mm[x]);