ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
One problem is that you are not using a Marker Array
. For more than one Marker always use Marker Array
. If you are not using Marker Array then push pubTrackMarkers.publish(markerMsg);
inside the for loop. If you change to MarkerArray then use publisher of type <visualization_msgs::MarkerArray>
Change this and tell me if you still have some problem