Constructors and Destructors | |
| |
PWiiController (OptionManager &mgr, const std::string &descrName="PWiiController", const std::string &tagName="PWiiController") | |
Constructor. | |
~PWiiController () | |
Destructor. | |
bool | connectWiimote () |
bool | updateWiimote () |
bool | setMotor1Speed (int speed) |
bool | setMotor2Speed (int speed) |
bool | setMotor1Dir (int dir) |
bool | setMotor2Dir (int dir) |
bool | setTransVel (int transVel) |
bool | setRotVel (int rotVel) |
int * | getMotor1SpeedPtr () |
int * | getMotor2SpeedPtr () |
int * | getMotor1DirPtr () |
int * | getMotor2DirPtr () |
int * | getTransVelPtr () |
int * | getRotVelPtr () |
int * | getXAccelPtr () |
int * | getYAccelPtr () |
int * | getZAccelPtr () |
int * | getBatteryPtr () |
Image< PixRGB< byte > > * | getIRImagePtr () |
bool | getConnectionStatus () |
void | start2 () |
This is called from within start() after the subcomponents have started. |
Definition at line 35 of file PWiiController.H.
PWiiController::PWiiController | ( | OptionManager & | mgr, | |
const std::string & | descrName = "PWiiController" , |
|||
const std::string & | tagName = "PWiiController" | |||
) |
Constructor.
Definition at line 68 of file PWiiController.C.
PWiiController::~PWiiController | ( | ) |
Destructor.
Definition at line 92 of file PWiiController.C.
void PWiiController::start2 | ( | ) | [virtual] |
This is called from within start() after the subcomponents have started.
Reimplemented from ModelComponent.
Definition at line 218 of file PWiiController.C.
References rutz::shared_ptr< T >::reset().