pilot.SystemStatus¶
Class¶
SystemStatus contains information about the platform’s hardware.
Fields¶
-
float
ambient_temperature
¶ Ambient temperature inside the platform in [C].
-
vector<bool>
relay_states
¶ State of the power relays, usually there is 4 of them.
-
keypad_state_t
keypad_state
¶ Keypad button states, if available, see pilot.keypad_state_t.
-
charging_state_e
charging_state
¶ Current charging state, see pilot.charging_state_e.
-
power_system_type_e
power_system_type
¶ Type of power system, see pilot.power_system_type_e.
-
vector<system_error_e>
system_errors
¶ List of system errors currently active, see pilot.system_error_e.
-
bool
is_shutdown
¶ If platform has been asked to shutdown now, via the key switch.
-
bool
is_initialized
¶ If platform hardware is initialized.