Ask Your Question

How to understand 3D lidar data?

asked 2020-05-21 13:41:40 -0500

evoura gravatar image

updated 2020-05-23 13:20:19 -0500


we are trying to use OS1 3d lidar in our project but we couldnt understand the datas which we can see on terminal.

we want to understand which number is x, y,z and color?

Here is an output when we listened /os1_cloud_node/points topic:

0, 0, 0, 0, 0, 0, 157, 42, 233, 192, 36, 50, 162, 55, 82, 69, 167,191, 0, 0, 0,0, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, .....
edit retag flag offensive close merge delete


I'm sorry to have to do this for something so seemingly unimportant, but please don't post screenshots of terminal text in question on ROS Answers. It's all text, so there is no need. Just copy-paste the text from the terminal into your question text. Do make sure to format it properly by selecting the text and pressing ctrl+k (or clicking the Preformatted Text button (the one with 101010 on it)).

You don't need to post a new question, just edit your curent one. You can use the edit button/link for this.

After you replace the screenshot with the error message itself, we can re-open your question.

gvdhoorn gravatar image gvdhoorn  ( 2020-05-22 03:40:51 -0500 )edit

@gvdhoorn can yoı re-open my question please?

evoura gravatar image evoura  ( 2020-05-23 13:20:00 -0500 )edit

We can see that the topic for /os1_cloud_node/points uses a message of type sensor_msgs/PointCloud2, which also contains a msg of type sensor_msgs/PointField. After looking at the definitions, it seems like we would need more information about the code you are using. Could you provide a link to the ROS package(s) you are using to get the LIDAR data into ROS ?

Pinknoise2077 gravatar image Pinknoise2077  ( 2020-05-24 14:58:08 -0500 )edit

1 Answer

Sort by » oldest newest most voted

answered 2020-05-22 01:44:14 -0500

improve100 gravatar image

you can use rostopic type os1_cloud_node/points ros command to querry the topic type.then rosmsg show is tell you the data meanning.

edit flag offensive delete link more

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


Asked: 2020-05-21 13:39:57 -0500

Seen: 156 times

Last updated: May 23 '20