libkovan
1
The kovan standard library
create_codes.h
Go to the documentation of this file.
1
/**************************************************************************
2
* Copyright 2012 KISS Institute for Practical Robotics *
3
* *
4
* This file is part of libkovan. *
5
* *
6
* libkovan is free software: you can redistribute it and/or modify *
7
* it under the terms of the GNU General Public License as published by *
8
* the Free Software Foundation, either version 2 of the License, or *
9
* (at your option) any later version. *
10
* *
11
* libkovan is distributed in the hope that it will be useful, *
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14
* GNU General Public License for more details. *
15
* *
16
* You should have received a copy of the GNU General Public License *
17
* along with libkovan. Check the LICENSE file in the project root. *
18
* If not, see <http://www.gnu.org/licenses/>. *
19
**************************************************************************/
20
28
#ifndef _CREATE_CODES_H_
29
#define _CREATE_CODES_H_
30
31
// See http://www.irobot.com/filelibrary/pdfs/hrd/create/create%20open%20interface_v2.pdf
32
// for more information
33
34
#define OI_START 128
35
#define OI_BAUD 129
36
#define OI_SAFE 131
37
#define OI_FULL 132
38
#define OI_DEMO 136
39
40
#define OI_DRIVE 137
41
#define OI_DRIVE_DIRECT 145
42
#define OI_LEDS 139
43
#define OI_DIGITAL_OUTPUTS 147
44
#define OI_LOW_SIDE_DRIVERS 138
45
#define OI_SEND_IR 151
46
47
#define OI_SONG 140
48
#define OI_PLAY_SONG 141
49
50
#define OI_SENSORS 142
51
#define OI_QUERY_LIST 149
52
53
#define OI_STREAM 148
54
#define OI_PAUSE_RESUME_STREAM 150
55
56
#define OI_SCRIPT 152
57
#define OI_PLAY_SCRIPT 153
58
#define OI_SHOW_SCRIPT 154
59
60
#define OI_WAIT_TIME 155
61
#define OI_WAIT_DISTANCE 156
62
#define OI_WAIT_ANGLE 157
63
#define OI_WAIT_EVENT 156
64
65
#define OI_BUMPS_AND_WHEEL_DROPS 7
66
#define OI_WALL 8
67
#define OI_CLIFF_LEFT 9
68
#define OI_CLIFF_FRONT_LEFT 10
69
#define OI_CLIFF_FRONT_RIGHT 11
70
#define OI_CLIFF_RIGHT 12
71
#define OI_VIRTUAL_WALL 13
72
#define OI_LOW_SIDE_DRIVER_AND_WHEEL_OVERCURRENTS 14
73
#define OI_BUTTONS 18
74
#define OI_DISTANCE 19
75
#define OI_ANGLE 20
76
#define OI_CHARGING_STATE 21
77
#define OI_VOLTAGE 22
78
#define OI_CURRENT 23
79
#define OI_CARGO_BAY_DIGITAL_INPUTS 32
80
81
82
#endif
include
kovan
create_codes.h
Generated on Tue Aug 30 2016 08:52:43 for libkovan by
1.8.9.1