-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 frame_id in /camera/camera/infra2/camera_info #3172
Comments
Hi @vinaym815 In #1242 Doronhi the RealSense ROS1 wrapper creator discusses reasons for having the right camera frame_id for infra2 be equal to that of the left camera (infra1) as this was required by some ROS packages such as StereoCameraModel |
Hello @MartyG-RealSense
The frame id should be camera_infra2_optical_frame |
I recall once seeing a line in the source code of the ROS wrapper that basically said infra2_optical_frame = infra1_optical_frame, hence why the infra1 value was displayed for infra2. The following method was suggested to get the coordinate transform from right camera to left camera.
|
I have a generalized checkerboard detector package which uses CameraInfo topic and Image topic to publish the relevant transform. Wrong frame_id requires making exception case and I want to avoid it. Also when only enabling the infra2, the published frame_id is correct, i.e. 'camera_infra2_optical_frame'. So I think it is a small bug somewhere. |
I will discuss your question with my Intel RealSense colleagues on the ROS wrapper team. Thanks very much for your patience! |
Hi @vinaym815 My Intel RealSense colleagues on the ROS wrapper team said that they would look at this issue. Thanks very much for your patience! |
| Camera Model D415
| ROS Distro Humble
Issue Description
The frame_id on topic /camera/camera/infra2/camera_info is wrongly published as
camera_infra1_optical_frame
The text was updated successfully, but these errors were encountered: