From 365240514ddfe142be7b8e74d5586a3ffb6d2911 Mon Sep 17 00:00:00 2001 From: David Vo Date: Thu, 2 Feb 2023 20:13:44 +1100 Subject: [PATCH 1/2] Update to REVLib 2023.1.3 --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d1c1e5a..f138f9b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,14 +26,14 @@ base_package = "rev" artifact_id = "REVLib-driver" group_id = "com.revrobotics.frc" repo_url = "https://maven.revrobotics.com" -version = "2023.1.2" +version = "2023.1.3" libs = ["REVLibDriver"] [tool.robotpy-build.static_libs."revlib".maven_lib_download] artifact_id = "REVLib-cpp" group_id = "com.revrobotics.frc" repo_url = "https://maven.revrobotics.com" -version = "2023.1.2" +version = "2023.1.3" libs = ["REVLib"] [tool.robotpy-build.wrappers."rev"] From 21d2e4c2eef9fa312f6aed6f4f0ff841c75b4e7c Mon Sep 17 00:00:00 2001 From: Dustin Spicuzza Date: Fri, 3 Feb 2023 00:01:11 -0500 Subject: [PATCH 2/2] Stupid black --- examples/color_match/robot.py | 1 - examples/read_rgb_values/robot.py | 1 - tests/run_tests.py | 1 - 3 files changed, 3 deletions(-) diff --git a/examples/color_match/robot.py b/examples/color_match/robot.py index 937ba1b..338c5b0 100644 --- a/examples/color_match/robot.py +++ b/examples/color_match/robot.py @@ -38,7 +38,6 @@ def robotInit(self): self.colorMatcher.addColorMatch(self.yellowTarget) def robotPeriodic(self): - # The method GetColor() returns a normalized color value from the sensor and can be # useful if outputting the color to an RGB LED or similar. To # read the raw color, use GetRawColor(). diff --git a/examples/read_rgb_values/robot.py b/examples/read_rgb_values/robot.py index a3a6fae..534be3f 100755 --- a/examples/read_rgb_values/robot.py +++ b/examples/read_rgb_values/robot.py @@ -19,7 +19,6 @@ def robotInit(self): self.colorSensor = ColorSensorV3(wpilib.I2C.Port.kOnboard) def robotPeriodic(self): - # The method getColor() returns a normalized color value from the sensor and can be # useful if outputting the color to an RGB LED or similar. To # read the raw color, use getRawColor(). diff --git a/tests/run_tests.py b/tests/run_tests.py index ad62d89..2ffc659 100755 --- a/tests/run_tests.py +++ b/tests/run_tests.py @@ -6,7 +6,6 @@ import subprocess if __name__ == "__main__": - root = abspath(dirname(__file__)) os.chdir(root)