Merge branch 'main' of github.com:FairportRobotics/Castor2026
This commit is contained in:
commit
b88ee7ea47
|
|
@ -1 +1 @@
|
||||||
Subproject commit cd9dee709893a27de40fb86e441223dd4c068b12
|
Subproject commit c0478b01a526712b8308ac329017857177a3c876
|
||||||
|
|
@ -14,6 +14,8 @@ import org.littletonrobotics.junction.Logger;
|
||||||
import org.littletonrobotics.junction.networktables.NT4Publisher;
|
import org.littletonrobotics.junction.networktables.NT4Publisher;
|
||||||
import org.littletonrobotics.junction.wpilog.WPILOGWriter;
|
import org.littletonrobotics.junction.wpilog.WPILOGWriter;
|
||||||
|
|
||||||
|
import com.ctre.phoenix6.swerve.SwerveModule;
|
||||||
|
|
||||||
import edu.wpi.first.wpilibj.Filesystem;
|
import edu.wpi.first.wpilibj.Filesystem;
|
||||||
import edu.wpi.first.wpilibj.PowerDistribution;
|
import edu.wpi.first.wpilibj.PowerDistribution;
|
||||||
import edu.wpi.first.wpilibj.PowerDistribution.ModuleType;
|
import edu.wpi.first.wpilibj.PowerDistribution.ModuleType;
|
||||||
|
|
@ -90,6 +92,9 @@ public class Robot extends LoggedRobot {
|
||||||
|
|
||||||
// Run all POST tests after robot has been initialized
|
// Run all POST tests after robot has been initialized
|
||||||
PostyManager.getInstance().runAllPOSTs();
|
PostyManager.getInstance().runAllPOSTs();
|
||||||
|
|
||||||
|
|
||||||
|
m_robotContainer.driveSubsystem.driveSystem.setBrakeMode(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -117,7 +122,7 @@ public class Robot extends LoggedRobot {
|
||||||
/** This function is called once each time the robot enters Disabled mode. */
|
/** This function is called once each time the robot enters Disabled mode. */
|
||||||
@Override
|
@Override
|
||||||
public void disabledInit() {
|
public void disabledInit() {
|
||||||
|
m_robotContainer.driveSubsystem.driveSystem.setBrakeMode(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ public class DriveSubsystem extends TestableSubsystem {
|
||||||
private SendableChooser<Command> autoChooser;
|
private SendableChooser<Command> autoChooser;
|
||||||
|
|
||||||
private SwerveBuilder swerveBuilder = new SwerveBuilder();
|
private SwerveBuilder swerveBuilder = new SwerveBuilder();
|
||||||
private SwerveDriveSystem driveSystem;
|
public SwerveDriveSystem driveSystem;
|
||||||
|
|
||||||
private double driveP = 0.1;
|
private double driveP = 0.1;
|
||||||
private double driveI = 0.0;
|
private double driveI = 0.0;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue