


Public Member Functions | |
| BeeStemTiny (OptionManager &mgr, const std::string &descrName="BeeStemTiny Driver", const std::string &tagName="BeeStemTiny", const char *defdev="/dev/ttyS1", const char *defdev2="/dev/ttyUSB0") | |
| Default constructor; see ModelComponent.H. | |
| ~BeeStemTiny () | |
| Destructor. | |
| bool | setThrusters (int &m1, int &m2, int &m3, int &m4, int &m5) |
| bool | getSensors (int &heading, int &pitch, int &roll, int &ext_pressure, int &int_pressure) |
| bool | setHeartBeat () |
| bool | calibrateCrappyCompass () |
Protected Attributes | |
| nub::soft_ref< Serial > | itsPort |
| Serial port to use. | |
| pthread_mutex_t | itsSerialLock |
| std::vector< int > | crappyCompassRaw |
| nub::soft_ref< Serial > | itsCompassPort |
| std::list< int > | itsAvgDepth |
| int | itsLastMotorCmd [5] |
Definition at line 52 of file BeeStemTiny.H.
| BeeStemTiny::BeeStemTiny | ( | OptionManager & | mgr, | |
| const std::string & | descrName = "BeeStemTiny Driver", |
|||
| const std::string & | tagName = "BeeStemTiny", |
|||
| const char * | defdev = "/dev/ttyS1", |
|||
| const char * | defdev2 = "/dev/ttyUSB0" | |||
| ) |
Default constructor; see ModelComponent.H.
Definition at line 47 of file BeeStemTiny.C.
References ModelComponent::addSubComponent(), and itsPort.
| BeeStemTiny::~BeeStemTiny | ( | ) |
Destructor.
Definition at line 72 of file BeeStemTiny.C.
nub::soft_ref<Serial> BeeStemTiny::itsPort [protected] |
1.6.3