-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/Team3256/Kirby_Bot_2024
- Loading branch information
Showing
4 changed files
with
179 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
src/main/java/frc/robot/subsystems/swerve/AzimuthConstants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
// Copyright (c) 2024 FRC 3256 | ||
// https://github.com/Team3256 | ||
// | ||
// Use of this source code is governed by a | ||
// license that can be found in the LICENSE file at | ||
// the root directory of this project. | ||
|
||
package frc.robot.subsystems.swerve; | ||
|
||
import edu.wpi.first.math.geometry.Rotation2d; | ||
|
||
public final class AzimuthConstants { | ||
/* Angles (raw) */ | ||
|
||
// TODO: TUNE ALL OF THESE ON PRAC DAY | ||
// front of the robot is the intake | ||
|
||
public static final Rotation2d aziAmpRed = Rotation2d.fromDegrees(90); | ||
|
||
public static final Rotation2d aziAmpBlue = Rotation2d.fromDegrees(-aziAmpRed.getDegrees()); | ||
|
||
public static final Rotation2d aziSubwooferFront = Rotation2d.fromDegrees(0); | ||
|
||
public static final Rotation2d aziSubwooferLeft = Rotation2d.fromDegrees(-30); | ||
|
||
public static final Rotation2d aziSubwooferRight = | ||
Rotation2d.fromDegrees(aziSubwooferLeft.getDegrees()); | ||
|
||
public static final Rotation2d aziSourceRed = Rotation2d.fromDegrees(60); | ||
|
||
public static final Rotation2d aziSourceBlue = Rotation2d.fromDegrees(-aziSourceRed.getDegrees()); | ||
|
||
public static final Rotation2d aziFeederRed = Rotation2d.fromDegrees(45); | ||
|
||
public static final Rotation2d aziFeederBlue = Rotation2d.fromDegrees(-aziFeederRed.getDegrees()); | ||
|
||
public static final Rotation2d aziCleanUp = Rotation2d.fromDegrees(180); | ||
|
||
/* Timeout */ | ||
public static final double aziCommandTimeOut = 1.5; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters