PPL API Reference
Overview Core Algorithm Abstractions Utilities Parallel Methods
Modules Class Hierarchy Classes Functions
Todo List Bug List Dead Code
List of all members
DefaultCoordinatorStepFunction Class 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< StepFunctionFactory (Agent *const _a, XMLNode &_node)
 

Protected Attributes

Internal State
Agentm_agent
 

Detailed Description

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.

Member Function Documentation

◆ StepAgent()

void DefaultCoordinatorStepFunction::StepAgent ( double  _dt)
overridevirtual

Function to call the step function behavior.

Implements StepFunction.

◆ Factory()

std::unique_ptr< StepFunction > StepFunction::Factory ( Agent *const  _a,
XMLNode _node 
)
staticinherited

Create a dynamically-allocated agent from an XML node.

Parameters
_rThe robot which this agent will reason for.
_nodeThe XML node to parse.
Returns
An agent of the type specified by _node.

The documentation for this class was generated from the following files: