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

Commit

Permalink
Added motor names and IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
raghavsial committed Nov 10, 2024
1 parent cda7400 commit 846a71c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main/java/com/team766/robot/rookie_bot/OI.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public void run(final Context context) {
RobotProvider.instance.refreshDriverStationData();

Robot.drive.setArcadeDrivePower(joystick0.getAxis(1), joystick0.getAxis(3));


// Add driver controls here - make sure to take/release ownership
// of mechanisms when appropriate.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
import com.team766.hal.MotorController;
import com.team766.hal.RobotProvider;

/*
* Motor IDs:
* Drive_L - 2
* Drive_R - 11
* Intake_L - 30
* Intake_R - 3
* Elevator - 8
*/
public class Drive extends Mechanism {
public MotorController leftMotor;
public MotorController rightMotor;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package.com.team766.robot.rookie_bot.mechanisms;
package com.team766.robot.rookie_bot.mechanisms;


import com.team766.framework.Mechanism;
Expand Down

0 comments on commit 846a71c

Please sign in to comment.