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

Revision history [back]

click to hide/show revision 1
initial version

@domhege (as answer as a comment has a length limit):

When I draw other types (as LINE_LIST), the scale modifies the visualization (in this case the line width) but does not change the marker.points. But for the triangles, the scale modifies the points so that it has a completely different interpretation. The manual also says "Scale of the marker. Applied before the position/orientation. A scale of [1,1,1] means the object will be 1m by 1m by 1m. "

For Triangle_list, the scale is applied ON the position. I can understand that this behaviour can be useful if the Triangle_list is used to generate a mesh, but at least the documentation should mention the different interpretation.