-
Notifications
You must be signed in to change notification settings - Fork 58
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
Fix frame_id in rgbd_camera #458
Conversation
Signed-off-by: Francisco Martín Rico <fmrico@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix. I was able to reproduce the problem and confirms that this fixes it for Harmonic when the frame id is specified via <optical_frame_id>
.
Just one minor cpplint issue
@iche033 do we need to backport this to other distros? |
Doing a drive-by comment here since I saw the merge notification. I'm not entirely sure if this is a bug or a feature needed to realign images from Gazebo to show up correctly in RViz through TF lookups. Before going down the backport path, I would validate that this does not break the example used in the original PR #259 |
Hi, Actually, this PR fixes to publish in a valid frame, but this is not the correct frame. If I use
Best |
🦟 Bug fix
Fixes [No number]
Summary
When using rgbd_camera as sensor,
frame_id
is filled withFrameId()
(for exampletiago/head_2_link/head_front_camera_frame_sensor
), instead ofOpticalFrameId()
(for example,head_front_camera_rgb_optical_frame
). So, theframe_id
in the messages is wrong.This PR fixes it.
I hope it helps. Any comment is welcome :)
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.