Class WheelbaseTestRobot

  • All Implemented Interfaces:
    AutoCloseable

    public class WheelbaseTestRobot
    extends edu.wpi.first.wpilibj.IterativeRobot
    Class to determine a robot's wheelbase width. For use instructions, load onto a robot and check the console.
    • Field Detail

      • logDataToCSV

        public boolean logDataToCSV
      • lMotor1ID

        public int lMotor1ID
      • lMotor2ID

        public int lMotor2ID
      • lMotor3ID

        public int lMotor3ID
      • rMotor1ID

        public int rMotor1ID
      • rMotor2ID

        public int rMotor2ID
      • rMotor3ID

        public int rMotor3ID
      • invertLeftMotor

        public boolean invertLeftMotor
      • invertRightMotor

        public boolean invertRightMotor
      • invertLeftSensor

        public boolean invertLeftSensor
      • invertRightSensor

        public boolean invertRightSensor
      • brake

        public boolean brake
      • encoderTPU

        public double encoderTPU
      • setpoint

        public double setpoint
    • Constructor Detail

      • WheelbaseTestRobot

        public WheelbaseTestRobot()
    • Method Detail

      • robotInit

        public void robotInit()
        Overrides:
        robotInit in class edu.wpi.first.wpilibj.IterativeRobotBase
      • teleopInit

        public void teleopInit()
        Overrides:
        teleopInit in class edu.wpi.first.wpilibj.IterativeRobotBase
      • teleopPeriodic

        public void teleopPeriodic()
        Overrides:
        teleopPeriodic in class edu.wpi.first.wpilibj.IterativeRobotBase
      • robotPeriodic

        public void robotPeriodic()
        Overrides:
        robotPeriodic in class edu.wpi.first.wpilibj.IterativeRobotBase