-
Notifications
You must be signed in to change notification settings - Fork 532
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
[Hybrid Planning] Improve action cancellation #1272
Conversation
...ros/hybrid_planning/global_planner/global_planner_component/src/global_planner_component.cpp
Outdated
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## main #1272 +/- ##
==========================================
- Coverage 61.46% 61.44% -0.02%
==========================================
Files 274 274
Lines 24940 24940
==========================================
- Hits 15328 15322 -6
- Misses 9612 9618 +6
Continue to review full report at Codecov.
|
...ros/hybrid_planning/global_planner/global_planner_component/src/global_planner_component.cpp
Outdated
Show resolved
Hide resolved
b867a26
to
0a82ad1
Compare
ba62041
to
286be41
Compare
...ros/hybrid_planning/global_planner/global_planner_component/src/global_planner_component.cpp
Outdated
Show resolved
Hide resolved
272edff
to
7bbce45
Compare
7bbce45
to
e843bda
Compare
Can I get a final review? @henningkayser @JafarAbdi |
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'm not a huge fan of the timeout, but I agree that this is probably the most practical approach for now. It's strictly an improvement to the old implementation, and in practice, I don't think that it even matters a lot in these situations. LGTM!
* Small changes to make the action server more performant * Move the threads to member variables * Add a simple cancellation demo * Do not use unique_ptr * Lint * Launch file cleanup * When a new HP goal is received, give the previous some time to cancel * A unique callback group for each action server
Action cancellation wasn't working well, so...
Test with:
ros2 launch moveit_hybrid_planning hybrid_planning_demo.launch.py
ros2 run moveit_hybrid_planning cancel_action
This work is sponsored by RE2 Robotics.