#include <path_planner_base.h>
List of all members.
Public Member Functions |
virtual bool | addAfter (const TrajectoryPt::ID &ref_id, TrajectoryPtPtr tp)=0 |
| Add a point to the current path after the point with 'ref_id'.
|
virtual bool | addBefore (const TrajectoryPt::ID &ref_id, TrajectoryPtPtr tp)=0 |
| Add a point to the current path before the point with 'ref_id'.
|
virtual void | getConfig (PlannerConfig &config) const =0 |
| Get the current configuration parameters used by the planner.
|
virtual int | getErrorCode () const =0 |
| Returns the last error code.
|
virtual bool | getErrorMessage (int error_code, std::string &msg) const =0 |
| Gets the error message corresponding to the error code.
|
virtual bool | getPath (std::vector< TrajectoryPtPtr > &path) const =0 |
| Returns the last robot path generated from the input trajectory.
|
virtual bool | initialize (RobotModelConstPtr model)=0 |
| Plans a path for the given robot model and configuration parameters.
|
virtual bool | modify (const TrajectoryPt::ID &ref_id, TrajectoryPtPtr tp)=0 |
| Modifies the point with 'ref_id'.
|
virtual bool | planPath (const std::vector< TrajectoryPtPtr > &traj)=0 |
| Generates a robot path from the trajectory.
|
virtual bool | remove (const TrajectoryPt::ID &ref_id)=0 |
| Removes the point with 'ref_id' from the path.
|
virtual bool | setConfig (const PlannerConfig &config)=0 |
| Configure the planner's parameters. Should return 'true' when all the entries were properly parsed.
|
virtual | ~PathPlannerBase () |
Protected Member Functions |
| PathPlannerBase () |
Detailed Description
Definition at line 43 of file path_planner_base.h.
Constructor & Destructor Documentation
Member Function Documentation
Add a point to the current path after the point with 'ref_id'.
- Parameters:
-
ref_id | ID of the reference point |
Add a point to the current path before the point with 'ref_id'.
- Parameters:
-
ref_id | ID of the reference point |
Get the current configuration parameters used by the planner.
- Parameters:
-
config | A map containing the current parameter/value pairs. |
Returns the last error code.
Gets the error message corresponding to the error code.
- Parameters:
-
error_code | Integer code from the PlannerError enumeration. |
Returns the last robot path generated from the input trajectory.
- Parameters:
-
path | Array that contains the points in the robot path |
Plans a path for the given robot model and configuration parameters.
- Parameters:
-
model | robot model implementation for which to plan a path |
config | A map containing the parameter/value pairs. |
Modifies the point with 'ref_id'.
- Parameters:
-
ref_id | ID of the reference point |
Generates a robot path from the trajectory.
- Parameters:
-
traj | the points used to plan the robot path Integer flag which indicates the type of error encountered during planning. |
Removes the point with 'ref_id' from the path.
- Parameters:
-
ref_id | ID of the reference point |
Configure the planner's parameters. Should return 'true' when all the entries were properly parsed.
- Parameters:
-
config | A map containing the parameter/value pairs. |
The documentation for this class was generated from the following file: