-
Notifications
You must be signed in to change notification settings - Fork 531
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
fix: resolve bugs in MoveGroupSequenceAction class (main branch) #1797
Conversation
Codecov ReportBase: 50.29% // Head: 50.26% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #1797 +/- ##
==========================================
- Coverage 50.29% 50.26% -0.03%
==========================================
Files 374 374
Lines 31286 31286
==========================================
- Hits 15733 15723 -10
- Misses 15553 15563 +10
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. |
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.
Thank you for these fixes! I have not tested them yet, but at least 2 and 3 seem obviously correct to me (@v4hn might be interested in a cherry-pick of 3). I'm a bit puzzled about proper GoalHandle usage though, since I don't really find consistent information about who is calling execute()
. ACCEPT_AND_EXECUTE
seems to imply this call but I couldn't find it in rclcpp besides in the unit tests. The examples also don't use it, so I'll go with this change.
Side-note: you can close #1783, we're backporting this to humble right after merging this.
You are welcome! Regarding point 1) I think that the answer that you are looking for is here. |
* fix: resolve bugs in MoveGroupSequenceAction class * style: adopt .clang-format Co-authored-by: Marco Magri <marco.magri@fraunhofer.it> (cherry picked from commit fca8e9b)
Description
Bugs fixed in MoveGroupSequenceAction class.
Modifications
Invalid goal_handle transition
[move_group-1] what(): goal_handle attempted invalid transition from state EXECUTING with event EXECUTE, at ./src/rcl_action/goal_handle.c:95
move_feedback_ not initialized
[move_group-1] Segmentation fault (Address not mapped to object [(nil)])
plan_callback_ not assigned
[move_group-1] what(): bad_function_call
Original pull request on humble branch #1783