From fd2e049a562169d4f2d0a199d11cb1242b706b3c Mon Sep 17 00:00:00 2001 From: James Anderson Date: Thu, 8 Feb 2024 00:21:36 -0800 Subject: [PATCH 1/2] Update __init__.py Added SimpleMotorFeedforwardRadians --- subprojects/robotpy-wpimath/wpimath/controller/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/subprojects/robotpy-wpimath/wpimath/controller/__init__.py b/subprojects/robotpy-wpimath/wpimath/controller/__init__.py index adb7462f..19b858bf 100644 --- a/subprojects/robotpy-wpimath/wpimath/controller/__init__.py +++ b/subprojects/robotpy-wpimath/wpimath/controller/__init__.py @@ -27,6 +27,7 @@ ProfiledPIDControllerRadians, RamseteController, SimpleMotorFeedforwardMeters, + SimpleMotorFeedforwardRadians ) __all__ = [ @@ -57,4 +58,5 @@ "ProfiledPIDControllerRadians", "RamseteController", "SimpleMotorFeedforwardMeters", + "SimpleMotorFeedforwardRadians" ] From 585b00e2c54408c79f584f35574f6b652b432185 Mon Sep 17 00:00:00 2001 From: James Anderson Date: Thu, 8 Feb 2024 14:28:41 -0800 Subject: [PATCH 2/2] Update __init__.py Checking if missing comma is the reason psf/black check failed. --- subprojects/robotpy-wpimath/wpimath/controller/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subprojects/robotpy-wpimath/wpimath/controller/__init__.py b/subprojects/robotpy-wpimath/wpimath/controller/__init__.py index 19b858bf..5ba1f121 100644 --- a/subprojects/robotpy-wpimath/wpimath/controller/__init__.py +++ b/subprojects/robotpy-wpimath/wpimath/controller/__init__.py @@ -27,7 +27,7 @@ ProfiledPIDControllerRadians, RamseteController, SimpleMotorFeedforwardMeters, - SimpleMotorFeedforwardRadians + SimpleMotorFeedforwardRadians, ) __all__ = [ @@ -58,5 +58,5 @@ "ProfiledPIDControllerRadians", "RamseteController", "SimpleMotorFeedforwardMeters", - "SimpleMotorFeedforwardRadians" + "SimpleMotorFeedforwardRadians", ]