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

About the Point Cloud Coordinate System Issued by the RGB-D Camera

asked 2022-10-16 06:55:28 -0500

wugeshenhuaking gravatar image

I found a strange problem when I used the turbobot3 simulation.Why The point cloud direction published by camera_rgb_optical_frame is upward.

image description

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-10-16 09:54:59 -0500

Mike Scheutzow gravatar image

There are established conventions for the frame's x, y and z-axis for a camera image. Please read this page:

https://www.ros.org/reps/rep-0103.html

If you are in a hurry, search for _optical.

edit flag offensive delete link more

Comments

@Mike Scheutzow Does this mean that I must transform the point cloud released by this coordinate system into a common coordinate system under ROS. Then I can do related work, such as filtering too high or too low point clouds. Then transform the processed point cloud inverse coordinates back to _optical frame.

wugeshenhuaking gravatar image wugeshenhuaking  ( 2022-10-17 03:20:41 -0500 )edit

Does this mean that I must transform the point cloud released by this coordinate system into a common coordinate system under ROS

Yes, but it is easy to implement if the camera is in your TF tree: use tf2_ros Buffer.transform() to convert each point into the TF frame you want to work in (typically base_link or map.)

For a robot-mounted camera, your TF usually looks something like base_link -> camera_base -> camera_optical. The camera_optical origin is at corner of the image sensor inside the camera body.

Typically you won't need to transform the data points back to camera_optical frame, but nothing stops you from doing so.

Mike Scheutzow gravatar image Mike Scheutzow  ( 2022-10-17 07:13:33 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2022-10-16 06:55:28 -0500

Seen: 28 times

Last updated: Oct 16 '22