Showbot Requirements - Decatur-Robotics/Common-Library-And-Wiki GitHub Wiki
The showbot code written as practice by rookie requires the following:
- ShooterSubsystem
- ShootCommand
- DrivetrainSubsystem
- DriveCommand
DrivetrainSubsystem has 4 motors (left front, left back, right front, right back).
DriveCommand should read from joystick input to move the respective side's motors.
ShooterSubsystem needs 2 motors.
ShootCommand should spin the shooter motors when a button is held.
Ports class:
package frc.robot;
public class Ports {
public static int SHOOTER_MOTOR_LEFT = 17;
public static int SHOOTER_MOTOR_RIGHT = 1;
public static int RightDriveFalconMainCAN = 4;
public static int LeftDriveFalconMainCAN = 6;
public static int RightDriveFalconSubCAN = 5;
public static int LeftDriveFalconSubCAN = 11;
public static int AGITATOR = 3;
}