remove auto when type is unclear

This commit is contained in:
Prateek Machiraju 2019-06-25 22:59:32 -04:00
parent 61954c6613
commit b57fb0ecd2

View File

@ -10,8 +10,8 @@ class RamseteTracker : public TrajectoryTracker {
TrajectoryTrackerVelocityOutput CalculateState(const TimedIterator<Pose2dWithCurvature>& iterator, TrajectoryTrackerVelocityOutput CalculateState(const TimedIterator<Pose2dWithCurvature>& iterator,
const Pose2d& robot_pose) const override { const Pose2d& robot_pose) const override {
const auto reference_state = iterator.CurrentState().state; const TimedEntry<Pose2dWithCurvature> reference_state = iterator.CurrentState().state;
const auto error = reference_state.State().Pose().InFrameOfReferenceOf(robot_pose); const Pose2d error = reference_state.State().Pose().InFrameOfReferenceOf(robot_pose);
const auto vd = reference_state.Velocity(); const auto vd = reference_state.Velocity();
const auto wd = vd * reference_state.State().Curvature(); const auto wd = vd * reference_state.State().Curvature();