mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[commands] RamseteCommand: default-initialize m_prevSpeeds (#5188)
This commit is contained in:
@@ -45,7 +45,7 @@ public class RamseteCommand extends CommandBase {
|
||||
private final PIDController m_leftController;
|
||||
private final PIDController m_rightController;
|
||||
private final BiConsumer<Double, Double> m_output;
|
||||
private DifferentialDriveWheelSpeeds m_prevSpeeds;
|
||||
private DifferentialDriveWheelSpeeds m_prevSpeeds = new DifferentialDriveWheelSpeeds();
|
||||
private double m_prevTime;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user