Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit 846a71c

Browse files
committed
Added motor names and IDs
1 parent cda7400 commit 846a71c

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

src/main/java/com/team766/robot/rookie_bot/OI.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ public void run(final Context context) {
3333
RobotProvider.instance.refreshDriverStationData();
3434

3535
Robot.drive.setArcadeDrivePower(joystick0.getAxis(1), joystick0.getAxis(3));
36+
3637

3738
// Add driver controls here - make sure to take/release ownership
3839
// of mechanisms when appropriate.

src/main/java/com/team766/robot/rookie_bot/mechanisms/Drive.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44
import com.team766.hal.MotorController;
55
import com.team766.hal.RobotProvider;
66

7+
/*
8+
* Motor IDs:
9+
* Drive_L - 2
10+
* Drive_R - 11
11+
* Intake_L - 30
12+
* Intake_R - 3
13+
* Elevator - 8
14+
*/
715
public class Drive extends Mechanism {
816
public MotorController leftMotor;
917
public MotorController rightMotor;

src/main/java/com/team766/robot/rookie_bot/mechanisms/Elevator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package.com.team766.robot.rookie_bot.mechanisms;
1+
package com.team766.robot.rookie_bot.mechanisms;
22

33

44
import com.team766.framework.Mechanism;

0 commit comments

Comments
 (0)