#include <lego.hxx>
Public Member Functions | |
| LegoRobo () | |
| ~LegoRobo () | |
| int | cheackalive () |
| int | setdirection (char motors, char flip, char setforward) |
| int | setonoff (char motors, char on_off) |
| int | setpower (char motors, char ptype, char level) |
The member functions may block if the corresponding command blocks
|
|
Default contructor |
|
|
Default destructor |
|
|
Function to check the status of link
|
|
||||||||||||||||
|
Function to send direction commnads for the motor
|
|
||||||||||||
|
Function to set the motors on/off
|
|
||||||||||||||||
|
Function to set the motors on/off
|
1.3.4