Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong visualisation of point cloud after calibration #127

Open
TongZhangTHU opened this issue May 14, 2023 · 6 comments
Open

Wrong visualisation of point cloud after calibration #127

TongZhangTHU opened this issue May 14, 2023 · 6 comments

Comments

@TongZhangTHU
Copy link

Hello,

After I calibrated the RealSense camera extrinsics relative to the Franka Emika Panda using easy_handeye, I visualized the point cloud in the robot frame with rviz /camera/depth/color/points topic (I have published the extrinsics TF), but found that the point cloud is in the wrong position and looks rotated in some way, I suspect that it is caused by the wrong coordinate system. I wonder if you have any suggestions for my problem?

img_v2_93d4968f-2daf-440e-bd2d-633891baf4ag

@marcoesposito1988
Copy link
Collaborator

Hi @TongZhangTHU,

did you visualize the point cloud after starting the system including publish.launch, or is still using the dummy position of the camera from the calibrate.launch file?

@TongZhangTHU
Copy link
Author

@marcoesposito1988

I visualize the point cloud from the /camera/depth/color/points topic after starting roslaunch realsense2_camera rs_camera.launch filters:=pointcloud.

@marcoesposito1988
Copy link
Collaborator

Yes, but after doing the calibration did you restart everything, publishing the hand-eye calibration with this launch file, or is the system still running with calibrate.launch instead?

After calibration the new transform is not applied automatically, you have to restart everything using a different launch file to use the result of the calibration.

@TongZhangTHU
Copy link
Author

@marcoesposito1988

The results I presented above were obtained after restarting everything and publishing the hand-eye calibration with this launch file, just as you suggested.

@marcoesposito1988
Copy link
Collaborator

It seems that the point cloud is rotated 90 degrees along two axes, so probably a different frame is being used to publish the calibration than what was used during the calibration. Please double check what is passed as frame for the camera

@Skeptic9793
Copy link

I'm also experiencing this problem, which seems to be caused by the fact that realsense's optical coordinate system definition is different from the ROS coordinate system definition

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants