PPL API Reference |
|
---|
Public Member Functions | |
Construction | |
DefaultCoordinatorStepFunction (Coordinator *_coordinator, XMLNode &_node) | |
~DefaultCoordinatorStepFunction () | |
Interface | |
virtual void | StepAgent (double _dt) override |
Function to call the step function behavior. More... | |
Static Public Member Functions | |
Construction | |
static std::unique_ptr< StepFunction > | Factory (Agent *const _a, XMLNode &_node) |
Protected Attributes | |
Internal State | |
Agent * | m_agent |
The defines the default behavior for a multi-agent coordinator. If there is a problem and no plan, the planning library will be queried. The plan will then be distributed to individual agents in the system. When there is a plan, the coordinator will step each agent along its respective plan to keep everything in sync.
|
overridevirtual |
Function to call the step function behavior.
Implements StepFunction.
|
staticinherited |
Create a dynamically-allocated agent from an XML node.
_r | The robot which this agent will reason for. |
_node | The XML node to parse. |