Repository navigation
make constraint-aware planning more reliable in move_group_interface_tutorial.cpp - #34
mcevoyandy wants to merge 4 commits into
Conversation
Orientation constraint example only works maybe 10% of the time. Seems to work more consistently with these values. Is there a way to check you'll always get a solution? I just moved the start closer to the goal so there's no guarantee these are good points either. When the tutorial solution failed it wasn't immediately clear why. Confusing for someone trying to learn.
|
Did you try instead to increase the planning time? Something like |
|
So this seems to help some. Just ran a loop and got 22/30 to complete. |
|
That's still not very impressive. Does the tutorial show how to change which planner to use? The default, KPIECE, is probably the problem. You want RRTConnect instead. See ongoing discussion: moveit/moveit1#197 |
|
Can you update this PR to use |
|
Even though it still doesn't work that well? |
|
You reported an increase in solved problems of 63%, so yes, I'd say its a big improvement. |
Updated the to add planning_time_ increase and short sentence letting user know that a successful plan might not be found.
| // state to a new pose. | ||
| // state to a new pose. We also increase the default planning time from 5s to 60s. | ||
|
|
||
| my_plan.planning_time_ = 60; |
There was a problem hiding this comment.
From your testing was 60s sometimes used? That seems really really high. How about 30s so MoveIt! doesn't look as bad?
|
You need to rebase with |
| // state to a new pose. | ||
| // state to a new pose. We also increase the default planning time from 5s to 10s. | ||
|
|
||
| my_plan.planning_time_ = 10; |
There was a problem hiding this comment.
I'm pretty sure this does not work at all.
The plan method does not read this value, but overrides it with the actual time used by the planner
You should use group.setPlanningTime(10.0) instead.
|
I'm not sure, I added that line on dave's recommendation and the tutorial actually worked. I'm going to close this since increasing the time still doesn't give you a beginner tutorial that actually works. Right now there's no explanation or cue to the person taking the tutorial that this part might not work.... |
Feel free to open a request that adds only this comment. This is definitely a good idea! |
* renaming prerequisites to getting started, removing 'tutorial' from tutorial names, improving index page, and small changes * updating getting started with information about adding packages, catkin clean, and separating ROS install from Catkin install and MoveIt! install * fixup, separating out developing_for_moveit * adding moveit_visual_tools to CMakeLists
* renaming prerequisites to getting started, removing 'tutorial' from tutorial names, improving index page, and small changes * updating getting started with information about adding packages, catkin clean, and separating ROS install from Catkin install and MoveIt! install * fixup, separating out developing_for_moveit * adding moveit_visual_tools to CMakeLists
Orientation constraint example only works maybe 10% of the time. Seems to work more consistently with these values. Is there a way to check you'll always get a solution? I just moved the start closer to the goal so there's no guarantee these are good points either. When the tutorial solution failed it wasn't immediately clear why. Confusing for someone trying to learn.