forked from venkatrn/monolithic_pr2_planner
-
Notifications
You must be signed in to change notification settings - Fork 2
Algorithm
Shivam Vats edited this page Aug 31, 2016
·
2 revisions
- Run full searches for random start-goal pairs.
- Store the states of successful paths along with timestamps.
- Calculate delta time for each state, ie. time difference between consecutive states.
- Choose
n
states that took most time. They correspond to the peaks in the delta time graph. These peaks are ourisland states
. - Find the left base of each peak calculating the derivative of the states on the left of the peak. Wherever the slope changes, is a base.
- The base is chosen as the
activation center
. The distance between theactivation center
and the peak is ouractivation radius
(usually multiplied by a factor).
These island states
are now used to generate snap motion primitives. I am currently using two types of snap mprims:
- Fullbody snap
- Base snap
I keep the activation radius
of the fullbody snap low and that of the base snap higher. The fullbody helps in aligning the arms, while base snap save time in traversing open spaces.
- Snap primitives are used only for the anchor heuristic as using it with all heuristics wastes a lot of time in collision checking.
- The Base snap mprim is deactivated near the goal.