Commit Graph

19 Commits

Author SHA1 Message Date
50dd00cba6 Changed Johannes values
Old code was:
from pybricks.hubs import PrimeHub
from pybricks.pupdevices import Motor, ColorSensor, UltrasonicSensor, ForceSensor
from pybricks.parameters import Button, Color, Direction, Port, Side, Stop
from pybricks.robotics import DriveBase
from pybricks.tools import wait, StopWatch
from pybricks.tools import run_task, multitask

hub = PrimeHub()

left_motor = Motor(Port.A, Direction.COUNTERCLOCKWISE)
right_motor = Motor(Port.B)

left_arm = Motor(Port.C, Direction.COUNTERCLOCKWISE)
right_arm = Motor(Port.D)

drive_base = DriveBase(left_motor, right_motor, wheel_diameter=68.8, axle_track=180)

drive_base.settings(600,500,300,200)
drive_base.use_gyro(True)

async def main():

    await drive_base.straight(915)
    await drive_base.turn(-90)
    await drive_base.straight(60)
    await left_arm.run_angle(10000,-15000)
    await drive_base.straight(-60)
    await drive_base.turn(85)
    await drive_base.straight(2000)
    
run_task(main())
2025-10-20 15:48:22 +00:00
ce4435e7eb Changed line 23 from 420 to 500
johannes did it idk
2025-10-20 15:44:31 +00:00
b8476d4bfc Upload files to "missions" 2025-10-20 15:43:35 +00:00
639588e253 Merge pull request 'Add missions/Heavy lifting.py' (#17) from Johannes_Dev into dev
Reviewed-on: #17
2025-10-20 15:34:41 +00:00
53d13476a9 Add missions/Heavy lifting.py 2025-10-19 03:02:40 +00:00
c6783889b7 Add missions/Set2.py
Please add the backward part of the code.
2025-10-19 01:51:03 +00:00
4456a5aab4 Merge pull request 'Johannes_Dev' (#9) from Johannes_Dev into dev
Reviewed-on: #9
2025-10-08 23:23:13 +00:00
08e0b9a521 Delete missions/Lift2.py 2025-10-08 23:21:43 +00:00
62b76d44bc Merge pull request 'Add missions/tip the scale.py' (#4) from ayaan_dev into dev
Reviewed-on: #4
2025-10-07 14:23:38 +00:00
4b765b0e9d Update missions/M8_5.py 2025-10-07 14:18:07 +00:00
2eca0d7d24 Initial commit
Mission Run #5
2025-10-07 14:18:07 +00:00
4533f952ed Add stuff from Johannes accidental fork 2025-10-07 12:32:40 +00:00
8949003351 Mission 9 not in use 2025-10-06 18:10:02 +00:00
8008dafccf Add missions/tip the scale.py 2025-10-04 01:18:31 +00:00
d172c70fe2 THIS CODE IS OUTDATED!!! DO NOT USE!!! 2025-10-03 23:28:16 +00:00
7eeead7d99 Sand Mission 2025-09-12 21:55:38 +00:00
e8176500f9 Send Over 2025-09-12 21:54:15 +00:00
c4aa9548ed Boat mission 2025-09-12 21:52:55 +00:00
5c7e2e9eb2 Uploaded files from Bitbucket 2025-09-10 13:38:07 +00:00