-
Notifications
You must be signed in to change notification settings - Fork 493
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
Print a warning from TOTG if the robot model mixes revolute/prismatic joints #1799
Conversation
Codecov ReportBase: 50.25% // Head: 50.29% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #1799 +/- ##
==========================================
+ Coverage 50.25% 50.29% +0.05%
==========================================
Files 374 374
Lines 31275 31287 +12
==========================================
+ Hits 15713 15734 +21
+ Misses 15562 15553 -9
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Can we add a unit test for this? |
I was looking into that but the JointType is protected, so it will take more time than I have right now. |
I agree that the path tolerance doesn't really make sense with mixed units. But do we have a good alternative for mixed joints? |
efed3c9
to
d907917
Compare
That's a good point, I can't really think of an alternative. I could change this to just print a warning... |
...jectory_processing/include/moveit/trajectory_processing/time_optimal_trajectory_generation.h
Outdated
Show resolved
Hide resolved
9f906b0
to
cc2bcf7
Compare
92af883
to
7bf0513
Compare
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!
…rismatic joints (moveit#1799)" This reverts commit e60bced.
Description
I believe TOTG can't handle mixed units well because the
path_tolerance_
parameter is just a scalar value. So there's no good way to measure angular error mixed with linear error. Best just to fail and print a nice warning for the user.