mirror of
https://github.com/Team4388/RiseOfRidgebotics2020.git
synced 2026-06-09 08:48:01 -06:00
Rotate Hood 0 degrees back 90 degrees
This commit is contained in:
@@ -97,6 +97,6 @@ public class ShooterHood extends SubsystemBase {
|
||||
}
|
||||
|
||||
public double getAnglePositionDegrees(){
|
||||
return (m_angleEncoder.getPosition() - ShooterConstants.HOOD_MOTOR_POS_AT_ZERO_ROT) * 360/ShooterConstants.HOOD_MOTOR_ROTS_PER_ROT;
|
||||
return ((m_angleEncoder.getPosition() - ShooterConstants.HOOD_MOTOR_POS_AT_ZERO_ROT) * 360/ShooterConstants.HOOD_MOTOR_ROTS_PER_ROT) - 90;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user