gusimplewhiteboard
WhiteboardConstants.h
Go to the documentation of this file.
1/*
2 * WhiteboardConstants.h
3 * guboostwhiteboard
4 *
5 * Created by Rene Hexel on 1/05/11.
6 * Copyright 2011-2015 Rene Hexel. All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions
10 * are met:
11 *
12 * 1. Redistributions of source code must retain the above copyright
13 * notice, this list of conditions and the following disclaimer.
14 *
15 * 2. Redistributions in binary form must reproduce the above
16 * copyright notice, this list of conditions and the following
17 * disclaimer in the documentation and/or other materials
18 * provided with the distribution.
19 *
20 * 3. All advertising materials mentioning features or use of this
21 * software must display the following acknowledgement:
22 *
23 * This product includes software developed by Rene Hexel.
24 *
25 * 4. Neither the name of the author nor the names of contributors
26 * may be used to endorse or promote products derived from this
27 * software without specific prior written permission.
28 *
29 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
30 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
31 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
32 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
33 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
34 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
35 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
36 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
37 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
38 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
39 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
40 *
41 * -----------------------------------------------------------------------
42 * This program is free software; you can redistribute it and/or
43 * modify it under the above terms or under the terms of the GNU
44 * General Public License as published by the Free Software Foundation;
45 * either version 2 of the License, or (at your option) any later version.
46 *
47 * This program is distributed in the hope that it will be useful,
48 * but WITHOUT ANY WARRANTY; without even the implied warranty of
49 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50 * GNU General Public License for more details.
51 *
52 * You should have received a copy of the GNU General Public License
53 * along with this program; if not, see http://www.gnu.org/licenses/
54 * or write to the Free Software Foundation, Inc., 51 Franklin Street,
55 * Fifth Floor, Boston, MA 02110-1301, USA.
56 *
57 */
58#ifndef WHITEBOARD_CONSTANTS_H_
59#define WHITEBOARD_CONSTANTS_H_
60
61namespace guWhiteboard
62{
64 extern const char *kOnWhiteboard;
65
67 extern const char *kHelloWBMsg;
68
70 extern const char *kSay;
71
73 extern const char *kQSay;
74
79 extern const char *kSpeechWBMsg;
80
85 extern const char *kQSpeech;
86
91 extern const char *kSpeechOutput;
92
93
98 extern const char *kRobocup_ourTeam;
99
107 extern const char *kRobocup_kickOffTeam;
108
109
111 extern const char *kUpdateAllProofs;
112
113
114
116 extern const char *kUpdateAllProofsForTheory;
117
119 extern const char *kUpdateProof;
120
122 extern const char *kOn;
123
125 extern const char *kOff;
126
130 extern const char *kDifferentialMotorPower;
131
135 extern const char *kDifferentialStopTouch;
136
140 extern const char *kDifferentialStartTouch;
141
143 extern const char *kDifferentialTouchValue;
144
148 extern const char *kDifferentialStartDistance;
149
153 extern const char *kDifferentialStopDistance;
154
156 extern const char *kDifferentialDistanceValue;
157
161 extern const char *kDifferentialStartLight;
162
166 extern const char *kDifferentialStopLight;
167
169 extern const char *kDifferentialLightValue;
170
172 extern const char *kDifferentialLedOn;
173
175 extern const char *kDifferentialLedOff;
176
180 extern const char *kDifferentialPlaySound;
181
185 extern const char *kDifferentialStopSound;
186
190 extern const char *kDifferentialStartRotationSensor;
191
195 extern const char *kDifferentialStopRotationSensor;
196
198 extern const char *kDifferentialRotationValue;
199
200 //ID's for motor's in differential robots
201 //renamed so it doe s not class with OO_Whiteboard types
205 OLD_NXT_MOTOR3 = 2 //constant for the third motor on nxt's
206 };
207
208}
209
210#endif // WHITEBOARD_CONSTANTS_H_
/file APM_Interface.h
const char * kRobocup_kickOffTeam
const char * kHelloWBMsg
Hello World message name.
const char * kDifferentialStartRotationSensor
Differential Robot message to start a rotation sensor reporting Content (Int): Id of relevant motor I...
const char * kUpdateAllProofsForTheory
Whiteboard message (string) for updating proofs for a given theory.
const char * kDifferentialStopTouch
Differential Robot message to stop a touch sensor reporting Content (Int): Id of touch sensor for NXT...
const char * kDifferentialStopSound
Differential Robot Whiteboard message to stop playing a sound Content (Int): Duration in milisecond.
const char * kDifferentialStartDistance
Differential Robot message to start a sonar sensor reporting Content (Int): Id of touch sensor for NX...
const char * kDifferentialStopRotationSensor
Differential Robot message to STOP a rotation sensor reporting Content (Int): Id of relevant motor Id...
const char * kSay
Speech message (string)
const char * kDifferentialLedOff
Differential Robot Whiteboard message to turn off a led.
const char * kDifferentialDistanceValue
Differential Robot Whiteboard message reporting the value of a sonar sensor, the message type is appe...
const char * kSpeechOutput
Whiteboard message for conditional speech output.
const char * kRobocup_ourTeam
const char * kDifferentialStartTouch
Differential Robot message to start a touch sensor reporting Content (Int): Id of touch sensor for NX...
const char * kOnWhiteboard
Soap callback key for message subscriber method.
const char * kDifferentialTouchValue
Differential Robot Whiteboard message reporting the value of a touch sensor, the message type is appe...
const char * kDifferentialLedOn
Differential Robot Whiteboard message to turn on a led.
const char * kSpeechWBMsg
Debug speech message (string) – only use for debugging, as this will only work if "SpeechOutput" "On"...
const char * kDifferentialRotationValue
Differential Robot Whiteboard message reporting the value of a rotation on a motor,...
const char * kOn
Whiteboard message (string) for turn on modules.
const char * kDifferentialStopLight
Differential Robot Whiteboard message to stop a light sensor Content (Int): Id of light sensor for NX...
const char * kDifferentialStartLight
Differential Robot Whiteboard message to start a light sensor Content (Int): Id of light sensor for N...
const char * kQSpeech
Queuing debug speech message (string) – only use for debugging, as this will only work if "SpeechOutp...
const char * kUpdateProof
Whiteboard message (string) for updating a proof for a given output.
const char * kDifferentialStopDistance
Differential Robot message to STOP a sonar sensor reporting Content (Int): Id of touch sensor for NXT...
const char * kDifferentialLightValue
Differential Robot Whiteboard message providing the value of a light sensor.
const char * kDifferentialPlaySound
Differential Robot Whiteboard message to start playing a sound Content (Int): Duration in milisecond.
const char * kDifferentialMotorPower
Differential Robot Whiteboard message to turn a motor on Content (Array): Motor(left = 0,...
const char * kOff
Whiteboard message (string) for turn off modules.
const char * kQSay
Queuing speech message (string)
const char * kUpdateAllProofs
Whiteboard message (string) for updating all proofs.