Skip to content

Conversation

@christophfroehlich
Copy link
Member

Inspired by this post at RSE, I thought it could be a good idea to add simple checks to geometric values of the controllers for mobile robots. For example, wheel_radius wheel_base and others must not be zero ➡️ I added a gt<>: [0.0] validator for them. This also should help if a user misspelled or forgot these parameters.

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.

This is great, thanks!

@bmagyar bmagyar merged commit 7170328 into master May 9, 2024
1 check passed
@bmagyar bmagyar deleted the mobile_ctrl_param_check branch May 9, 2024 09:07
mergify bot pushed a commit that referenced this pull request May 9, 2024
(cherry picked from commit 7170328)

# Conflicts:
#	diff_drive_controller/test/test_diff_drive_controller.cpp
#	tricycle_controller/src/tricycle_controller_parameter.yaml
#	tricycle_controller/test/test_tricycle_controller.cpp
mergify bot pushed a commit that referenced this pull request May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-humble Triggers PR backport to ROS 2 humble.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants