MONITORING_COCKPIT
This structure provides monitoring information for cockpit (external) digital button states. It reports the on/off status of each cockpit button connected to the robot controller.
BYTE# |
Field Name |
Data Type |
Value |
Remarks |
|---|---|---|---|---|
0 |
|
|
Cockpit digital button states |
Total size: 6 bytes
Defined in: DRFS.h
typedef struct _MONITORING_COCKPIT
{
/* digital button state */
unsigned char _iActualBS[NUM_BUTTON_EX];
} MONITORING_COCKPIT, *LPMONITORING_COCKPIT;
Note
NUM_BUTTON_EXrepresents the number of cockpit buttons physically available (default: 6).Each element in
_iActualBScorresponds to one cockpit button.Value 0 means “not pressed”, 1 means “pressed”.
Typically used for external cockpit hardware, such as Smart TP grip buttons or optional control modules.