mirror of
https://github.com/Team4388/RiseOfRidgebotics2020.git
synced 2026-06-09 00:38:00 -06:00
Fix Shooter Velocity Control
& collect more data points
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
Distance (in),Hood Ext. (u),Drum Velocity (u/ds),Center Displacment (deg)
|
||||
1,10,7000,2
|
||||
70,20,8000,2, double check
|
||||
1,10,8000,2
|
||||
70,21,8000,2, check
|
||||
100,24,9000,2
|
||||
145,28,10000,1,Add a 200
|
||||
145,28,10000,1
|
||||
230,31,12000,0,Add a 270
|
||||
246,32,15000,0
|
||||
320,32,17000,0,change 17000 and mark them lower
|
||||
331,33,17000,0
|
||||
397,33,16000,0
|
||||
|
||||
|
@@ -34,10 +34,7 @@ public class ShooterVelocityControlPID extends CommandBase {
|
||||
// Called every time the scheduler runs while the command is scheduled.
|
||||
@Override
|
||||
public void execute() {
|
||||
m_shooter.runDrumShooterVelocityPID(/*m_shooter.addFireVel()*/13000);
|
||||
//m_shooterHood.runAngleAdjustPID(m_shooterHood.addFireAngle());
|
||||
//SmartDashboard.putNumber("Fire Velocity", m_shooter.addFireVel());
|
||||
//SmartDashboard.putNumber("Fire Angle", m_shooter.addFireAngle());
|
||||
m_shooter.runDrumShooterVelocityPID(m_shooter.addFireVel());
|
||||
}
|
||||
|
||||
// Called once the command ends or is interrupted.
|
||||
|
||||
Reference in New Issue
Block a user