# How to fly autonomously no gps

Source: https://forum.modalai.com/topic/492/how-to-fly-autonomously-no-gps
Category: General Questions (https://forum.modalai.com/category/2/general-questions)
Posted: 2021-10-12 18:27:48 UTC by Daniel Ryu
Replies: 1 · Views: 585

## Daniel Ryu · 2021-10-12 18:27:48 UTC

Using the roskinetic Mavros example as a basis, I'm trying to program autonomous missions for the drone to fly in VIO. However, I can't get a lot of the mavlink commands that depend on local_position_ned to run (i.e. https://mavlink.io/en/messages/common.html#SET_POSITION_TARGET_LOCAL_NED). What mavlink messages/commands do you recommend for flying a drone in VIO?

## Reply by Chad Sweet (ModalAI staff) · 2021-10-20 16:18:13 UTC

Have you followed the tutorial at https://docs.modalai.com/mavros ?
