Ask Your Question

Pointcloud2 in rviz

asked 2022-02-27 09:57:15 -0500

kankanzheli gravatar image

Hello everyone, I designed a robot in gazebo. The robot is equipped with a depth camera Kinect. That is, the file "" is called.

I learned that when displaying point clouds in rviz, there will be point cloud pose errors.(Also happeded in my robot) Does this happen only in rviz, or is there an error in the relevant data of the whole point cloud?

If it is an error in the relevant data of the whole point cloud, how can I solve that problem?

Please help me

Here is the image of rviz:image description

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2022-03-01 05:11:16 -0500

updated 2022-03-01 05:11:50 -0500

Your point cloud is most likely in a coordinate frame that ends with optical_frame?

If you want your point cloud to be correctly visualized, you would have to transform your point cloud to base_link if you only want to verify that everything ok with your cloud, you can change Fixed Frame in Global options to the frame that point cloud uses, point cloud should be displayed correctly, but then your robot will be visualized incorrectly.

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: 2022-02-27 09:57:15 -0500

Seen: 63 times

Last updated: Mar 01