-
Notifications
You must be signed in to change notification settings - Fork 122
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
Add seed trajectories to MotionPlanRequest #46
Conversation
6d5448f
to
d79229b
Compare
Thanks for starting this conversation!! |
Thanks @davetcoleman for your feedback, you've brought up great point. I'll keep adding commits to this PR to maintain a visible progression for anyone who wants to join in. Should we also add tolerances for |
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.
Technically this is incorrect & inconsistent but didn't want to define Jerk.
This version follows the pattern of |
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.
Looks much better!
The thing I don't like about using |
Ping |
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.
Sorry for the timeout and thanks for the mail ping on this @bmagyar .
I added my feedback.
Before we merge this, I believe there should also be a pull-request that actually makes use of it.
Otherwise this will just end up being dead code, just like the trajectory_constraints
field.
I shall build an example once this PR is ready to be merged to avoid having to update that one with every change here. I think the best candidate to add it to will be CHOMP and a unit test for that. |
I like the idea of having an example implementation! |
@jschleicher as we discussed in person, I think you'd have valuable input into the needs for this message and cartesian planning with moveit |
Probably this heads into another direction than the original scope of this PR: I'd like to use For circular arcs we need an additional helper point (circle center), that we "hacky" encode in path_constraints, maybe that field could be generalized as well (see python pilz_robot_programming ) To sum it up we want to
|
Hi @jschleicher , I agree with you. The scope of this PR is to pass in an initial/seed trajectory to start an optimization-based planner from. The things you suggest however are somewhat related and will be partly enabled by this PR however I think we should follow it up with an extension to
|
I've just targeted this to the master branch. |
Thanks @davetcoleman , I'll move forward with addressing the comments but unfortunately due to impeding deadlines regarding my thesis I won't be able to supply an example. It sound like the TrajOpt effort would be perfectly fit for this purpose, right? |
@bmagyar yes, that is exactly what we need in trajopt. |
friendly ping? |
ok, I am finally out of the grasp of PhD work, let's get this baby delivered! @mlautman @davetcoleman can we aim to merge this by Friday? |
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.
LGTM, seems like the only part left to resolve is how to state which trajectory should be used in a Generic trajectory (if you need to make a statement like that at all).
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.
+1 after adding the CartesianPoint.msg to CMakeLists.txt
b1ef7e5
to
3eadd6d
Compare
All requested changes implemented, commits squashed 👍 |
Related to moveit/moveit#804
Everything is up for debate.
My points so far:
JointOrCartesianTrajectory
to avoid confusion regarding the contents of the message. Ideallytrajectory_msgs
could host this message.geometry_msgs/TransformStamped
to describe the points of a Cartesian trajectory to allow for any base frame to be used to define any point. This allows for multiple seeds even for different end effector(s) although leaves some questions regarding the properness of this arbitrary point.seed_trajectories
field toMotionPlanRequest
.Once we get to a good common ground I could try setting up a demo.
FYI: @rhaschke @davetcoleman @jrgnicho