#include "Component/ModelComponent.H"
#include "Component/ModelParam.H"
#include "Devices/Serial.H"
#include "Util/Types.H"
#include "rutz/shared_ptr.h"
#include <pthread.h>
#include <stdarg.h>
Go to the source code of this file.
Classes | |
class | binary< N > |
class | binary< 0 > |
class | BeeSTEMListener |
BeoChip event listener. More... | |
class | BeeSTEM |
BeeSTEM.H Interface to Rand Voorhies' BeeSTEM device. More... | |
Defines | |
#define | BIN(N) (((byte(binary<(unsigned long int)(N##.0)>::value)))) |
#define | DATATOP MOTOR_E_CURR_EVENT |
Enumerations | |
enum | BeeSTEMEventType { COMPASS_HEADING_EVENT = 0, COMPASS_PITCH_EVENT = 1, COMPASS_ROLL_EVENT = 2, ACCEL_X_EVENT = 3, ACCEL_Y_EVENT = 4, INT_PRESS_EVENT = 5, EXT_PRESS_EVENT = 6, TEMP1_EVENT = 7, TEMP2_EVENT = 8, TEMP3_EVENT = 9, DIG_IN_EVENT = 10, ADC_IN_EVENT = 11, MOTOR_A_CURR_EVENT = 12, MOTOR_B_CURR_EVENT = 13, MOTOR_C_CURR_EVENT = 14, MOTOR_D_CURR_EVENT = 15, MOTOR_E_CURR_EVENT = 16, ECHO_REPLY_EVENT = 17, RESET_EVENT = 18, SW_OVERFLOW_EVENT = 19, FRAMING_ERR_EVENT = 20, OVR_ERR_EVENT = 21, HMR3300_LOST_EVENT = 22, ACCEL_LOST_EVENT = 23, TEMP1_LOST_EVENT = 24, TEMP2_LOST_EVENT = 25, HMR_LEVELED_EVENT = 26, ESTOP_EVENT = 27, UNRECOGNIZED_EVENT = 28, BAD_IN_CMD_SEQ_EVENT = 29, BAD_OUT_CMD_SEQ_EVENT = 30, RESET_ACK_EVENT = 31, DATA_EVENT = 32, HMR3300_CAL_EVENT = 33, NO_EVENT = 34 } |
BeeSTEM event types. More... | |
enum | BeeSTEMReportingMask { HMR3300 = BIN(01100010), ACCELEROMETER = BIN(01100000), INT_PRESS = BIN(01101010), EXT_PRESS = BIN(01101100), TEMP1 = BIN(01100100), TEMP2 = BIN(01100110), TEMP3 = BIN(01101000), DIG_IN = BIN(01101110), ADC_IN = BIN(01110000), MOTOR_CURR = BIN(01110010) } |
BeeSTEM Reporting Masks. More... |
Interface to Rand Voorhies' BeeSTEM controller.
Definition in file BeeSTEM.H.
enum BeeSTEMEventType |
BeeSTEM event types.
This is the EventType that is passed to an external event handler on an event trigger. For simplicity, COMPASS_HEADING_EVENT through MOTOR_E_CURR_EVENT are used internally to address our data buffer. If any events need to be added later, please just make sure to pay attention to how the data buffer size is initialized in the private section of this class, and how it is addressed in the accessor functions as well as the run loop.
enum BeeSTEMReportingMask |