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

Rviz colorbar

asked 2014-07-02 12:42:05 -0600

crpizarr gravatar image

I have a cloud of PointXYZI and I'm visualising them in Rviz. With the rainbow transform for intensities (you know, high values are "blue" and low values are "red"), is there a way to get a colorbar to know which colors match which values?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-10-23 04:43:29 -0600

peci1 gravatar image

It is standard HSV color palette cropped at 83.33% (or 5/6) of max hue value. This is because if it weren't cropped, then the color for the lowest and highest values would be the same.

You can plot it in matlab:

axis off;
map = hsv(100);
set(gca, 'CLim', [min_value, max_value]);
edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-07-02 12:42:05 -0600

Seen: 1,505 times

Last updated: Oct 23 '15