I am using an Optitrack system and would like to make autonomous missions.
So in reference to this discussion.
I see you can send a mission via Mavproxy, but I am wondering what the procedure is for Non-GPS applications. The shown examples are only using lat/long.
The Optitrack system works well in Loiter and Circle mode but I would like to make specific routes to follow, along with takeoff and landing.
As per my previous message, you need to send the GPS_GLOBAL_ORIGIN MAVLink message to the flight controller to map the local frame 0,0,0 origin to a global frame long/lat.
I assume you’re using MAVProxy? In that case use setorigin LAT(deg) LON(deg) ALT(m) command to set the origin.
I’m not really a copter expert, so probably wouldn’t be able to assist there. In any case, an attached logfile showing the issue would help other devs diagnose your issue.