diff --git a/src/main/cpp/MoveToPose.cpp b/src/main/cpp/MoveToPose.cpp index 0c1240b..6437855 100644 --- a/src/main/cpp/MoveToPose.cpp +++ b/src/main/cpp/MoveToPose.cpp @@ -53,9 +53,9 @@ units::degrees_per_second_t MoveToPose::angularRotation(frc::Rotation2d current, val = -val; } - if (std::abs(m_turn) <= 2.0f) + if (std::fabs(m_turn) <= 2.0f) { - val = 0.0f; + //val = 0.0f; m_MoveAngleToState = 3; }