Skip to content

Commit

Permalink
Merge pull request #457 from danylevskyi/mis_takeoff_alt
Browse files Browse the repository at this point in the history
Increase takeoff altitude and sleep
  • Loading branch information
JonasVautherin authored Mar 28, 2022
2 parents 50a811e + 6e251b2 commit fae8477
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/telemetry_takeoff_and_land.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@ async def run():
await drone.action.arm()

print("-- Taking off")
await drone.action.set_takeoff_altitude(10.0)
await drone.action.takeoff()

await asyncio.sleep(5)
await asyncio.sleep(10)

print("-- Landing")
await drone.action.land()
Expand Down

0 comments on commit fae8477

Please sign in to comment.