# Drone not switching flight modes

Source: https://forum.modalai.com/topic/1386/drone-not-switching-flight-modes
Category: General Questions (https://forum.modalai.com/category/2/general-questions)
Posted: 2022-09-27 16:51:17 UTC by rohitpillai
Replies: 2 · Views: 979

## rohitpillai · 2022-09-27 16:51:17 UTC

We are having issues with our VOXL Flight. The drone is refusing to switch flight modes from Manual to Position, Altitude or even Offboard. We are attempting to fly it indoors using Offboard mode. The QVIO server is running and working fine, the necessary indoor flight params have been updated. So I am not sure what is causing this issue. The main error being outputted by QGC is "Check for a valid position estimate, Switching to mode <flight_mode> is currently not possible. I have attached an image of the list of errors being outputted. 

We recently updated PX4 to the latest stable release: 1.13.0 and the VOXL version is 3.3.0-0.5.0.
Any advice on how to tackle this would be great!!![Screenshot from 2022-09-26 18-21-15.png](https://forum.modalai.com/assets/uploads/files/1664296282958-screenshot-from-2022-09-26-18-21-15.png) 

Thanks!

## Reply by Chad Sweet (ModalAI staff) · 2022-09-27 16:54:40 UTC

Can you please look at the Troubleshooting VIO doc for "Position Mode Rejected" and see if that helps? 

https://docs.modalai.com/flying-with-vio/#troubleshooting-vio

## Reply by rohitpillai · 2022-09-27 17:58:46 UTC

I changed a few PX4 params stated in the link you posted. I stopped most voxl services. And then did ```voxl-calibrate-imu-temps``` first followed by ```voxl-calibrate-imu```. Rebooted the drone and started/configured all the necessary voxl-services. Now I am able to switch to Position and Altitude. But not Offboard mode. Same error as earlier ```Check for a valid position estimate``` The drone is stationary on my desk and not flying. Can I only switch to offboard mode when the drone is in the air? Are there any params that I might be missing to make sure it switches to Offboard mode? Will installing a newer voxl version fix the issue?
