armarx::PathPlannerBase
Overview
[ "cpp:virtual" ]
class PathPlannerBase
@brief Superclass for all path planners.
Does administration work. (setting of agent and collision object)
Derived Classes and Interfaces
- AStarPathPlannerBase
Operation Index
- setCollisionObjects
-
@brief Sets the collision objects.
- addCollisionObjects
-
@brief Adds collision objects.
- clearCollisionObjects
-
@brief Removes all collision objects.
- setAgent
-
@brief Sets the agent.
- setSafetyMargin
-
@brief Sets the safety margin.
- getPath
-
@brief Planns a path from from to to.
Operations
@brief Sets the collision objects.
Parameters
- objects
-
The collision objects to set.
@brief Adds collision objects.
Parameters
- objects
-
The collision objects to add.
void clearCollisionObjects()
@brief Removes all collision objects.
@brief Sets the agent.
Parameters
- agent
-
The agent.
- agentColModelName
-
The agent's collision model.
@brief Sets the safety margin. (the distance agent <-> any object will always be >= or no path will be found)
Parameters
-
@brief Planns a path from from to to.
The z coordinate is interpreted as rotation around the z-axis (in rad).
Parameters
- from
-
The starting point.
- to
-
The destination point.
Return Value
Returns the path. If no path was found an empty list is returned.