From 0384490c7f7bb623b1db549abb0e2761510f5cca Mon Sep 17 00:00:00 2001 From: Alberto Jahuey Moncada Date: Wed, 24 Jan 2024 21:25:16 -0600 Subject: [PATCH] Initialize m_enabled to true in PPHolonomicDriveController (#575) --- .../pathplanner/lib/controllers/PPHolonomicDriveController.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pathplannerlib/src/main/native/include/pathplanner/lib/controllers/PPHolonomicDriveController.h b/pathplannerlib/src/main/native/include/pathplanner/lib/controllers/PPHolonomicDriveController.h index d2d3a280..a75981b2 100644 --- a/pathplannerlib/src/main/native/include/pathplanner/lib/controllers/PPHolonomicDriveController.h +++ b/pathplannerlib/src/main/native/include/pathplanner/lib/controllers/PPHolonomicDriveController.h @@ -105,7 +105,7 @@ class PPHolonomicDriveController: public PathFollowingController { rpsPerMps_t m_mpsToRps; frc::Translation2d m_translationError; - bool m_enabled; + bool m_enabled = true; static std::function()> rotationTargetOverride; };