langston-stem / skywrangler-web-server

Web server that runs on UAV onboard computer (payload)
https://github.com/orgs/langston-stem/projects/1
MIT License
0 stars 0 forks source link

modify "fly mission" function #2

Closed dlech closed 2 years ago

dlech commented 2 years ago

We need to modify this method to fly to a specific GPS coordinate point.

https://github.com/langston-stem/skywrangler-web-server/blob/91cf0a94aad10e945cb4cc8816b87b6c2cc74925/src/skywrangler_web_server/drone.py#L29-L46

We should be able to copy some code from the mission example: https://github.com/mavlink/MAVSDK-Python/blob/main/examples/mission.py

dlech commented 2 years ago

Then we will need to add parameters for passing the mission parameters:

To start with, we will ignore speed, distance and angle and just fly to a point above the origin.