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

Fix for static transforms - and miscellanea #54

Merged

Conversation

elandini84
Copy link
Contributor

Since in ROS2 the latched behaviour requires a specific QOS configuration, the frameTransformGet_nwc_ros2 tf_static subscription have been modified by passing a QoS profile qith transient local duration policy.

[The solution to the issue related to the latched topic applied in this PR has been found in the following issue: ROS2#464]

Also, two minor changes have been applied: 1)lock in the callbacks, in order to avoid writing transforms in the buffer while a getTransforms query is ongoing; 2) The ros2 to yarp time conversion function have been replaced with the one in the Ros2Utils file (simply to avoid code duplication)

Since in ROS2 the latched behaviour requires a specific QOS
configuration, the frameTransformGet_nwc_ros2 tf_static subscription
have been modified by passing a QoS profile qith transient local
duration policy.

Also, two minor changes have been applied: 1)lock in the callbacks, in
order to avoid writing transforms in the buffer while a getTransform
query is ongoing; 2) The ros2 to yarp time conversion function have been
replaced with the one in the Ros2Utils file (simply to avoid code
duplication)
@randaz81 randaz81 merged commit 4a71c7f into robotology:master Jun 7, 2023
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