PPL API Reference |
|
---|
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. | |
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.
MatlabMicroSimulator::MatlabMicroSimulator | ( | Robot *const | _robot | ) |
Construct a self-simulator for a robot.
_robot | The robot to simulate. |
Test the result of applying a control to the robot from a designated starting configuration.
_start | The starting configuration. |
_control | The control to apply. |
ControlSpace MatlabMicroSimulator::GetControlSpace | ( | const Cfg & | _state | ) | const |
Get the allowed controls from a given state.
_state | The current needle state. |