- Long command enables user to send MAV_CMD_* commands to vehicle.
- It is used to send COMMAND_LONG messages to the vehicle to give commands during flight.
- All the parameters are in float.
- It uses command service of the MAVLink.
- Usage is:
long COMMAND_NAME PARAM1 PARAM2 PARAM3 PARAM4 PARAM5 PARAM6 PARAM7
- Lets takeoff in guided mode using MAV_CMD_NAV_TAKEOFF:
long MAV_CMD_NAV_TAKEOFF 0 0 0 0 0 0 10
- This command needs takeoff altitude in meters as its 7th parameter.
- Not all the commands are supported in
COMMAND_LONG
form but will be implemented and supported near future.