-
Notifications
You must be signed in to change notification settings - Fork 335
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] Cancel active goal in on_deactivate #962
[JTC] Cancel active goal in on_deactivate #962
Conversation
1fa82db
to
6d12abf
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.
Good catch!
LGTM once the CI passes
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #962 +/- ##
==========================================
- Coverage 47.82% 47.22% -0.61%
==========================================
Files 41 41
Lines 3862 3871 +9
Branches 1816 1827 +11
==========================================
- Hits 1847 1828 -19
- Misses 754 775 +21
- Partials 1261 1268 +7
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.
thanks!
(cherry picked from commit fdd6142)
(cherry picked from commit fdd6142)
Currently, an active goal is not cancelled if on_deactivate is called. This PR changes this behavior now.
I also removed an unnecessary set_hold_position() call in the preempt_active_goal.