Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 84

How to find the number of Markers in a Marker Array?

$
0
0
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?

Viewing all articles
Browse latest Browse all 84

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>