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

Revision history [back]

Just look at the make marker function, it gives you the visual form of the marker controlled by the interactive object: Cylinder, Box, Sphere ... and its size and color:

marker = Marker()
marker.type = Marker.CYLINDER
marker.scale.x =  0.3
marker.scale.y =  0.3
marker.scale.z =  0.3
marker.color.g = 1.0
marker.color.a = 1.0

Just look at the make marker function, it gives you the visual form of the marker controlled by the interactive object: Cylinder, Box, Sphere ... and its size and color:

marker = Marker()
marker.type = Marker.CYLINDER
marker.scale.x =  0.3
marker.scale.y =  0.3
marker.scale.z =  0.3
marker.color.g = 1.0
marker.color.a = 1.0

In my opinion I guess it probably should work without the last append, I do not see any reason why it should not do so, maybe the author added it twice by accident.

Just look at the make marker function, it gives you the visual form of the marker controlled by the interactive object: Cylinder, Box, Sphere ... and its size and color:

marker = Marker()
marker.type = Marker.CYLINDER
marker.scale.x =  0.3
marker.scale.y =  0.3
marker.scale.z =  0.3
marker.color.g = 1.0
marker.color.a = 1.0

UPDATE:

In my opinion I guess it probably should work without the last append, I do not see any reason why it should not do so, maybe the author added it twice by accident.

Just look at the make marker function, it gives you the visual form of the marker controlled by the interactive object: Cylinder, Box, Sphere ... and its size and color:

marker = Marker()
marker.type = Marker.CYLINDER
marker.scale.x =  0.3
marker.scale.y =  0.3
marker.scale.z =  0.3
marker.color.g = 1.0
marker.color.a = 1.0

UPDATE:

In my opinion I guess it probably should work without the last first append, I do not see any reason why it should not do so, maybe the author added it twice by accident.