RViz is displaying Pointcloud2 in the wrong direction [closed]

asked 2021-09-28 13:38:02 -0500

Jasabl19 gravatar image

ROS2 Foxy on Ubuntu 20.04.3 Focal

Following and modifying the files from the sam_bot_description while going through parts of the "Setting Up Sensors" tutorial. Having an issue with my depth camera display in RViz. Although the depth camera is pointing forward, the point cloud in RViz is pointing upwards. Can someone help me understand why this is happening?

Image of issue: https://drive.google.com/file/d/1HukW...

Link to URDF file: https://drive.google.com/file/d/1_FFZ...

Link to MyWorld file: https://drive.google.com/file/d/1PyNc...

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by gvdhoorn
close date 2021-09-28 13:46:48.066580

Comments

Please attach your image directly to the question. I've given you sufficient karma.

gvdhoorn gravatar image gvdhoorn  ( 2021-09-28 13:45:30 -0500 )edit

I believe this is a duplicate. See #q285790 for instance, or #q322963 or #q323901 (there are many more, use Google, search for pointcloud orientation rviz, append site:answers.ros.org to your query).

Nothing is wrong, it's just that you're likely not aware of the frame orientation of (depth) cameras and RViz. See the linked Q&As.

As I believe this is a duplicate, I'm going to close it.

gvdhoorn gravatar image gvdhoorn  ( 2021-09-28 13:46:44 -0500 )edit