mirror of
https://github.com/Team4388/2026KPopRobotHunters.git
synced 2026-06-09 00:38:03 -06:00
Changing constants
This commit is contained in:
@@ -91,8 +91,9 @@ public class Shooter extends SubsystemBase {
|
||||
double AngSpeed = Math.abs(speed.omegaRadiansPerSecond * (180/Math.PI));
|
||||
|
||||
Pose2d robotPose2d = m_SwerveDrive.getPose2d();
|
||||
|
||||
double distanceToHub = robotPose2d.getTranslation().minus(FieldPositions.HUB_POSITION).getNorm();
|
||||
//
|
||||
double distanceToHub = (robotPose2d.getTranslation().minus(FieldPositions.HUB_POSITION).getNorm());
|
||||
//Center of hub to cameras in inches
|
||||
Logger.recordOutput("Hub Dist", distanceToHub);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user