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

[Steering controllers library] Reference interfaces are body twist #1168

Merged
merged 2 commits into from
Jun 18, 2024

Conversation

christophfroehlich
Copy link
Contributor

@christophfroehlich christophfroehlich commented Jun 9, 2024

Fixes #1167

I'm not sure if the intention of the author was to have position input, but as it is implemented we have a body twist input on reference interfaces (velocity, not position). This PR fixes this, without any attempt to deprecate the old behavior because it was just wrong.

Tests succeed on iron distro

$ colcon test --packages-select steering_controllers_library ackermann_steering_controller bicycle_steering_controller tricycl
e_steering_controller
Starting >>> steering_controllers_library
Finished <<< steering_controllers_library [0.48s]          
Starting >>> ackermann_steering_controller
Starting >>> bicycle_steering_controller
Starting >>> tricycle_steering_controller
Finished <<< tricycle_steering_controller [7.25s]                                                                                                  
Finished <<< ackermann_steering_controller [7.28s]
Finished <<< bicycle_steering_controller [7.33s]

Summary: 4 packages finished [8.33s]

@christophfroehlich christophfroehlich added backport-humble This label should be used by maintaines only! Label triggers PR backport to ROS2 humble. backport-iron This label should be used by maintaines only! Label triggers PR backport to ROS2 Iron. labels Jun 9, 2024
Copy link
Member

@bmagyar bmagyar left a comment

Choose a reason for hiding this comment

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

🤔

Copy link
Member

@saikishor saikishor left a comment

Choose a reason for hiding this comment

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

LGTM
This basically affects only the controllers that chains with steering controller library
Thanks for the fixes @christophfroehlich

@bmagyar bmagyar merged commit 6155248 into master Jun 18, 2024
7 of 20 checks passed
@bmagyar bmagyar deleted the fix/steering_controllers_library_reference_itfs branch June 18, 2024 08:21
mergify bot pushed a commit that referenced this pull request Jun 18, 2024
mergify bot pushed a commit that referenced this pull request Jun 18, 2024
christophfroehlich added a commit that referenced this pull request Jun 18, 2024
christophfroehlich added a commit that referenced this pull request Jun 19, 2024
christophfroehlich added a commit that referenced this pull request Jun 19, 2024
wittenator pushed a commit to wittenator/ros2_controllers that referenced this pull request Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-humble This label should be used by maintaines only! Label triggers PR backport to ROS2 humble. backport-iron This label should be used by maintaines only! Label triggers PR backport to ROS2 Iron.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ackermann preceding reference command interfaces are not correct
3 participants