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

problem with the data format of velodyne lidar

asked 2014-03-18 02:23:11 -0500

keygeorge gravatar image

hi guys! Recently,I had run the velodyne lidar .when i used rviz to visualise the data stream received from the lidar ,i saw different color in different point.well,this is where my problem is:does velodyne itself produce data with color information or it is rviz that attaches the information to the velodyne raw data ? if it is the rviz,then what principle does it follow when it created the color to certain point,that is ,what does the color of point stand for?this is my first question .then i transformed the velodyne raw data into the pcl::PointCloud(pcl::PointXYZRGB) format,and broadcasted them into the same format after some processing with my program,but this time,the program warned that it can't find the rgb field .does it mean that velodyne raw data at nature doesn't own the rgb channels,so when i transform them into rgb format,some error just occured? i can't find any useful information on internet and hope for some help here,thanks a lot!

edit retag flag offensive close merge delete

Comments

A little bit of formatting would be helpful.

BennyRe gravatar image BennyRe  ( 2014-03-18 06:18:12 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2014-03-18 14:55:38 -0500

Ryan gravatar image

rviz produces the colouring. If you expand the PointCloud display in rviz, you'll see the option to change this. IIRC it's by axis at present.

edit flag offensive delete link more
0

answered 2014-03-21 04:54:21 -0500

keygeorge gravatar image

thanks ,that is just what i suspect to be

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-03-18 02:23:11 -0500

Seen: 532 times

Last updated: Mar 21 '14

Related questions