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

Camera optical frame #959

Open
wants to merge 2 commits into
base: melodic-devel
Choose a base branch
from
Open

Conversation

MarshallRawson
Copy link
Collaborator

@MarshallRawson MarshallRawson commented Jul 17, 2019

This is in response to VRX Issue#140 at https://bitbucket.org/osrf/vrx/issues/140/there-is-no-camera-optical-link . With this pull request Gazebo Ros Cameras (and only Gazebo Ros Camera) now published the transform the the optical frame.

Copy link
Contributor

@chapulina chapulina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding new member variables breaks ABI. Since this is only adding a static transform that has a hardcoded fixed value, I'm not sure if the ABI break would be worth it. This could as easily be published from outside the plugin.

@@ -139,8 +140,14 @@ namespace gazebo
protected: common::Time last_info_update_time_;

/// \brief ROS frame transform name to use in the image message header.
/// This should typically match the link name the sensor is attached.
/// This should typically match the link name the parent sensor + "_optical".
protected: std::string frame_name_;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like the documentation for frame_name_ and frame_name_optical_ is mixed up

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

Successfully merging this pull request may close these issues.

2 participants