mirror of
https://github.com/Team4388/2022NoWayHome.git
synced 2026-06-09 00:38:05 -06:00
ank;dfh
This commit is contained in:
@@ -90,9 +90,9 @@ public class TrackTarget extends CommandBase {
|
|||||||
|
|
||||||
double regressedDistance = getDistance(average.y);
|
double regressedDistance = getDistance(average.y);
|
||||||
|
|
||||||
// ! add 30 to the distance to get in target. May need to be adjusted
|
// ! no longer a +30 lol -aarav
|
||||||
velocity = m_boomBoom.getVelocity(regressedDistance + 30);
|
velocity = m_boomBoom.getVelocity(regressedDistance);
|
||||||
hoodPosition = m_boomBoom.getHood(regressedDistance + 30);
|
hoodPosition = m_boomBoom.getHood(regressedDistance);
|
||||||
|
|
||||||
m_boomBoom.runDrumShooterVelocityPID(velocity);
|
m_boomBoom.runDrumShooterVelocityPID(velocity);
|
||||||
m_hood.runAngleAdjustPID(hoodPosition);
|
m_hood.runAngleAdjustPID(hoodPosition);
|
||||||
|
|||||||
Reference in New Issue
Block a user