-
Notifications
You must be signed in to change notification settings - Fork 341
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
[JTC] Add console output for tolerance checks #932
[JTC] Add console output for tolerance checks #932
Conversation
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.
@christophfroehlich why not print it all the time?. What you are printing are errors not the debug part of logging. Moreover, you can set it to always true and use THROTTLE
instead of the basic one. I think this way you shouldn't have many problems.
Throttling would be an option, but I don't know what is a typical goal_time tolerance: At which interval should the throttling run? |
I would set it to half a second/ a second or so. I think that should be ok in general right? |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #932 +/- ##
==========================================
+ Coverage 47.17% 47.25% +0.07%
==========================================
Files 41 41
Lines 3862 3862
Branches 1816 1816
==========================================
+ Hits 1822 1825 +3
+ Misses 786 777 -9
- Partials 1254 1260 +6
Flags with carried forward coverage won't be shown. Click here to find out more.
|
but with throtteling and the current method, one probably wouldn't see the output of the last check which is actually cancelling the goal. |
This reverts commit 04a6583.
Throttling isn't possible, because it is inside a loop: I don't know a way to "reset" the macro-throttle for a different joint-index.
|
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.
This looks good to me!
(cherry picked from commit 4c6d723)
(cherry picked from commit 4c6d723)
(cherry picked from commit 4c6d723)
(cherry picked from commit 4c6d723)
…agement (ros-controls#932) * add `is_async` param to controller manager * async controller lifecycle * use controller's update rate Co-authored-by: Bence Magyar <[email protected]>
This PR enables debug output from the tolerance checks, e.g.: