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

In the code you posted, the color is the same (white) for all the points: r=g=b=1. Maybe you meant to have something like: c.r = 0; c.g = 0; c.b = float(i)/5;

Which would give you a spread from black to blue.