BeeSTEM.H File Reference

#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>
Include dependency graph for BeeSTEM.H:
This graph shows which files directly or indirectly include this file:

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...

Detailed Description

Interface to Rand Voorhies' BeeSTEM controller.

Definition in file BeeSTEM.H.


Enumeration Type Documentation

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.

Definition at line 74 of file BeeSTEM.H.

BeeSTEM Reporting Masks.

Quick and dirty way to turn on reporting for a feature or the BeeSTEM. Simply pass one of these masks to setReporting with a bool to turn reporting for that feature on or off

Definition at line 117 of file BeeSTEM.H.

Generated on Sun May 8 08:42:40 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3