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_info_manager: Adding public member function to manually set camera_info #20

Merged
merged 1 commit into from
May 18, 2014

Conversation

jbohren
Copy link
Contributor

@jbohren jbohren commented Oct 31, 2013

See #19

TODO before merge:

  • Check ABI compatibility

jbohren added a commit to jbohren-forks/gazebo_ros_pkgs that referenced this pull request Oct 31, 2013
*
* @return true if new camera info is set
*
* @post @c cam_info_ updated, if valid;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I guess technically there's no validity check here. We could make sure the parameters are all reasonable, could potentially catch errors.

Copy link
Member

Choose a reason for hiding this comment

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

As an API, it at least gives us the option to add various checks if a good reason for them arises.

jbohren added a commit to jbohren-forks/gazebo_ros_pkgs that referenced this pull request Nov 5, 2013
jbohren added a commit to jbohren-forks/gazebo_ros_pkgs that referenced this pull request Nov 5, 2013
… API (relies on ros-perception/image_common#20 )

ros_camera_utils: Adding CameraInfoManager to satisfy full ROS camera API (relies on ros-perception/image_common#20 )
jbohren added a commit to jbohren-forks/gazebo_ros_pkgs that referenced this pull request Nov 6, 2013
… API (relies on ros-perception/image_common#20 )

ros_camera_utils: Adding CameraInfoManager to satisfy full ROS camera API (relies on ros-perception/image_common#20 )
@jbohren
Copy link
Contributor Author

jbohren commented Dec 16, 2013

ABI is compliant according to the abi-compliance-checker: https://rawgithub.com/jbohren/7990624/raw/eb8dd683bc63b7054194e0a85f66785e86ee3408/abi_compat_report.html

@jbohren
Copy link
Contributor Author

jbohren commented May 17, 2014

Could this be merged?

@jack-oquin
Copy link
Member

Sure. It still needs test cases.

jack-oquin added a commit that referenced this pull request May 18, 2014
camera_info_manager: Adding public member function to manually set camera_info
@jack-oquin jack-oquin merged commit cc59c8a into ros-perception:groovy-devel May 18, 2014
@jack-oquin
Copy link
Member

I just noticed this was committed to groovy-devel. You want this released to Groovy?

I thought we were talking about Hydro (and also Indigo).

@jack-oquin
Copy link
Member

@vrabaud: I seem to have created a minor mess here. Although backwards compatible and ABI compatible, this is still an API change. I would rather not do that in Groovy.

Please help me understand the branching scheme better. It looks like groovy-devel was last released to Groovy as 1.10.5 back in January, and that both Hydro and Indigo are using hydro-devel, but Hydro is at 1.11.1 and Indigo is at 1.11.2.

Do we need or want different branches for different distros? Are we still doing new Groovy releases?

@vrabaud
Copy link
Contributor

vrabaud commented May 19, 2014

Groovy is still released so we keep fixing. The API should not be broken so that PR should be reverted.

We do a branch per distro if needed. Indigo and Hydro were the same (lately, there was a patch for Indigo only, that's why only the Indigo version got bumped).

What was the motivation for changing the API ? I can split the patch in two and only change the API in Indigo (and thus create a new branch).

@jack-oquin
Copy link
Member

Jon's patch does not break the API. It adds a new interface, which is needed for simulated camera support in Gazebo.

I think it could be released in Groovy if needed there, but extending an API in an older, stable release is not normal practice. By that standard, Hydro would also be questionable. However, when there is a good enough reason, we can make an exception.

@jbohren: do you need this released to Groovy? Hydro?

@jbohren
Copy link
Contributor Author

jbohren commented May 19, 2014

Jon's patch does not break the API. It adds a new interface, which is needed for simulated camera support in Gazebo.

I think it could be released in Groovy if needed there, but extending an API in an older, stable release is not normal practice. By that standard, Hydro would also be questionable. However, when there is a good enough reason, we can make an exception.

@jbohren: do you need this released to Groovy? Hydro?

Yeah sorry about forcing your had, @jack-oquin. I did actually mean (at this point) to merge this into Hydro. Merging into groovy now is unnecessary. I'd say we could just merge it into Indigo, but the fact that it doesn't run on 12.04 (which still blows my mind) means that I'd still have to use a fork of image_pipeline and gazebo_plugins for a while.

@jack-oquin
Copy link
Member

Jon: I am willing to move the change to hydro-devel and release it there on both Hydro and Indigo. Most people will not be using Indigo for quite a while yet, and I would prefer to keep them both in sync until a split becomes really necessary. I don't see any harm in releasing the other hydro-devel updates to Hydro as well as Indigo.

@vrabaud: is that OK with you? Did I overlook anything?

@vrabaud
Copy link
Contributor

vrabaud commented May 19, 2014

my bad, I had not seen that setCameraInfo has been moved, not deleted. So all's good for the API.

hydro-dev is fine, and then please release for both hydro/indigo.

@jack-oquin
Copy link
Member

Will do. Thanks for the assistance, Vincent.

jack-oquin added a commit that referenced this pull request May 19, 2014
This change is being moved to hydro-devel for Hydro and Indigo releases
@jack-oquin
Copy link
Member

If I understand git correctly, reverting a previously merged commit could cause trouble if we were ever to merge groovy-devel into hydro-devel.

I can't think of any reason why we would ever want to do that.

@jack-oquin
Copy link
Member

image_common 1.11.3 released to Indigo including this API change. Docs updated.

Hydro release to follow.

@jack-oquin
Copy link
Member

Hydro release this morning.

@jbohren: for code depending on this enhancement, you should specify the version_gte="1.11.3" attribute.

furushchev added a commit to furushchev/image_common that referenced this pull request May 31, 2021
cohen39 pushed a commit to cohen39/gazebo_ros_pkgs that referenced this pull request Nov 15, 2021
… API (relies on ros-perception/image_common#20 )

ros_camera_utils: Adding CameraInfoManager to satisfy full ROS camera API (relies on ros-perception/image_common#20 )
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.

None yet

3 participants