Ask Your Question

PointCloud visualised in Rviz has the wrong orientation

asked 2019-05-11 12:43:44 -0600

Liv gravatar image

Hi, I am working on a project at university and have collected PointCloud data from a Kinect RGB-D, which I am visualising in RViz. I want to convert to PointCloud to a map using octomap_server but the orientation of the PointCloud is incorrect (the walls are horizontal, not vertical for example). I think it's something to do with robots frame of reference but I'm not sure how to fixed the problem. Can someone explain how to fix this (very simply as I am a beginner)?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-05-13 08:53:59 -0600

AndyZe gravatar image

You can change the orientation of the link that the camera attaches to. By default, it's called camera_link. So go into the URDF and adjust the roll/pitch/yaw of that link until it matches what you expect.

edit flag offensive delete link more


Could it be that the orientation of the cloud is actually fine, but there's either an intermediate TF frame missing (ie: the one that connects the camera to the world or robot) or the Fixed Frame setting is incorrect?

gvdhoorn gravatar image gvdhoorn  ( 2019-05-13 10:40:01 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2019-05-11 12:43:44 -0600

Seen: 280 times

Last updated: May 13 '19