Open Williangalvani opened 1 year ago
Better stating what is happening:
Rover does not use the buttons on MANUAL_CONTROL messages for vehicle control, and instead use only the axes inputs from there, and expect commands to be sent separately, on dedicated mavlink command messages (e.g.: MAV_CMD_COMPONENT_ARM_DISARM).
I'm adding arm, disarm and mode toggle on #349 to start, but will create a separated protocol for custom mavlink commands.
@Williangalvani are there other necessary commands for the Boat besides Arm/Disarm, or are all the other optional and we can implement in a generic MAVLinkCommand action?
mode changes would be nice too, I think arming/disarming and mode changes are the essential ones
MAV_CMD_DO_SET_RELAY
would also be useful, as raised in this forum thread, but like with mode changes it's better suited to an approach that allows some configuration (like @rafaellehmkuhl's suggested "generic MAVLinkCommand action"), so we don't have to manually define every option as a separate action.
Also note that Rover does not have firmware-side handling of buttons. they should all be handled with mavlink.
This image implies that is happening:
but nothing can be configured anywhere