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