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

Public Member Functions

Construction
 MatlabMicroSimulator (Robot *const _robot)
 
 ~MatlabMicroSimulator ()
 
Interface
Cfg Test (const Cfg &_start, const Control &_control) const
 
ControlSpace GetControlSpace (const Cfg &_state) const
 
void SetInsertionCfg (const Cfg &_insertionCfg)
 Set the insertion configuration.
 
double GetMatlabTime () const
 Get the wall-clock time spent waiting on matlab.
 

Detailed Description

A micro simulator for a steerable needle using a matlab model. It can likely be generalized later if we wish, but for now this is a dedicated object for the needle steering project.

Constructor & Destructor Documentation

◆ MatlabMicroSimulator()

MatlabMicroSimulator::MatlabMicroSimulator ( Robot *const  _robot)

Construct a self-simulator for a robot.

Parameters
_robotThe robot to simulate.

Member Function Documentation

◆ Test()

Cfg MatlabMicroSimulator::Test ( const Cfg _start,
const Control _control 
) const

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

Parameters
_startThe starting configuration.
_controlThe control to apply.
Returns
The result of applying control _c to the robot, starting from _start.

◆ GetControlSpace()

ControlSpace MatlabMicroSimulator::GetControlSpace ( const Cfg _state) const

Get the allowed controls from a given state.

Parameters
_stateThe current needle state.
Returns
The space of allowed controls from _state.

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