Skip to content

Commit

Permalink
examples: don't set heading, remove debug wait
Browse files Browse the repository at this point in the history
  • Loading branch information
julianoes committed Jul 24, 2020
1 parent 89f07a2 commit 89a7dbf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions examples/goto.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@ async def run():

await asyncio.sleep(1)

await drone.action.goto_location(47.399386, 8.535245, 500, 0)

while True:
await asyncio.sleep(1)
await drone.action.goto_location(47.399386, 8.535245, 500, float('nan'))

if __name__ == "__main__":
loop = asyncio.get_event_loop()
Expand Down

0 comments on commit 89a7dbf

Please sign in to comment.