MRMS
|
#include <mrm-robot-min.h>
Public Member Functions | |
RobotMin (char name[]=(char *)"RCJ Min") | |
void | bitmapsSet () |
void | goAhead () |
void | loop () |
Public Member Functions inherited from Robot | |
Robot (char name[15]=(char *)"MRMS robot", char ssid[15]=(char *)"MRMS", char wiFiPassword[15]=(char *)"mrms") | |
void | actionAdd (ActionBase *action) |
void | actionEnd () |
bool | actionPreprocessing (bool andFinish=true) |
void | actionPreprocessingEnd () |
void | add (Board *aBoard) |
void | blink () |
void | bluetoothTest () |
void | end () |
void | canBusSniffToggle () |
void | canIdChange () |
void | colorIlluminationOff () |
void | colorIlluminationOn () |
void | colorPatternErase () |
void | colorPatternPrint () |
void | colorPatternRecognize () |
void | colorPatternRecord () |
void | delayMs (uint16_t pauseMs) |
void | delayMicros (uint16_t pauseMicros) |
uint8_t | devicesScan (bool verbose) |
void | devicesStart (uint8_t measuringMode=0) |
void | devicesStop () |
void | errors () |
void | firmwarePrint () |
float | fpsGet () |
void | fpsPrint () |
void | i2cTest () |
void | info () |
void | irFinder3Test () |
void | irFinder3TestCalculated () |
void | lidar2mTest () |
void | lidar4mTest () |
void | lidarCalibrate () |
void | menu () |
void | menuColor () |
void | menuMainAndIdle () |
void | menuReflectance () |
void | menuSystem () |
void | messagePrint (CANBusMessage *msg, bool outbound) |
void | messagesReceive () |
void | motorTest () |
void | nodeTest () |
void | noLoopWithoutThis () |
void | oscillatorTest () |
void | reflectanceArrayCalibrationPrint () |
void | run () |
uint16_t | serialReadNumber (uint16_t timeoutFirst=3000, uint16_t timeoutBetween=500, bool onlySingleDigitInput=false, uint16_t limit=0xFFFE, bool printWarnings=true) |
void | servoInteractive () |
bool | setup (bool andFinish=true) |
bool | sniffing () |
void | stopAll () |
bool | stressTest () |
void | thermoTest () |
bool | userBreak () |
void | verboseToggle () |
Additional Inherited Members | |
Public Attributes inherited from Robot | |
Mrm_can_bus * | mrm_can_bus |
Mrm_8x8a * | mrm_8x8a |
Mrm_bldc2x50 * | mrm_bldc2x50 |
Mrm_bldc4x2_5 * | mrm_bldc4x2_5 |
Mrm_col_b * | mrm_col_b |
Mrm_col_can * | mrm_col_can |
Mrm_fet_can * | mrm_fet_can |
Mrm_imu * | mrm_imu |
Mrm_ir_finder3 * | mrm_ir_finder3 |
Mrm_lid_can_b * | mrm_lid_can_b |
Mrm_lid_can_b2 * | mrm_lid_can_b2 |
Mrm_mot2x50 * | mrm_mot2x50 |
Mrm_mot4x3_6can * | mrm_mot4x3_6can |
Mrm_mot4x10 * | mrm_mot4x10 |
Mrm_node * | mrm_node |
Mrm_ref_can * | mrm_ref_can |
Mrm_servo * | mrm_servo |
Mrm_switch * | mrm_switch |
Mrm_therm_b_can * | mrm_therm_b_can |
Mrm_us_b * | mrm_us_b |
Mrm_us1 * | mrm_us1 |
Protected Member Functions inherited from Robot | |
void | actionProcess () |
void | actionSet () |
void | actionSet (ActionBase *newAction) |
uint8_t | boardsDisplayAll () |
bool | boardDisplayAndSelect (uint8_t *selectedBoardIndex, uint8_t *selectedDeviceIndex, uint8_t *maxInput, uint8_t *lastBoardAndIndex) |
bool | boardSelect (uint8_t selectedNumber, uint8_t *selectedBoardIndex, uint8_t *selectedDeviceIndex, uint8_t *maxInput) |
void | fpsPause () |
void | fpsUpdate () |
void | fpsReset () |
void | verbosePrint () |
void | vprint (const char *fmt, va_list argp) |
Protected Attributes inherited from Robot | |
ActionBase * | _action [ACTIONS_LIMIT] |
uint8_t | _actionNextFree = 0 |
ActionBase * | _actionCANBusStress |
ActionBase * | _actionCurrent |
ActionBase * | _actionDoNothing |
ActionBase * | _actionLoop |
ActionBase * | _actionMenuMain |
ActionBase * | _actionPrevious |
ActionBase * | _actionStop |
Board * | board [BOARDS_LIMIT] |
uint8_t | _boardNextFree = 0 |
uint8_t | _devicesAtStartup = 0 |
bool | _devicesScanBeforeMenu = true |
uint32_t | fpsMs [2] = { 0, 0 } |
uint8_t | fpsNextIndex = 0 |
uint32_t | fpsTopGap = 0 |
uint8_t | menuLevel = 1 |
CANBusMessage * | _msg |
char | _name [16] |
bool | _sniff = false |
char | _ssid [16] |
bool | verbose = false |
char | _wiFiPassword [16] |
Minimum robot, a class derived from the base Robot class.
RobotMin::RobotMin | ( | char | name[] = (char*)"RCJ Min" | ) |
Constructor
name | - it is also used for Bluetooth so a Bluetooth client (like a phone) will list the device using this name. |
|
inlinevirtual |
Stores custom bitmaps in mrm-led8x8a.
Implements Robot.
|
inlinevirtual |
Test - go straight ahead using a defined speed.
Implements Robot.
|
virtual |
Custom test
Custom test. The function will be called many times during the test, till You issue "x" menu-command.
Implements Robot.