Skip to content

Commit 89a7dbf

Browse files
committed
examples: don't set heading, remove debug wait
1 parent 89f07a2 commit 89a7dbf

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

examples/goto.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,7 @@ async def run():
2828

2929
await asyncio.sleep(1)
3030

31-
await drone.action.goto_location(47.399386, 8.535245, 500, 0)
32-
33-
while True:
34-
await asyncio.sleep(1)
31+
await drone.action.goto_location(47.399386, 8.535245, 500, float('nan'))
3532

3633
if __name__ == "__main__":
3734
loop = asyncio.get_event_loop()

0 commit comments

Comments
 (0)