|
Haptic Controller
|
Struct to hold important system information. More...
Public Member Functions | |
| SystemInfo ()=default | |
| SystemInfo (CommsController< ODRV_CAN0, ODRV_CAN1 > &cc) | |
Public Attributes | |
| bool | teensy_heartbeat_timeout = false |
| bool & | odrive0_heartbeat_timeout |
| bool & | odrive1_heartbeat_timeout |
| bool | estop_enabled = false |
| bool | relays_open = false |
| bool | deadman_switch_pressed = false |
| ControllerState | mirror_teensy_state = ControllerState::INITIALIZING |
|
default |
|
inline |
| bool SystemInfo::deadman_switch_pressed = false |
Definition at line 102 of file main.cpp.
Referenced by changeState(), and checkDeadman().
| bool SystemInfo::estop_enabled = false |
Definition at line 100 of file main.cpp.
Referenced by shouldError().
| ControllerState SystemInfo::mirror_teensy_state = ControllerState::INITIALIZING |
Definition at line 103 of file main.cpp.
Referenced by changeState(), and updateSystemInfo().
| bool& SystemInfo::odrive0_heartbeat_timeout |
Definition at line 98 of file main.cpp.
Referenced by doState(), enterState(), ledUpdate(), and shouldError().
| bool& SystemInfo::odrive1_heartbeat_timeout |
Definition at line 99 of file main.cpp.
Referenced by doState(), enterState(), ledUpdate(), and shouldError().
| bool SystemInfo::relays_open = false |
Definition at line 101 of file main.cpp.
Referenced by shouldError().
| bool SystemInfo::teensy_heartbeat_timeout = false |
Definition at line 97 of file main.cpp.
Referenced by enterState(), ledUpdate(), shouldError(), and updateSystemInfo().