# offboard mode mavsdk example

Source: https://forum.modalai.com/topic/634/offboard-mode-mavsdk-example
Category: General Questions (https://forum.modalai.com/category/2/general-questions)
Posted: 2022-01-05 06:11:49 UTC by 沈 宏澤
Replies: 4 · Views: 1055

## 沈 宏澤 · 2022-01-05 06:11:49 UTC

hello, 
I am trying mavsdk example.
After run the docker, 

I execute 
```
./start-mavsdk-server.sh
```
And, I got the message shows bellow.
![Screenshot from 2022-01-05 14-03-05.png](https://forum.modalai.com/assets/uploads/files/1641362695081-screenshot-from-2022-01-05-14-03-05.png) 
after that, I execute 
```
python3 takeoff_and_land2.py udp://:14551
```
after that,  I got the message shows bellow.
![Screenshot from 2022-01-05 14-11-15.png](https://forum.modalai.com/assets/uploads/files/1641363088079-screenshot-from-2022-01-05-14-11-15.png) 

What problem do I encounter and how to solve it ?

## Reply by Eric Katzfey (ModalAI staff) · 2022-01-05 16:27:39 UTC

@沈-宏澤 Looks like it is waiting for the drone to get a GPS fix.

## Reply by 沈 宏澤 · 2022-01-07 01:45:22 UTC

What should I do to fix this problem? 
It seems to unlock the GPS.

## Reply by Eric Katzfey (ModalAI staff) · 2022-01-07 16:02:09 UTC (in reply to 沈 宏澤)

@沈-宏澤 Are you outdoors? Do you expect GPS to get a fix? Or are you trying to remove GPS lock as a condition for flight?

## Reply by PIRON PI · 2022-05-08 07:08:23 UTC (in reply to 沈 宏澤)

@沈-宏澤 Do you solve your problem?
How to solve it?
