odo chooser stuff

This commit is contained in:
aarav18
2022-03-20 17:28:10 -06:00
parent 520d748afe
commit 7f1061ab9a
4 changed files with 8 additions and 16 deletions
@@ -121,10 +121,8 @@ public class Shoot extends CommandBase {
timerStarted = false;
startTime = 0;
// this.turret.gotoMidpoint();
this.odoX = 0;//-m_swerve.getOdometry().getY();
this.odoY = -8;//-m_swerve.getOdometry().getX();
this.odoX = 0.9398;//-this.swerve.getOdometry().getY(); // 3.2766
this.odoY = -3.2766;//-this.swerve.getOdometry().getX(); // 0.9398
this.distance = Math.hypot(odoX, odoY);