SLHS-Robotics / SLHS-Offseason-2024

BSD 3-Clause Clear License
0 stars 0 forks source link

Create the drive motors #1

Closed sevenbitscience closed 6 months ago

sevenbitscience commented 6 months ago

Create 4 DC motors that will drive the wheels on the robot.

Creating a motor involves creating a variable for the motor, pulling the motor from the hardware map, and setting up its parameters.

Motors are assigned from the hardware map using hardwareMap.get(DcMotor.class, 'Motor name') After motor assignment: