DUNE: Uniform Navigational Environment
2019.02.1
|
Plan Specification parser.
Public Types |
Public Member Functions | |
Calibration (void) | |
void | setTime (float time) |
void | clear (void) |
void | start (void) |
void | stop (void) |
void | setFailed (const std::string &info) |
void | forceRemainingTime (float time) |
float | getRemaining (void) const |
float | getElapsedTime (void) const |
bool | inProgress (void) const |
bool | notStarted (void) const |
bool | isDone (void) const |
bool | hasFailed (void) const |
const std::string & | getInfo (void) const |
Calibration state.
Enumerator | |
---|---|
CS_NONE |
Not available as in, no need for calibration. |
CS_NOT_STARTED |
Must be done but has not started yet. |
CS_IN_PROGRESS |
In progress. |
CS_DONE |
Calibration done. |
CS_FAILED |
Calibration failed. |
|
inline |
Default constructor.
References clear().
|
inline |
Clear calibration.
References CS_NONE.
Referenced by Calibration(), and Plan::Engine::Plan::clear().
|
inline |
Set new remaining time for calibration Calibration time cannot increase.
[in] | time | new calibration time |
Referenced by Plan::Engine::Plan::updateCalibration().
|
inline |
Get elapsed calibration time.
Referenced by Plan::Engine::Plan::updateCalibration().
|
inline |
Get error message.
|
inline |
Get remaining time in calibration.
Referenced by Plan::Engine::Plan::getETA().
|
inline |
|
inline |
Check if calibration is in progress.
References CS_IN_PROGRESS.
Referenced by Plan::Engine::Plan::getETA(), and Plan::Engine::Plan::updateCalibration().
|
inline |
|
inline |
Check if calibration has not yet started.
References CS_NOT_STARTED.
Referenced by Plan::Engine::Plan::getETA(), and Plan::Engine::Plan::updateCalibration().
|
inline |
|
inline |
Set the calibration time.
[in] | time | time to set in calibration |
References CS_NONE, and CS_NOT_STARTED.
Referenced by Plan::Engine::Plan::calibrationStarted().
|
inline |
Start calibration.
References CS_IN_PROGRESS, and CS_NONE.
Referenced by Plan::Engine::Plan::updateCalibration().
|
inline |