Get desktop application:
View/edit binary Protocol Buffers messages
Enable simple actions such as arming, taking off, and landing.
Send command to arm the drone. Arming a drone normally causes motors to spin at idle. Before arming take all safety precautions and stand clear of the drone!
(message has no fields)
Send command to force-arm the drone without any checks. Attention: this is not to be used for normal flying but only bench tests! Arming a drone normally causes motors to spin at idle. Before arming take all safety precautions and stand clear of the drone!
(message has no fields)
Send command to disarm the drone. This will disarm a drone that considers itself landed. If flying, the drone should reject the disarm command. Disarming means that all motors will stop.
(message has no fields)
Send command do orbit to the drone. This will run the orbit routine with the given parameters.
Radius of circle (in meters)
Tangential velocity (in m/s)
Yaw behavior of vehicle (ORBIT_YAW_BEHAVIOUR)
Center point latitude in degrees. NAN: use current latitude for center
Center point longitude in degrees. NAN: use current longitude for center
Center point altitude in meters. NAN: use current altitude for center
Get the return to launch minimum return altitude (in meters).
(message has no fields)
Return altitude relative to takeoff location (in meters)
Get the takeoff altitude (in meters above ground).
(message has no fields)
Takeoff altitude relative to ground/takeoff location (in meters)
Send command to move the vehicle to a specific global position. The latitude and longitude are given in degrees (WGS84 frame) and the altitude in meters AMSL (above mean sea level). The yaw angle is in degrees (frame is NED, 0 is North, positive is clockwise).
Latitude (in degrees)
Longitude (in degrees)
Altitude AMSL (in meters)
Yaw angle (in degrees, frame is NED, 0 is North, positive is clockwise)
Send command to hold position (a.k.a. "Loiter"). Sends a command to drone to change to Hold flight mode, causing the vehicle to stop and maintain its current GPS position and altitude. Note: this command is specific to the PX4 Autopilot flight stack as it implies a change to a PX4-specific mode.
(message has no fields)
Send command to kill the drone. This will disarm a drone irrespective of whether it is landed or flying. Note that the drone will fall out of the sky if this command is used while flying.
(message has no fields)
Send command to land at the current position. This switches the drone to 'Land' flight mode.
(message has no fields)
Send command to reboot the drone components. This will reboot the autopilot, companion computer, camera and gimbal.
(message has no fields)
Send command to return to the launch (takeoff) position and land. This switches the drone into [Return mode](https://docs.px4.io/master/en/flight_modes/return.html) which generally means it will rise up to a certain altitude to clear any obstacles before heading back to the launch (takeoff) position and land there.
(message has no fields)
Send command to set the value of an actuator. Note that the index of the actuator starts at 1 and that the value goes from -1 to 1.
Index of actuator (starting with 1)
Value to set the actuator to (normalized from [-1..1])
Set current speed. This will set the speed during a mission, reposition, and similar. It is ephemeral, so not stored on the drone and does not survive a reboot.
Speed in meters/second
Set GPS Global Origin. Sets the GPS coordinates of the vehicle local origin (0,0,0) position.
Latitude (in degrees)
Longitude (in degrees)
Altitude AMSL (in meters)
Set home. Sets the home position.
Use current location
Latitude (in degrees)
Longitude (in degrees)
Altitude AMSL (in meters)
Send command to set the value of a relay. The index of the relay starts at 0. For the relay value, 1=on, 0=off, others possible depending on system hardware
Index of relay (starting with 0)
Value to set the relay to
Set the return to launch minimum return altitude (in meters).
Return altitude relative to takeoff location (in meters)
Set takeoff altitude (in meters above ground).
Takeoff altitude relative to ground/takeoff location (in meters)
Send command to shut down the drone components. This will shut down the autopilot, onboard computer, camera and gimbal. This command should only be used when the autopilot is disarmed and autopilots commonly reject it if they are not already ready to shut down.
(message has no fields)
Send command to take off and hover. This switches the drone into position control mode and commands it to take off and hover at the takeoff altitude. Note that the vehicle must be armed before it can take off.
(message has no fields)
Send command to terminate the drone. This will run the terminate routine as configured on the drone (e.g. disarm and open the parachute).
(message has no fields)
Send command to transition the drone to fixedwing. The associated action will only be executed for VTOL vehicles (on other vehicle types the command will fail). The command will succeed if called when the vehicle is already in fixedwing mode.
(message has no fields)
Send command to transition the drone to multicopter. The associated action will only be executed for VTOL vehicles (on other vehicle types the command will fail). The command will succeed if called when the vehicle is already in multicopter mode.
(message has no fields)
Result type.
Used in: , , , , , , , , , , , , , , , , , , , , , , ,
Result enum value
Human-readable English string describing the result
Possible results returned for action requests.
Used in:
Unknown result
Request was successful
No system is connected
Connection error
Vehicle is busy
Command refused by vehicle
Command refused because landed state is unknown
Command refused because vehicle not landed
Request timed out
Hybrid/VTOL transition support is unknown
Vehicle does not support hybrid/VTOL transitions
Error getting or setting parameter
Action not supported
Action failed
Invalid argument
Yaw behaviour during orbit flight.
Used in:
Vehicle front points to the center (default)
Vehicle front holds heading when message received
Yaw uncontrolled
Vehicle front follows flight path (tangential to circle)
Yaw controlled by RC input
Commanded values for relays
Used in:
Turn the relay off
Turn the relay on.