libkipr  1.0.0
create_codes.h
Go to the documentation of this file.
1 #ifndef _KIPR_CREATE_CREATE_CODES_H_
2 #define _KIPR_CREATE_CREATE_CODES_H_
3 
4 // See http://www.irobot.com/filelibrary/pdfs/hrd/create/create%20open%20interface_v2.pdf
5 // for more information
6 
7 #define OI_START 128
8 #define OI_BAUD 129
9 #define OI_SAFE 131
10 #define OI_FULL 132
11 #define OI_DEMO 136
12 
13 #define OI_DRIVE 137
14 #define OI_DRIVE_DIRECT 145
15 #define OI_LEDS 139
16 #define OI_DIGITAL_OUTPUTS 147
17 #define OI_LOW_SIDE_DRIVERS 138
18 #define OI_SEND_IR 151
19 
20 #define OI_SONG 140
21 #define OI_PLAY_SONG 141
22 
23 #define OI_SENSORS 142
24 #define OI_QUERY_LIST 149
25 
26 #define OI_STREAM 148
27 #define OI_PAUSE_RESUME_STREAM 150
28 
29 #define OI_SCRIPT 152
30 #define OI_PLAY_SCRIPT 153
31 #define OI_SHOW_SCRIPT 154
32 
33 #define OI_WAIT_TIME 155
34 #define OI_WAIT_DISTANCE 156
35 #define OI_WAIT_ANGLE 157
36 #define OI_WAIT_EVENT 156
37 
38 #define OI_BUMPS_AND_WHEEL_DROPS 7
39 #define OI_WALL 8
40 #define OI_CLIFF_LEFT 9
41 #define OI_CLIFF_FRONT_LEFT 10
42 #define OI_CLIFF_FRONT_RIGHT 11
43 #define OI_CLIFF_RIGHT 12
44 #define OI_VIRTUAL_WALL 13
45 #define OI_LOW_SIDE_DRIVER_AND_WHEEL_OVERCURRENTS 14
46 #define OI_BUTTONS 18
47 #define OI_DISTANCE 19
48 #define OI_ANGLE 20
49 #define OI_CHARGING_STATE 21
50 #define OI_VOLTAGE 22
51 #define OI_CURRENT 23
52 #define OI_CARGO_BAY_DIGITAL_INPUTS 32
53 
54 #endif