BeeStemTiny Class Reference

Inheritance diagram for BeeStemTiny:
Inheritance graph
[legend]
Collaboration diagram for BeeStemTiny:
Collaboration graph
[legend]

List of all members.

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< SerialitsPort
 Serial port to use.
pthread_mutex_t itsSerialLock
std::vector< int > crappyCompassRaw
nub::soft_ref< SerialitsCompassPort
std::list< int > itsAvgDepth
int itsLastMotorCmd [5]

Detailed Description

Definition at line 52 of file BeeStemTiny.H.


Constructor & Destructor Documentation

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.


Member Data Documentation

Serial port to use.

Definition at line 75 of file BeeStemTiny.H.

Referenced by BeeStemTiny().


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:20:07 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3