#include <CalibrationRequest.h>
Public Types | |
none | |
calibrateColors | |
calibrateBallSideDetector | |
numOfCalibrationModes | |
noFeedback | |
colorIsGreen | |
colorIsOrange | |
ballRolledByLeft | |
ballRolledByRight | |
ballDidNotRollBy | |
numOfCalibrationFeedbacks | |
enum | CalibrationMode { none, calibrateColors, calibrateBallSideDetector, numOfCalibrationModes } |
enum | CalibrationFeedback { noFeedback, colorIsGreen, colorIsOrange, ballRolledByLeft, ballRolledByRight, ballDidNotRollBy, numOfCalibrationFeedbacks } |
Public Member Functions | |
CalibrationRequest () | |
~CalibrationRequest () | |
Static Public Member Functions | |
static char * | getCalibrationModeName (CalibrationMode calibrationMode) |
Returns the name of a CalibrationMode. | |
static char * | getCalibrationFeedbackName (CalibrationFeedback calibrationFeedback) |
Returns the name of a CalibrationFeedback. | |
Public Attributes | |
CalibrationMode | mode |
CalibrationFeedback | feedback |
Definition at line 19 of file CalibrationRequest.h.
noFeedback | |
colorIsGreen | |
colorIsOrange | |
ballRolledByLeft | |
ballRolledByRight | |
ballDidNotRollBy | |
numOfCalibrationFeedbacks |
Definition at line 37 of file CalibrationRequest.h.
Definition at line 29 of file CalibrationRequest.h.
CalibrationRequest::CalibrationRequest | ( | ) |
constructor
Definition at line 12 of file CalibrationRequest.cpp.
CalibrationRequest::~CalibrationRequest | ( | ) |
destructor
Definition at line 19 of file CalibrationRequest.cpp.
static char* CalibrationRequest::getCalibrationFeedbackName | ( | CalibrationFeedback | calibrationFeedback | ) | [inline, static] |
Returns the name of a CalibrationFeedback.
Definition at line 61 of file CalibrationRequest.h.
References ballDidNotRollBy, ballRolledByLeft, ballRolledByRight, colorIsGreen, colorIsOrange, and noFeedback.
Referenced by CalibrationSymbols::registerSymbols().
static char* CalibrationRequest::getCalibrationModeName | ( | CalibrationMode | calibrationMode | ) | [inline, static] |
Returns the name of a CalibrationMode.
Definition at line 49 of file CalibrationRequest.h.
References calibrateBallSideDetector, calibrateColors, and none.
Referenced by CalibrationSymbols::registerSymbols().
Definition at line 76 of file CalibrationRequest.h.
Referenced by CalibrationSymbols::registerSymbols().
Definition at line 73 of file CalibrationRequest.h.
Referenced by CalibrationSymbols::registerSymbols().