20001.Button.uavcan 250 B

1234567891011
  1. #
  2. # support for buttons on UAVCAN
  3. # while a button is being pressed this message should be sent at 10Hz
  4. uint8 BUTTON_SAFETY = 1
  5. uint8 button
  6. # number of 0.1s units the button has been pressed for. If over 255
  7. # then send 255
  8. uint8 press_time