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

The wiki says:

http://wiki.ros.org/rviz/DisplayTypes/Marker#Line_List_.28LINE_LIST.3D5.29

In visualization 1.1+ will also optionally use the colors member for per-vertex color.

I would guess that means you need to specify a color for each point in the points list, so colors should be the number of points or two times the number of lines. But that sounds like what you're doing. Can you post (as an edit to your original post) what version of rviz you're using and what version of ROS and what your OS is?