gusimplewhiteboard
WhiteboardConstants.cc
Go to the documentation of this file.
1/*
2 * WhiteboardConstants.cpp
3 * gucdlmodule
4 *
5 * Created by Rene Hexel on 24/04/10.
6 * Copyright 2010 Rene Hexel. All rights reserved.
7 *
8 */
9
10#include <WhiteboardConstants.h>
11
12namespace guWhiteboard
13{
14 /* generic whiteboard messages */
15 const char *kHelloWBMsg = "HELLO_MESSAGE"; // hello world message
16
17 const char *kSay = "Say"; // speech message
18 const char *kQSay = "QSay"; // speech message (queuing)
19 const char *kSpeechWBMsg = "Speech"; // speech message for debugging
20 const char *kQSpeech = "QSpeech"; // speech message (queuing) for debugging
21 const char *kSpeechOutput = "SpeechOutput"; // activate/deactivate Speech
22
23 /* expert system whiteboard messages */
24 const char *kUpdateAllProofs = "updateProofs";
25 const char *kUpdateProof = "updateProofsForOutput";
26 const char *kUpdateAllProofsForTheory = "updateProofsForTheory";
27
32 const char *kRobocup_ourTeam = "Robocup_ourTeam";
33
41 const char *kRobocup_kickOffTeam = "Robocup_kickOffTeam";
42
43 const char *kOn = "On";
44 const char *kOff = "Off";
45
46 // LONG GONE: use MotorPower and an ARRAY
47 //const char *kDifferentialMotorForward = "gudifferential_motorForward";
48 //const char *kDifferentialMotorBackward = "gudifferential_motorBackward";
49 //const char *kDifferentialMotorStop = "gudifferential_motorStop";
50
62 const char *kDifferentialMotorPower = "gudifferential_motorPower";
63
67 const char *kDifferentialPlaySound = "gudifferential_playSound";
68
72 const char *kDifferentialStopSound = "gudifferential_stopSound";
73
74
78 const char *kDifferentialStopTouch = "gudifferential_stopTouchSensor";
82 const char *kDifferentialStartTouch = "gudifferential_startTouchSensor";
83
89 const char *kDifferentialTouchValue = "gudifferential_touchSensorValue";
90
91
95 const char *kDifferentialStartDistance = "gudifferential_startDistanceSensor";
96
100 const char *kDifferentialStopDistance = "gudifferential_stopDistanceSensor";
101
107 const char *kDifferentialDistanceValue = "gudifferential_distanceSensorValue";
108
109
115 const char *kDifferentialStartRotationSensor = "gudifferential_startRotationSensor";
116
122 const char *kDifferentialStopRotationSensor = "gudifferential_stopRotationSensor";
123
130 const char *kDifferentialRotationValue = "gudifferential_rotationSensorValue";
131
132 const char *kDifferentialStartLight = "gudifferential_startLightSensor";
133 const char *kDifferentialStopLight = "gudifferential_stopLightSensor";
134 const char *kDifferentialLightValue = "gudifferential_lightSensorValue";
135
136
137 const char *kDifferentialLedOn = "gudifferential_ledOn";
138 const char *kDifferentialLedOff = "gudifferential_ledOff";
139
140}
/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 * 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.