dev #33

Merged
Atharv merged 146 commits from dev into Johannes_Dev 2025-10-31 11:57:10 +00:00
Member
No description provided.
Atharv added 146 commits 2025-10-31 11:57:05 +00:00
Reviewed-on: #1
Parthicc made this originally.
Reviewed-on: #3
Reviewed-on: #2
Mission Run #5
Reviewed-on: #7
Reviewed-on: #5
Reviewed-on: #4
This is the commit for all code excpet for Rishi's
Reviewed-on: #8
Reviewed-on: #9
Reviewed-on: #12
Reviewed-on: #13
Reviewed-on: #14
Reviewed-on: #15
yayyyyyyyyyy
well at least yellow works now.
um so i was testing the colors and IMMA GO insane so lemme check my lego bin for something that will work.
Please add the backward part of the code.
Reviewed-on: #18
Reviewed-on: #17
johannes did it idk
Reviewed-on: #19
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())
Reviewed-on: #20
AAAGGGHHHHHHHHHHHHH COLOR SENSORS CAUSE ME PAIN!!!!!!!!!!!
Rishi, A.K.A me replaced my outdated code with the new one.
Just adjusted my code!!
Reviewed-on: #21
Reviewed-on: #22
Adding Rishi/Vickram + Adi Mission's
This is the new version of Hazmat Code with the colors. Check to see if your color is different. Only Run2 is different, it was white, now violet.
Reviewed-on: #26
Reviewed-on: #25
Minor changes.
Minor Changes AGAIN!!
MINOR CHANGES AGAIN
I am not a monkey
Minor Changes
67
CVC
This is the code we changed at the scrimmage.
Reviewed-on: #27
Reviewed-on: #28
Reviewed-on: #29
we dont need it it is alr in missions/
Atharv merged commit 21e8bd68c2 into Johannes_Dev 2025-10-31 11:57:10 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: FLL_65266_LEGO_DYNAMICS/solutions_season_unearthed#33
No description provided.