Hi there. I would like to automate a drone with Ardupilot firmware with mavros.
I notice there's a Force parameter could be specified in command MAV_CMD_COMPONENT_ARM_DISARM(400)MAVLink - message
In some cases Ardupilot will fail safety checks, for example, the main program loop cannot run at the required frequency in SITL environment, in which case we need to include the Force parameter in the mavlink packet to override it.
However mavros/cmd/arming service with message type CommandBool was unable to specify a force parameter so I have to use low level mavlink tool to pack a packet.
Is it possible to add a force parameter in service mavros/cmd/arming Request type?
Issue details
Hi there. I would like to automate a drone with Ardupilot firmware with
mavros
. I notice there's aForce
parameter could be specified in commandMAV_CMD_COMPONENT_ARM_DISARM(400)
MAVLink - messageIn some cases Ardupilot will fail safety checks, for example, the main program loop cannot run at the required frequency in SITL environment, in which case we need to include the Force parameter in the mavlink packet to override it.
However
mavros/cmd/arming
service with message typeCommandBool
was unable to specify aforce
parameter so I have to use low level mavlink tool to pack a packet.Is it possible to add a force parameter in service
mavros/cmd/arming
Request type?MAVROS version and platform
Mavros: 1.15.0 ROS: Noetic Ubuntu: 20.04 LTS
Autopilot type and version
[ Tick ] ArduPilot [ ] PX4