-
Notifications
You must be signed in to change notification settings - Fork 91
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
safety_limiter: Add a max_linear_vel and max_angular_vel #581
Conversation
[47] FAILED on kineticTest failed
[47] FAILED on noeticTest failed
|
[47] FAILED on melodicTest failed
|
[48] PASSED on melodicAll tests passed
[48] PASSED on kineticAll tests passed
[48] PASSED on noeticAll tests passed
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution! Added a minor comment.
if (en && cmd_vel_) | ||
{ | ||
received = true; | ||
ASSERT_NEAR(cmd_vel_->linear.x, expected_linear_velocities[linear_index], 1e-3); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gtest's argument order is (expected, actual)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad :|
Fixed
[49] PASSED on melodicAll tests passed
[49] PASSED on noeticAll tests passed
[49] PASSED on kineticAll tests passed
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thank you!
This pull request enables to apply of maximum linear and angular values to velocity as mentioned in #580
Created also: