ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

You just need to give a different ns for each marker. I guess you use the following code to specify a marker:

visualization_msgs::Marker marker;
marker.type = visualization_msgs::Marker::SPHERE;
marker.header.stamp = ros::Time::now();
...
marker.ns = "markerName"

You need to change the "markerName", e.g. "marker0","marker1","marker2"...