Pause mission (hold)
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 hold command to the drone. The drone will stop the mission and will hold its position by loitering if it's in fix wing mode or by hovering if it's in multirotor mode.
"/action/pause_mission"
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/pause_mission", { rigiId: "SIM_223" });