![]() |
Parasol Planning Library (PPL)
|
#include <DynamicObstacle.h>
Public Member Functions | |
Construction | |
DynamicObstacle (Robot *const _robot, std::vector< Cfg > _path) | |
DynamicObstacle (XMLNode &_node, MPProblem *const _problem) | |
~DynamicObstacle () | |
Accessors | |
Robot * | GetRobot () const noexcept |
const std::vector< Cfg > | GetPath () const noexcept |
const size_t | GetStartTime () const noexcept |
void | SetStartTime (size_t _start) |
Set the obstacle start time. More... | |
A model of a dynamic obstacle with a known trajectory.
The obstacle body and motion properties are modeled as a robot. The trajectory is interpreted as a sequence of configurations which the obstacle will assume starting from a specified start time and continuing at a rate of one Cfg per time step.
Construct a dynamic obstacle.
_robot | The robot model for the obstacle. |
_path | The obstacle's known trajectory. |
Construct a dynamic obstacle from an XML node.
_node | The XML node to parse. |
_problem | The owning problem. |
|
default |
|
noexcept |
Get the obstacle's path.
|
noexcept |
Get the obstacle's robot model.
|
noexcept |
Get the obstacle start time.
void DynamicObstacle::SetStartTime | ( | size_t | _start | ) |
Set the obstacle start time.