#include "CscStringCommandsBuilder.h"Functions | |
| string | createCommandStringPlayStateOutputs (const CscState &stateToBePlayed, bool safe, const CscStateExtras &playStateExtras) |
| CscState * | stateFromWheelsSpeedPercent (const CscEntityModel *entityModel, double speedLeftPercent, double speedRightPercent) |
| string | createCommandStringPlayStateOutputsForWheels (const CscEntityModel *entityModel, double speedLeft, double speedRight, bool safe, const CscStateExtras &playStateExtras) |
| string createCommandStringPlayStateOutputs | ( | const CscState & | stateToBePlayed, |
| bool | safe = false, |
||
| const CscStateExtras & | playStateExtras = {0, 0, 0} |
||
| ) |
| safe | if true, SAFE_PLAY_STATE_OUTPUTS command will be issued (Conscience Firmware stops moving after a delay, as a safety). PLAY_STATE_OUTPUTS otherwise |
| string createCommandStringPlayStateOutputsForWheels | ( | const CscEntityModel * | entityModel, |
| double | speedLeft, | ||
| double | speedRight, | ||
| bool | safe = false, |
||
| const CscStateExtras & | playStateExtras = {0, 0, 0} |
||
| ) |
| speedLeft | from -100 to 100 |
| speedRight | from -100 to 100 |
| CscState* stateFromWheelsSpeedPercent | ( | const CscEntityModel * | entityModel, |
| double | speedLeftPercent, | ||
| double | speedRightPercent | ||
| ) |