-
Notifications
You must be signed in to change notification settings - Fork 152
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
Rework execution #459
Draft
rhaschke
wants to merge
8
commits into
moveit:master
Choose a base branch
from
ubi-agni:rework-execution
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Rework execution #459
+317
−33
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Drop trajectory unwinding (should be handled elsewhere) - Allow multiple start+end effects - Gracefully handle NULL RobotTrajectories
See moveit/moveit#3362 for an upstream fix.it->trajectory
... to allow remembering iterators into those lists
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #459 +/- ##
==========================================
- Coverage 58.65% 57.94% -0.70%
==========================================
Files 90 92 +2
Lines 8424 8523 +99
==========================================
- Hits 4940 4938 -2
- Misses 3484 3585 +101
☔ View full report in Codecov by Sentry. |
@rhaschke sure |
I wasn't aware you had that lying around. Cool! I'm open for a call on TODOs, but from my perspective the main points are
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a draft I had lying around for a while to rework MTC solution execution. Instead of calling the move_group's capability, the idea is to directly interface MoveIt's
TrajectoryExecutionManager
and thus allow callbacks for each sub-trajectory segment. To this end, this PR reimplements MoveIt'sPlanExecution
to:ExecutableMotionPlan
(the original PlanExecution only allowed for end effects)Of course, in principle it would suffice to have start or end effects only. However, I found it simpler to define preparatory and cleanup tasks of a specific segment within that segment instead of shifting one or the other to the previous/next segment.
The latter functionality was also implemented by moveit/moveit#3243 meanwhile.
The old Task::execute() method was moved into a free function
execute()
, still calling the move_group capability.However, a new free function
executableMotionPlan(SolutionBase)
is provided to create theExecutableMotionPlan
for use with the newPlanExecution
.This needs to be consolidated with moveit/moveit#3243.
@cambel and @v4hn: Can we organize a video conference to discuss open TODOs?