How to use orbit(param 4) funtion on set waypoints API

#1

Hello,

I’ve been trying out the Orbit (param 4) on the Set Waypoints API(JS REST).

I can’t seem to make it work.

Please help, thank you!

I test the code on FlytSim before doing it on the actual drone.

Sample waypoint code: (The drone goes to the desired location but doesn’t do the orbit)

“waypoints”:[
{“frame”:3,“command”:16,“is_current”:false,“autocontinue”:true,“param1”:0,“param2”:1,“param3”:150,“param4”:0,“x_lat”:47.397691976633496,“y_long”:8.545742290523322,“z_alt”:5}
]