Namespaces | Classes | Typedefs | Enumerations
create Namespace Reference

Namespaces

namespace  util

Classes

class  Create
class  Data
class  Packet
struct  Pose
 Represents a robot pose. More...
class  RobotModel
class  Serial
class  SerialQuery
class  SerialStream

Typedefs

typedef Pose Vel

Enumerations

enum  BAUDCODE {
  BAUD_300 = 0, BAUD_600 = 1, BAUD_1200 = 2, BAUD_2400 = 3,
  BAUD_4800 = 4, BAUD_9600 = 5, BAUD_14400 = 6, BAUD_19200 = 7,
  BAUD_28800 = 8, BAUD_38400 = 9, BAUD_57600 = 10, BAUD_115200 = 11
}
enum  ChargingState {
  CHARGE_NONE = 0, CHARGE_RECONDITION = 1, CHARGE_FULL = 2, CHARGE_TRICKLE = 3,
  CHARGE_WAITING = 4, CHARGE_FAULT = 5
}
enum  CleanMode { CLEAN_DEFAULT = OC_CLEAN, CLEAN_MAX = OC_MAX, CLEAN_SPOT = OC_SPOT }
enum  CreateMode {
  MODE_OFF = 0, MODE_PASSIVE = 1, MODE_SAFE = 2, MODE_FULL = 3,
  MODE_UNAVAILABLE = -1
}
enum  DayOfWeek {
  SUN = 0, MON = 1, TUE = 2, WED = 3,
  THU = 4, FRI = 5, SAT = 6
}
enum  IRChars {
  IR_CHAR_NONE = 0, IR_CHAR_LEFT = 129, IR_CHAR_FORWARD = 130, IR_CHAR_RIGHT = 131,
  IR_CHAR_SPOT = 132, IR_CHAR_MAX = 133, IR_CHAR_SMALL = 134, IR_CHAR_MEDIUM = 135,
  IR_CHAR_LARGE = 136, IR_CHAR_CLEAN = 136, IR_CHAR_PAUSE = 137, IR_CHAR_POWER = 138,
  IR_CHAR_ARC_LEFT = 139, IR_CHAR_ARC_RIGHT = 140, IR_CHAR_STOP = 141, IR_CHAR_DOWNLOAD = 142,
  IR_CHAR_SEEK_DOCK = 143, IR_CHAR_DOCK_RESERVED = 240, IR_CHAR_RED_BUOY = 248, IR_CHAR_GREEN_BUOY = 244,
  IR_CHAR_FORCE_FIELD = 242, IR_CHAR_RED_GREEN_BUOY = 252, IR_CHAR_RED_FORCE_FIELD = 250, IR_CHAR_GREEN_FORCE_FIELD = 246,
  IR_CHAR_RED_GREEN_FORCE_FIELD = 254, IR_CHAR_600_DOCK_RESERVED = 160, IR_CHAR_600_FORCE_FIELD = 161, IR_CHAR_600_GREEN_BUOY = 164,
  IR_CHAR_600_GREEN_FORCE_FIELD = 165, IR_CHAR_600_RED_BUOY = 168, IR_CHAR_600_RED_FORCE_FIELD = 169, IR_CHAR_600_RED_GREEN_BUOY = 172,
  IR_CHAR_600_RED_GREEN_FORCE_FIELD = 173, IR_CHAR_VIRTUAL_WALL = 162
}
enum  Opcode {
  OC_START = 128, OC_RESET = 7, OC_STOP = 173, OC_BAUD = 129,
  OC_CONTROL = 130, OC_SAFE = 131, OC_FULL = 132, OC_CLEAN = 135,
  OC_MAX = 136, OC_SPOT = 134, OC_DOCK = 143, OC_POWER = 133,
  OC_SCHEDULE = 167, OC_DATE = 168, OC_DRIVE = 137, OC_DRIVE_DIRECT = 145,
  OC_DRIVE_PWM = 146, OC_MOTORS = 138, OC_MOTORS_PWM = 144, OC_LEDS = 139,
  OC_SCHEDULING_LEDS = 162, OC_DIGIT_LEDS_RAW = 163, OC_BUTTONS = 165, OC_DIGIT_LEDS_ASCII = 164,
  OC_SONG = 140, OC_PLAY = 141, OC_SENSORS = 142, OC_QUERY_LIST = 149,
  OC_STREAM = 148, OC_TOGGLE_STREAM = 150
}
enum  ProtocolVersion { V_1 = 1, V_2 = 2, V_3 = 4, V_ALL = 0xFFFFFFFF }
enum  SensorPacketID {
  ID_GROUP_0 = 0, ID_GROUP_1 = 1, ID_GROUP_2 = 2, ID_GROUP_3 = 3,
  ID_GROUP_4 = 4, ID_GROUP_5 = 5, ID_GROUP_6 = 6, ID_GROUP_100 = 100,
  ID_GROUP_101 = 101, ID_GROUP_106 = 106, ID_GROUP_107 = 107, ID_BUMP_WHEELDROP = 7,
  ID_WALL = 8, ID_CLIFF_LEFT = 9, ID_CLIFF_FRONT_LEFT = 10, ID_CLIFF_FRONT_RIGHT = 11,
  ID_CLIFF_RIGHT = 12, ID_VIRTUAL_WALL = 13, ID_OVERCURRENTS = 14, ID_DIRT_DETECT_LEFT = 15,
  ID_DIRT_DETECT_RIGHT = 16, ID_IR_OMNI = 17, ID_IR_LEFT = 52, ID_IR_RIGHT = 53,
  ID_BUTTONS = 18, ID_DISTANCE = 19, ID_ANGLE = 20, ID_CHARGE_STATE = 21,
  ID_VOLTAGE = 22, ID_CURRENT = 23, ID_TEMP = 24, ID_CHARGE = 25,
  ID_CAPACITY = 26, ID_WALL_SIGNAL = 27, ID_CLIFF_LEFT_SIGNAL = 28, ID_CLIFF_FRONT_LEFT_SIGNAL = 29,
  ID_CLIFF_FRONT_RIGHT_SIGNAL = 30, ID_CLIFF_RIGHT_SIGNAL = 31, ID_CARGO_BAY_DIGITAL_INPUTS = 32, ID_CARGO_BAY_ANALOG_SIGNAL = 33,
  ID_CHARGE_SOURCE = 34, ID_OI_MODE = 35, ID_SONG_NUM = 36, ID_PLAYING = 37,
  ID_NUM_STREAM_PACKETS = 38, ID_VEL = 39, ID_RADIUS = 40, ID_RIGHT_VEL = 41,
  ID_LEFT_VEL = 42, ID_LEFT_ENC = 43, ID_RIGHT_ENC = 44, ID_LIGHT = 45,
  ID_LIGHT_LEFT = 46, ID_LIGHT_FRONT_LEFT = 47, ID_LIGHT_CENTER_LEFT = 48, ID_LIGHT_CENTER_RIGHT = 49,
  ID_LIGHT_FRONT_RIGHT = 50, ID_LIGHT_RIGHT = 51, ID_LEFT_MOTOR_CURRENT = 54, ID_RIGHT_MOTOR_CURRENT = 55,
  ID_MAIN_BRUSH_CURRENT = 56, ID_SIDE_BRUSH_CURRENT = 57, ID_STASIS = 58, ID_NUM = 52
}

Typedef Documentation

typedef Pose create::Vel

Definition at line 286 of file types.h.


Enumeration Type Documentation

Enumerator:
BAUD_300 
BAUD_600 
BAUD_1200 
BAUD_2400 
BAUD_4800 
BAUD_9600 
BAUD_14400 
BAUD_19200 
BAUD_28800 
BAUD_38400 
BAUD_57600 
BAUD_115200 

Definition at line 187 of file types.h.

Enumerator:
CHARGE_NONE 
CHARGE_RECONDITION 
CHARGE_FULL 
CHARGE_TRICKLE 
CHARGE_WAITING 
CHARGE_FAULT 

Definition at line 216 of file types.h.

Enumerator:
CLEAN_DEFAULT 
CLEAN_MAX 
CLEAN_SPOT 

Definition at line 210 of file types.h.

Enumerator:
MODE_OFF 
MODE_PASSIVE 
MODE_SAFE 
MODE_FULL 
MODE_UNAVAILABLE 

Definition at line 202 of file types.h.

Enumerator:
SUN 
MON 
TUE 
WED 
THU 
FRI 
SAT 

Definition at line 225 of file types.h.

Enumerator:
IR_CHAR_NONE 
IR_CHAR_LEFT 
IR_CHAR_FORWARD 
IR_CHAR_RIGHT 
IR_CHAR_SPOT 
IR_CHAR_MAX 
IR_CHAR_SMALL 
IR_CHAR_MEDIUM 
IR_CHAR_LARGE 
IR_CHAR_CLEAN 
IR_CHAR_PAUSE 
IR_CHAR_POWER 
IR_CHAR_ARC_LEFT 
IR_CHAR_ARC_RIGHT 
IR_CHAR_STOP 
IR_CHAR_DOWNLOAD 
IR_CHAR_SEEK_DOCK 
IR_CHAR_DOCK_RESERVED 
IR_CHAR_RED_BUOY 
IR_CHAR_GREEN_BUOY 
IR_CHAR_FORCE_FIELD 
IR_CHAR_RED_GREEN_BUOY 
IR_CHAR_RED_FORCE_FIELD 
IR_CHAR_GREEN_FORCE_FIELD 
IR_CHAR_RED_GREEN_FORCE_FIELD 
IR_CHAR_600_DOCK_RESERVED 
IR_CHAR_600_FORCE_FIELD 
IR_CHAR_600_GREEN_BUOY 
IR_CHAR_600_GREEN_FORCE_FIELD 
IR_CHAR_600_RED_BUOY 
IR_CHAR_600_RED_FORCE_FIELD 
IR_CHAR_600_RED_GREEN_BUOY 
IR_CHAR_600_RED_GREEN_FORCE_FIELD 
IR_CHAR_VIRTUAL_WALL 

Definition at line 235 of file types.h.

Enumerator:
OC_START 
OC_RESET 
OC_STOP 
OC_BAUD 
OC_CONTROL 
OC_SAFE 
OC_FULL 
OC_CLEAN 
OC_MAX 
OC_SPOT 
OC_DOCK 
OC_POWER 
OC_SCHEDULE 
OC_DATE 
OC_DRIVE 
OC_DRIVE_DIRECT 
OC_DRIVE_PWM 
OC_MOTORS 
OC_MOTORS_PWM 
OC_LEDS 
OC_SCHEDULING_LEDS 
OC_DIGIT_LEDS_RAW 
OC_BUTTONS 
OC_DIGIT_LEDS_ASCII 
OC_SONG 
OC_PLAY 
OC_SENSORS 
OC_QUERY_LIST 
OC_STREAM 
OC_TOGGLE_STREAM 

Definition at line 154 of file types.h.

Enumerator:
V_1 
V_2 
V_3 
V_ALL 

Definition at line 41 of file types.h.

Enumerator:
ID_GROUP_0 
ID_GROUP_1 
ID_GROUP_2 
ID_GROUP_3 
ID_GROUP_4 
ID_GROUP_5 
ID_GROUP_6 
ID_GROUP_100 
ID_GROUP_101 
ID_GROUP_106 
ID_GROUP_107 
ID_BUMP_WHEELDROP 
ID_WALL 
ID_CLIFF_LEFT 
ID_CLIFF_FRONT_LEFT 
ID_CLIFF_FRONT_RIGHT 
ID_CLIFF_RIGHT 
ID_VIRTUAL_WALL 
ID_OVERCURRENTS 
ID_DIRT_DETECT_LEFT 
ID_DIRT_DETECT_RIGHT 
ID_IR_OMNI 
ID_IR_LEFT 
ID_IR_RIGHT 
ID_BUTTONS 
ID_DISTANCE 
ID_ANGLE 
ID_CHARGE_STATE 
ID_VOLTAGE 
ID_CURRENT 
ID_TEMP 
ID_CHARGE 
ID_CAPACITY 
ID_WALL_SIGNAL 
ID_CLIFF_LEFT_SIGNAL 
ID_CLIFF_FRONT_LEFT_SIGNAL 
ID_CLIFF_FRONT_RIGHT_SIGNAL 
ID_CLIFF_RIGHT_SIGNAL 
ID_CARGO_BAY_DIGITAL_INPUTS 
ID_CARGO_BAY_ANALOG_SIGNAL 
ID_CHARGE_SOURCE 
ID_OI_MODE 
ID_SONG_NUM 
ID_PLAYING 
ID_NUM_STREAM_PACKETS 
ID_VEL 
ID_RADIUS 
ID_RIGHT_VEL 
ID_LEFT_VEL 
ID_LEFT_ENC 
ID_RIGHT_ENC 
ID_LIGHT 
ID_LIGHT_LEFT 
ID_LIGHT_FRONT_LEFT 
ID_LIGHT_CENTER_LEFT 
ID_LIGHT_CENTER_RIGHT 
ID_LIGHT_FRONT_RIGHT 
ID_LIGHT_RIGHT 
ID_LEFT_MOTOR_CURRENT 
ID_RIGHT_MOTOR_CURRENT 
ID_MAIN_BRUSH_CURRENT 
ID_SIDE_BRUSH_CURRENT 
ID_STASIS 
ID_NUM 

Definition at line 87 of file types.h.



libcreate
Author(s): Jacob Perron
autogenerated on Sat Nov 26 2016 03:41:46