Skip to content

Commit

Permalink
test2
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeyBrar committed Dec 15, 2024
1 parent 07f3b0e commit ae0d393
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main/cpp/Robot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ void Robot::AutonomousInit() {
void Robot::AutonomousPeriodic() {


_swerve.Drive(0.6, 0.0, 0.0);
_swerve.Drive(0.5, 0.0, 0.0);


if (m_autoSelected == kAutoNameCustom) {
Expand All @@ -72,7 +72,7 @@ void Robot::TeleopInit() {
}

void Robot::TeleopPeriodic() {
// PrintSwerveInfo();
PrintSwerveInfo();

controllerInterface.UpdateRobotControlData(_robot_control_data);
_swerve.Drive(_robot_control_data.swerveInput.xTranslation, _robot_control_data.swerveInput.yTranslation, _robot_control_data.swerveInput.rotation);
Expand Down
2 changes: 1 addition & 1 deletion src/main/include/SwerveConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ const double DRIVE_FF = 0.0;

// --------------------------Gyro-----------------------------
const bool GYRO_INVERTED = true;
const frc::Rotation2d GYRO_ZERO_HEADING{units::degree_t{0.0f}};
const frc::Rotation2d GYRO_ZERO_HEADING{units::degree_t{90.0f}};

// --------------------------Swerve---------------------------
const double MAX_DRIVE_SPEED_FPS = 5.0;
Expand Down

0 comments on commit ae0d393

Please sign in to comment.