Public Member Functions | |
| def | __init__ |
Static Public Attributes | |
| dictionary | DIAG_MSG_LVL_STR_COLOR |
| dictionary | DIAG_MSG_LVL_STR_NOCOLOR |
Private Member Functions | |
| def | _diag_callback |
| def | _get_leaf_statuses |
| def | _get_non_leaf_statuses |
| def | _get_ns |
| def | _print_begin_banner |
| def | _print_end_banner |
| def | _print_status |
Private Attributes | |
| _lvl_strings_map | |
| _options | |
Definition at line 71 of file rosdiagnostic.py.
| def rosdiagnostic.rosdiagnostic.RosDiagnostics.__init__ | ( | self, | |
| options | |||
| ) |
Definition at line 87 of file rosdiagnostic.py.
| def rosdiagnostic.rosdiagnostic.RosDiagnostics._diag_callback | ( | self, | |
| msg | |||
| ) | [private] |
Definition at line 115 of file rosdiagnostic.py.
| def rosdiagnostic.rosdiagnostic.RosDiagnostics._get_leaf_statuses | ( | self, | |
| statuses | |||
| ) | [private] |
Definition at line 99 of file rosdiagnostic.py.
| def rosdiagnostic.rosdiagnostic.RosDiagnostics._get_non_leaf_statuses | ( | self, | |
| statuses | |||
| ) | [private] |
Definition at line 96 of file rosdiagnostic.py.
| def rosdiagnostic.rosdiagnostic.RosDiagnostics._get_ns | ( | self, | |
| name | |||
| ) | [private] |
Definition at line 92 of file rosdiagnostic.py.
| def rosdiagnostic.rosdiagnostic.RosDiagnostics._print_begin_banner | ( | self, | |
| msg | |||
| ) | [private] |
Definition at line 103 of file rosdiagnostic.py.
| def rosdiagnostic.rosdiagnostic.RosDiagnostics._print_end_banner | ( | self, | |
| msg | |||
| ) | [private] |
Definition at line 110 of file rosdiagnostic.py.
| def rosdiagnostic.rosdiagnostic.RosDiagnostics._print_status | ( | self, | |
| diag, | |||
| ts | |||
| ) | [private] |
Definition at line 123 of file rosdiagnostic.py.
Definition at line 87 of file rosdiagnostic.py.
Definition at line 87 of file rosdiagnostic.py.
dictionary rosdiagnostic::rosdiagnostic.RosDiagnostics::DIAG_MSG_LVL_STR_COLOR [static] |
{
DiagnosticStatus.OK: '\033[92m OK \033[0m',
DiagnosticStatus.WARN: '\033[93mWARN \033[0m',
DiagnosticStatus.ERROR: '\033[91mERROR\033[0m',
DiagnosticStatus.STALE: '\033[94mSTALE\033[0m',
}
Definition at line 80 of file rosdiagnostic.py.
dictionary rosdiagnostic::rosdiagnostic.RosDiagnostics::DIAG_MSG_LVL_STR_NOCOLOR [static] |
{
DiagnosticStatus.OK: ' OK ',
DiagnosticStatus.WARN: 'WARN ',
DiagnosticStatus.ERROR: 'ERROR',
DiagnosticStatus.STALE: 'STALE',
}
Definition at line 73 of file rosdiagnostic.py.