diff --git a/FalconLibraryCPP/src/mathematics/control/RamseteTracker.h b/FalconLibraryCPP/src/mathematics/control/RamseteTracker.h index ee42938..53cbc7e 100644 --- a/FalconLibraryCPP/src/mathematics/control/RamseteTracker.h +++ b/FalconLibraryCPP/src/mathematics/control/RamseteTracker.h @@ -10,8 +10,8 @@ class RamseteTracker : public TrajectoryTracker { TrajectoryTrackerVelocityOutput CalculateState(const TimedIterator& iterator, const Pose2d& robot_pose) const override { - const auto reference_state = iterator.CurrentState().state; - const auto error = reference_state.State().Pose().InFrameOfReferenceOf(robot_pose); + const TimedEntry reference_state = iterator.CurrentState().state; + const Pose2d error = reference_state.State().Pose().InFrameOfReferenceOf(robot_pose); const auto vd = reference_state.Velocity(); const auto wd = vd * reference_state.State().Curvature();