Robotics StackExchange | Archived questions

Pointcloud2 in rviz

Hello everyone, I designed a robot in gazebo. The robot is equipped with a depth camera Kinect. That is, the file "libgazeborosopenni_kinect.so" 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

Asked by kankanzheli on 2022-02-27 10:57:15 UTC

Comments

Answers

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.

Asked by Fetullah Atas on 2022-03-01 06:11:16 UTC

Comments