ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
msg->markers.size() gives you the number of markers contained in the message.
To find or set the height, have a look at the scale fields of the marker message (see also http://wiki.ros.org/rviz/DisplayTypes/Marker#Message_Parameters).