|
| MapPlanner (bool verbose) |
| Simple constructor. More...
|
|
virtual void | setMapUtil (const std::shared_ptr< MapUtil< Dim >> &map_util) |
| Set map util.
|
|
void | setSearchRegion (const vec_Vecf< Dim > &path, bool dense=false) |
| Set search region. More...
|
|
void | setSearchRadius (const Vecf< Dim > &radius) |
| Set search radius (tunnel radius)
|
|
void | setPotentialRadius (const Vecf< Dim > &radius) |
| Set potential radius.
|
|
void | setPotentialMapRange (const Vecf< Dim > &range) |
| Set potential map size.
|
|
void | setGradientWeight (decimal_t w) |
| Set gradient weight.
|
|
void | setPotentialWeight (decimal_t w) |
| Set potential weight.
|
|
vec_Vec3f | getPotentialCloud (decimal_t h_max=1.0) |
| Get the potential cloud, works for 2D and 3D.
|
|
vec_Vec3f | getGradientCloud (decimal_t h_max=1.0, int i=0) |
| Get the gradient cloud, works for 2D.
|
|
vec_Vecf< Dim > | getSearchRegion () const |
| Get search region.
|
|
vec_Vecf< Dim > | getLinkedNodes () const |
| Get linked voxels.
|
|
void | updateBlockedNodes (const vec_Veci< Dim > &pns) |
| Update edge costs according to the new blocked nodes. More...
|
|
void | updateClearedNodes (const vec_Veci< Dim > &pns) |
| Update edge costs according to the new cleared nodes. More...
|
|
void | updatePotentialMap (const Vecf< Dim > &pos) |
| Generate potential map. More...
|
|
bool | iterativePlan (const Waypoint< Dim > &start, const Waypoint< Dim > &goal, const Trajectory< Dim > &raw_traj, int max_iter_num=3) |
| Iterative trajectory planning with APFs. More...
|
|
| PlannerBase (bool verbose=false) |
| Simple constructor.
|
|
bool | initialized () |
| Check if the planner has been initialized.
|
|
Trajectory< Dim > | getTraj () const |
| Get optimal trajectory.
|
|
vec_E< Primitive< Dim > > | getValidPrimitives () const |
| Get expanded collision free primitives.
|
|
vec_E< Primitive< Dim > > | getAllPrimitives () const |
| Get expanded primitives.
|
|
vec_Vecf< Dim > | getOpenSet () const |
| Get points in open set.
|
|
vec_Vecf< Dim > | getCloseSet () const |
| Get points in close set.
|
|
vec_Vecf< Dim > | getNullSet () const |
| Get points neither in open nor close set.
|
|
vec_Vecf< Dim > | getStates (const Waypoint< Dim > &state) const |
| Get points at certain state.
|
|
vec_Vecf< Dim > | getExpandedNodes () const |
| Get expanded nodes, for A* it should be the same as the close set.
|
|
vec_E< Primitive< Dim > > | getExpandedEdges () const |
| Get expanded edges, for A* it should be the same as the close set.
|
|
int | getExpandedNum () const |
| Get number of expanded nodes.
|
|
void | getSubStateSpace (int time_step) |
| Prune state space. More...
|
|
decimal_t | getTrajCost () const |
| Get trajectory total cost.
|
|
void | checkValidation () |
| Check tree validation.
|
|
void | reset () |
| Reset state space.
|
|
void | setLPAstar (bool use_lpastar) |
| Set max vel in each axis.
|
|
void | setVmax (decimal_t v) |
| Set max vel in each axis.
|
|
void | setAmax (decimal_t a) |
| Set max acc in each axis.
|
|
void | setJmax (decimal_t j) |
| Set max jerk in each axis.
|
|
void | setYawmax (decimal_t yaw) |
| Set max jerk in each axis.
|
|
void | setTmax (decimal_t t) |
| Set max time step to explore.
|
|
void | setDt (decimal_t dt) |
| Set dt for each primitive.
|
|
void | setW (decimal_t w) |
| Set weight for cost in time.
|
|
void | setWyaw (decimal_t w) |
| Set weight for cost in time.
|
|
void | setEpsilon (decimal_t eps) |
| Set greedy searching param.
|
|
void | setHeurIgnoreDynamics (bool ignore) |
| Calculate heuristic using dynamics.
|
|
void | setMaxNum (int num) |
| Set max number of expansion.
|
|
void | setU (const vec_E< VecDf > &U) |
| Set U.
|
|
void | setPriorTrajectory (const Trajectory< Dim > &traj) |
| Set prior trajectory.
|
|
void | setTol (decimal_t tol_pos, decimal_t tol_vel=-1, decimal_t tol_acc=-1) |
| Set tolerance in geometric and dynamic spaces.
|
|
bool | plan (const Waypoint< Dim > &start, const Waypoint< Dim > &goal) |
| Planning thread. More...
|
|
template<int Dim>
class MPL::MapPlanner< Dim >
Motion primitive planner in voxel map.