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

Foxy backports #1220

Merged
merged 4 commits into from
Mar 11, 2021
Merged

Foxy backports #1220

merged 4 commits into from
Mar 11, 2021

Conversation

jacobperron
Copy link
Collaborator

Backporting the following changes to Foxy:

scpeters and others added 4 commits February 3, 2021 14:06
Add a colcon.pkg file to gazebo_dev with gazebo's cmake project
name "Gazebo" listed as a dependency to support building
gazebo from source in a colcon workspace.

* Add colcon.pkg files for other packages

Copy colcon.pkg to gazebo_ros, gazebo_plugins, and
gazebo_ros_control so that --merge-install won't be required.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
…1205)

We are currently subscribing to the /gazebo/performance_metrics topic
even if there are no subscribers to the ROS topic forwarding this data.
This changes gazebo_ros_init to only subscribe to the gazebo topic
if there are any subscribers to the corresponding ROS topic.
While advertiser callbacks are used in ROS 1 but are not yet in ROS2,
here we use polling in the GazeboRosInitPrivate::PublishSimTime
callback to check for subscribers since it is called for each Gazebo
time step.

This also helps workaround the deadlock documented in #1175 and
gazebosim/gazebo-classic#2902.

This also adds a macro to reduce duplication of the version checking
logic.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
* Make p3d offset element names singular

- <xyz_offsets> is renamed to <xyz_offset>
- <rpy_offsets> is renamed to <rpy_offsets>

The old names can still be used, but are deprecated.
This is more consistent with the naming convention used in ROS 1 versions.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>

* Add test for deprecated functionality

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
* Fix executor to avoid random exceptions when shutting down

Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>

* Add link to related issue in rclcpp

Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
@scpeters
Copy link
Member

@osrf-jenkins run tests please

@jacobperron jacobperron merged commit 64f3ff1 into foxy Mar 11, 2021
@jacobperron jacobperron deleted the jacob/foxy_backports branch March 11, 2021 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants