Ask Your Question
1

Change laserscan colors dependent on distance

asked 2020-03-31 07:12:05 -0500

cheesee61 gravatar image

Hello everybody,

when I visualize a laser scan in rviz, every scan (every point) is in the same color. How can I change the color dependent on the distance measured, pretty much as in this package here?

I am using Ubuntu 16.04 LTS with ROS Kinetic.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2020-04-04 10:40:38 -0500

Weasfas gravatar image

Hi @cheesee61,

You can change the LaserScann display on Rviz in the property Color tranformer, setting the value to AxisColor.

edit flag offensive delete link more

Comments

1

Just remember to change the Axis too.

Teo Cardoso gravatar image Teo Cardoso  ( 2020-04-06 11:10:11 -0500 )edit

Thx to both of you guys!

cheesee61 gravatar image cheesee61  ( 2020-04-11 18:14:10 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2020-03-31 07:12:05 -0500

Seen: 31 times

Last updated: Apr 04