![]() |
Laelaps
2.3.5
RoadNarrows Robotics Small Outdoor Mobile Robot Project
|
Macros | |
#define | APP_EC_OK 0 |
success exit code | |
#define | APP_EC_ARGS 2 |
command-line options/arguments error exit code | |
#define | APP_EC_EXEC 4 |
execution exit code | |
Functions | |
static DiagStats | prelims () |
static void | mainInit (int argc, char *argv[]) |
Main initialization. More... | |
int | main (int argc, char *argv[]) |
Main. More... | |
Variables | |
static char * | Argv0 |
the command | |
static bool_t | OptsMotion = false |
motion option | |
static bool_t | OptsAnyKey = false |
user presses anykey to stop option | |
static const char * | DiagnosticsAvail [] |
Available diagnostics. More... | |
static vector< string > | DiagnosticsToRun |
diagnostics to run | |
static OptsPgmInfo_T | PgmInfo |
Program information. More... | |
static OptsInfo_T | OptsInfo [] |
Command line options information. | |
LaeDesc | RobotDesc |
LaeI2C | I2CBus |
LaeI2CMux | I2CMux (I2CBus) |
LaeWd | WatchDog (I2CBus) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Main.
argc | Command-line argument count. |
argv | Command-line argument list. |
Definition at line 380 of file laelaps_diag.cxx.
References APP_EC_OK, DiagnosticsToRun, mainInit(), OptsAnyKey, and OptsMotion.
|
static |
Main initialization.
argc | Command-line argument count. |
argv | Command-line argument list. |
Definition at line 299 of file laelaps_diag.cxx.
References APP_EC_ARGS, Argv0, DiagnosticsAvail, DiagnosticsToRun, OptsInfo, PgmInfo, and PkgInfo.
Referenced by main().
|
static |
Available diagnostics.
Definition at line 103 of file laelaps_diag.cxx.
Referenced by mainInit().
|
static |
Program information.
Definition at line 113 of file laelaps_diag.cxx.
Referenced by mainInit().