forked from moveit/moveit2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: change params to speed up planning
- Loading branch information
Showing
3 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
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
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
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
26c63ea
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.
Reasons for those changes:
max_goal_samples_
: increase it to let it support more goals to sample.max_state_sampling_attempts_
: change it to 1 because IKFast is deterministic.max_planning_threads_
: also increase it for more planning attempts.multi_plan_request_parameters
: change the property todef_readwrite
so that we can change the planner properties (e.g. planning speed/acceleration/time) during run time.double sampling_time
: this is tricky. I tuned it high so that pilz LIN planner can have more chances of success (otherwise, you might easily get error saying that the trajectory's velocity goes beyond the limit).Generally, the issue is due to how LIN generate a straight line trajectory: it will calculates ik for each waypoints and check whether each little "segments" satisfies the acceleration/velocity limits. For velocity check, the formula is generally:$\vec{v} = \Delta_{\text{joint pos}}/\Delta t$ . So if you increase $\Delta t$ ), the velocity will be smaller.
sampling_time
(i.e.