Update regionals/bioglow_mission_1.py
This commit is contained in:
@@ -29,12 +29,12 @@ async def solve_missions(): # Drone Survey - Johannes
|
||||
# so turns are measured from a steady heading.
|
||||
await robot.settle_gyro()
|
||||
|
||||
await robot.move(60) # 60 cm forward
|
||||
await robot.turn(-35) # 35° left
|
||||
await robot.move(30) # 3 cm backward
|
||||
await robot.turn(75) # 75° right
|
||||
await robot.move(-20) # 20 cm backward
|
||||
await robot.move(70) # 70 cm forward
|
||||
await robot.move(60, then=robot.Stop.NONE) # 60 cm forward
|
||||
await robot.move(-5, then=robot.Stop.NONE)
|
||||
await robot.turn(-30, then=robot.Stop.HOLD) # 35° left
|
||||
await robot.move(60, then=robot.Stop.NONE) # 3 cm backward
|
||||
await robot.turn(45, then=robot.Stop.HOLD) # 75° right
|
||||
await robot.move(70, then=robot.Stop.NONE) # 70 cm forward
|
||||
robot.stop() # FIXED: was `await drive_base.stop` (crashed)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user