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
MicroSimulator Class Referencefinal

Public Member Functions

Construction
 MicroSimulator (Robot *const _robot)
 
 ~MicroSimulator ()
 
Interface
Cfg Test (const Cfg &_start, const Control &_control, const double _dt)
 
Cfg Test (const Cfg &_start, const ControlSet &_controlSet, const double _dt)
 

Detailed Description

A micro simulator for a single robot. It tests the result of applying a control to a robot in a given configuration.

This object outsources forward dynamics computations to an isolated bullet physics engine.

Constructor & Destructor Documentation

◆ MicroSimulator()

MicroSimulator::MicroSimulator ( Robot *const  _robot)

Construct a self-simulator for a robot.

Parameters
_robotThe robot to simulate.

Member Function Documentation

◆ Test() [1/2]

Cfg MicroSimulator::Test ( const Cfg _start,
const Control _control,
const double  _dt 
)

Test the result of applying a control to the robot from a designated starting configuration.

Parameters
_startThe starting configuration.
_controlThe control to apply.
_dtThe length of time to apply the control.
Returns
The result of applying control _c to the robot for _dt seconds, starting from _start.

◆ Test() [2/2]

Cfg MicroSimulator::Test ( const Cfg _start,
const ControlSet &  _controlSet,
const double  _dt 
)

Test the result of applying a set of controls to the robot from a designated starting configuration.

Parameters
_startThe starting configuration.
_controlSetThe set of controls to apply.
_dtThe length of time to apply the control.
Returns
The result of applying control _c to the robot for _dt seconds, starting from _start.

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