Drive view use feedforward factory (fixes #258)
This commit is contained in:
@ -97,7 +97,7 @@ public final class TuningOpModes {
|
||||
perpEncs,
|
||||
md.imu,
|
||||
md.voltageSensor,
|
||||
new MotorFeedforward(MecanumDrive.PARAMS.kS,
|
||||
() -> new MotorFeedforward(MecanumDrive.PARAMS.kS,
|
||||
MecanumDrive.PARAMS.kV / MecanumDrive.PARAMS.inPerTick,
|
||||
MecanumDrive.PARAMS.kA / MecanumDrive.PARAMS.inPerTick)
|
||||
);
|
||||
@ -140,7 +140,7 @@ public final class TuningOpModes {
|
||||
perpEncs,
|
||||
td.imu,
|
||||
td.voltageSensor,
|
||||
new MotorFeedforward(TankDrive.PARAMS.kS,
|
||||
() -> new MotorFeedforward(TankDrive.PARAMS.kS,
|
||||
TankDrive.PARAMS.kV / TankDrive.PARAMS.inPerTick,
|
||||
TankDrive.PARAMS.kA / TankDrive.PARAMS.inPerTick)
|
||||
);
|
||||
|
Reference in New Issue
Block a user