RViz is displaying Pointcloud2 in the wrong direction [closed]
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...
Please attach your image directly to the question. I've given you sufficient karma.
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
, appendsite: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.