Skip to content
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

TrajectoryConstraints message needs better documentation #2

Open
kalakris opened this issue Jan 23, 2013 · 10 comments
Open

TrajectoryConstraints message needs better documentation #2

kalakris opened this issue Jan 23, 2013 · 10 comments
Labels

Comments

@kalakris
Copy link

The TrajectoryConstraints message, and the trajectory_constraints field in the MotionPlanRequest message need better documentation. I was unsure about how it is different from path_constraints, why it has an array of constraints within it, and what a motion planner should be doing with such constraints.

@davetcoleman
Copy link
Member

@kalakris This enhancement request has been open for 3 years, are you ok if we close it?

@130s
Copy link
Contributor

130s commented Aug 22, 2016

Actually, I recently found that some message types are missing description, which could make the developers fail to reuse them (unless they are not designed to be reused).

I was also thinking of offering to fill in these msg description as my task at the upcoming WMD, hoping this task is practically small enough to be finished in a few hours.

@davetcoleman
Copy link
Member

Cool, sounds like a great idea!

@knorth55
Copy link

Are there any good documentation for TrajectoryConstraints in MotionPlanRequest?
I thought TrajectoryConstraints is similar as waypoints in CartesianPath, but MotionPlanResponse seems that these constraints are not like those.
I want to know how to use these constraints. Thank you.

@davetcoleman
Copy link
Member

No, that's what this issue is for. It would be great if someone looked into the code where these messages are used and write up some documentation based on that

@knorth55
Copy link

knorth55 commented Dec 1, 2016

I slightly read codes in moveit_core, but it seems that moveit do not pass TrajectoryConstraints to plannar. And also it seems ompl planner do not have that kind of constraints API. The message is only used in moveit_ros/benchmarks, but I have no idea how these msgs work.
I'm not sure about my understanding, but it looks that TrajectoryConstraints in MotionPlanRequest do nothing.

@davetcoleman
Copy link
Member

I see what you mean - TrajectoryConstraints just stores multiple Constraints. Seems like its not very necessary, a std::vector could easily replace it inside its usage in BenchmarkExecutor

@v4hn
Copy link
Contributor

v4hn commented Dec 2, 2016

Wow, that message has a short, but intense history.

@isucan introduced it 28. Sep. 2012 with a lot of ideas in mind (check out the commit).
One month later he decided that it does not make sense to have an interface for waypoint_constraints that can be violated by the trajectories in between the waypoints, partially undoing the previous commit.
Eventually, three month later, he reduced it to its current state without a proper commit message...
I guess it was overengineered for that time. In the end, such constraints can be simulated (to a degree) by planning multiple successive trajectories..

@davetcoleman
Copy link
Member

Kill the message!

springfield angry mob

knorth55 added a commit to knorth55/jsk_pr2eus that referenced this issue Jun 13, 2017
trajectory_constraints is not used in motion planning.
see moveit/moveit_msgs#2
knorth55 added a commit to knorth55/jsk_pr2eus that referenced this issue Jun 14, 2017
trajectory_constraints is not used in motion planning.
see moveit/moveit_msgs#2
knorth55 added a commit to knorth55/jsk_pr2eus that referenced this issue Jun 14, 2017
trajectory_constraints is not used in motion planning.
see moveit/moveit_msgs#2
knorth55 added a commit to knorth55/jsk_pr2eus that referenced this issue Jun 14, 2017
trajectory_constraints is not used in motion planning.
see moveit/moveit_msgs#2
henningkayser pushed a commit that referenced this issue Oct 28, 2019
@genkv
Copy link

genkv commented Dec 16, 2022

hello from 2022...... I came across TrajectoryConstraints when learning the API. Also confused by its existence, especially since there's already path_constraints in place that takes both position and orientation constraints. From reading the discussion above, is it safe to say we can just ignore trajectory_constraints in MotionPlanRequest?

@130s 130s removed their assignment Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants