Skip to main content

Land

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 send a land command to the drone. The drone will land at the current position.

"/action/land"

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/land", { rigiId: "SIM_223" });