-
Notifications
You must be signed in to change notification settings - Fork 312
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
Use actual position when limiting desired position #1988
Use actual position when limiting desired position #1988
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1988 +/- ##
==========================================
- Coverage 89.32% 89.32% -0.01%
==========================================
Files 130 130
Lines 14522 14568 +46
Branches 1258 1259 +1
==========================================
+ Hits 12972 13013 +41
- Misses 1083 1086 +3
- Partials 467 469 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
I agree, this makes sense
fb38c2e
to
bf41ee1
Compare
Resolved conflicts after #1981 |
@bmagyar It would be great to have this PR before releasing ros2_control. That way we will have the final API of joint_limits in the same tag. If that's not a problem at all, anything is fine |
While integrating the joint limits into the resource manager, I discovered that the current joint_limits implementation doesn't consider the actual position when limiting the desired position. This was the case as in ROS 1 too it doesn't use it, but uses the previous command value. I think it would make sense to consider the actual position as well in this scenario