Skip to main content

Return to takeoff

caution

To use any action you need first to connect to the server. Please refer to the connect action to see how to connect to the socket.

This action will a return to takeoff command to the drone. The drone will go back to the takeoff position with a reversed from the original mission.

"/action/reverse_misson_rtl"

Body

rigiId: serial number of the drone/simulator
tip

The rigiId (serial Number) can be obtained from the Rest api. You can list all the drones with the /drones endpoint and get the serial number from there.

Response

caution

There is no direct response from the action. Any feedback from the drone will be sent as a status_message

Example

socket.emit("/action/reverse_misson_rtl", { rigiId: "SIM_223" });