ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

pcl coordinate system orientation

asked 2013-02-21 17:28:14 -0500

ee.cornwell gravatar image

I am aware that ros uses the positive coordinate system in which x=forward, y=left, and z=up, but can anyone tell me what pcl data uses?

edit retag flag offensive close merge delete


joq, that's what I thought until I used the function pcl::fromROSMsg() and a pcl passthrough filter. The PCL z parameter pertained to forward direction and y pertainted to the upward direction. I'm speaking in terms of the pcl namespace. Is this correct?

ee.cornwell gravatar image ee.cornwell  ( 2013-02-22 17:33:04 -0500 )edit

Check the header.frame_id field in the message. It may be using an "optical" frame by mistake. See:

joq gravatar image joq  ( 2013-02-23 03:09:24 -0500 )edit

Thanks for the help!

ee.cornwell gravatar image ee.cornwell  ( 2013-02-23 05:24:06 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-02-22 14:10:29 -0500

joq gravatar image

The same, in whatever frame of reference the PointCloud2 message specifies.

edit flag offensive delete link more

Question Tools


Asked: 2013-02-21 17:28:14 -0500

Seen: 3,110 times

Last updated: Feb 22 '13