Skip to content

Commit

Permalink
[commands] RamseteCommand: default-initialize m_prevSpeeds (#5188)
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterJohnson committed Mar 14, 2023
1 parent c886273 commit 00abb8c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/**
Expand Down

0 comments on commit 00abb8c

Please sign in to comment.