How to find the number of Markers in a Marker Array?
Hi Everyone,
I'm trying to write a simple program that extracts the heights from all the markers in a MarkerArray message. However, I am having a lot of trouble doing this.
This is how I get the cartesian information: msg->markers[i].pose.position.z
I read somewhere that this might work, but so far no luck: msg->markers.size()
Any ideas?