mirror of
https://github.com/Team4388/2022NoWayHome.git
synced 2026-06-09 08:48:07 -06:00
convert shooter tables to percent output
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
Distance (in) ,Hood Ext. (u) ,Drum Velocity (u/ds)
|
||||
0 ,16 ,0
|
||||
999 ,28.8 ,1200
|
||||
96 ,-25.00 ,0.425
|
||||
144 ,-47.57 ,0.475
|
||||
192 ,-55.55 ,0.500
|
||||
240 ,-96.00 ,0.525
|
||||
|
@@ -78,7 +78,8 @@ public class TrackTarget extends CommandBase {
|
||||
}
|
||||
vel = m_boomBoom.getVelocity(distance);
|
||||
hood = m_boomBoom.getHood(distance);
|
||||
m_boomBoom.runDrumShooterVelocityPID(vel);
|
||||
m_boomBoom.runDrumShooter(vel);
|
||||
// m_boomBoom.runDrumShooterVelocityPID(vel);
|
||||
m_hood.runAngleAdjustPID(hood);
|
||||
//m_turret.runshooterRotatePID(m_targetAngle);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user