ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2012-09-13 09:32:19 -0500 | received badge | ● Popular Question (source) |
2012-09-13 09:32:19 -0500 | received badge | ● Notable Question (source) |
2012-09-13 09:32:19 -0500 | received badge | ● Famous Question (source) |
2012-05-07 05:36:00 -0500 | received badge | ● Taxonomist |
2011-03-15 07:00:58 -0500 | marked best answer | std_msgs/ColorRGBA[].displaying different color for each point 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. |
2011-03-05 10:03:46 -0500 | asked a question | std_msgs/ColorRGBA[].displaying different color for each point Hello sir, I am trying to display different color for each point. I am able to display points with single color using: but in am unable to display points with different colors. my lines of code is: thanks for the help. |