Skip to content

Latest commit

 

History

History
73 lines (49 loc) · 1.21 KB

node_drone.md

File metadata and controls

73 lines (49 loc) · 1.21 KB

Drone

rpc

startmission

{"jsonrpc":"2.0","method":"startmission","id":"sdwc-3"}

gimbal_ctl

{"jsonrpc":"2.0","method":"gimbal_ctl","params":{"yaw":0,"pitch":-90},"id":"sdwc-3"}

cam

take photo

{"jsonrpc":"2.0","method":"cam_photo","id":"sdwc-3"}

record

{"jsonrpc":"2.0","method":"cam_record","id":"sdwc-3"}
{"jsonrpc":"2.0","method":"cam_record_stop","id":"sdwc-3"}

mode

{"jsonrpc":"2.0","method":"mode_pause","id":"sdwc-3"}
{"jsonrpc":"2.0","method":"mode_resume","id":"sdwc-3"}

Emergency stop

{"jsonrpc":"2.0","method":"mode_brake","id":"sdwc-3"}
{"jsonrpc":"2.0","method":"mode_rtl","id":"sdwc-3"}

sb.im Custom Edition mode land

{"jsonrpc":"2.0","method":"mode_sbland","id":"sdwc-3"}

camera

{"jsonrpc":"2.0","method":"camera_zoom","params":{"length":2},"id":"sdwc-3"}
{"jsonrpc":"2.0","method":"camera_focus","params":{"x":0.5,"y":0.5},"id":"sdwc-3"}

Go to location

{"jsonrpc":"2.0","method":"set_target","params":{"lat":0,"lng":0,"height":0},"id":"sdwc-3"}

stick

{"jsonrpc":"2.0","method":"stick_ctl","params":{"x":0,"y":0,"z":0,"r":0},"id":"sdwc-3"}