Skip to main content

Kill

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 kill command to the drone. The drone will be killed displaying the parachute or doing the configured kill action.

"/action/kill"

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