From cba61709bc4d95842264088ed8d396542d80f909 Mon Sep 17 00:00:00 2001 From: Jason Daming Date: Tue, 10 Dec 2024 16:20:40 -0600 Subject: [PATCH] new version of maplesim (#50) * new version * changed allowed logic to allow less --- 2025.json | 8 ++++++++ 2025/maple-sim-0.2.4.json | 30 ++++++++++++++++++++++++++++++ test_utils.bzl | 4 ++-- 3 files changed, 40 insertions(+), 2 deletions(-) create mode 100644 2025/maple-sim-0.2.4.json diff --git a/2025.json b/2025.json index 899537f..d53dc7b 100644 --- a/2025.json +++ b/2025.json @@ -183,6 +183,14 @@ "description": "FRC Java Robot Simulation using a physics engine", "website": "https://github.com/Shenzhen-Robotics-Alliance/maple-sim" }, + { + "path": "2025/maple-sim-0.2.4.json", + "name": "maplesim", + "version": "0.2.4", + "uuid": "c39481e8-4a63-4a4c-9df6-48d91e4da37b", + "description": "FRC Java Robot Simulation using a physics engine", + "website": "https://github.com/Shenzhen-Robotics-Alliance/maple-sim" + }, { "path": "2025/yagsl.json", "name": "Yet Another Generic Swerve Library (YAGSL)", diff --git a/2025/maple-sim-0.2.4.json b/2025/maple-sim-0.2.4.json new file mode 100644 index 0000000..11a487c --- /dev/null +++ b/2025/maple-sim-0.2.4.json @@ -0,0 +1,30 @@ +{ + "fileName": "maple-sim.json", + "name": "maplesim", + "version": "0.2.4", + "frcYear": "2025", + "uuid": "c39481e8-4a63-4a4c-9df6-48d91e4da37b", + "mavenUrls": [ + "https://shenzhen-robotics-alliance.github.io/maple-sim/vendordep/repos/releases", + "https://repo1.maven.org/maven2" + ], + "jsonUrl": "https://shenzhen-robotics-alliance.github.io/maple-sim/vendordep/maple-sim.json", + "javaDependencies": [ + { + "groupId": "org.ironmaple", + "artifactId": "maplesim-java", + "version": "0.2.4" + }, + { + "groupId": "org.dyn4j", + "artifactId": "dyn4j", + "version": "5.0.2" + } + ], + "jniDependencies": [ + + ], + "cppDependencies": [ + + ] +} diff --git a/test_utils.bzl b/test_utils.bzl index a75afbe..78abd25 100644 --- a/test_utils.bzl +++ b/test_utils.bzl @@ -40,10 +40,10 @@ class VendordepCheck(unittest.TestCase): print(f"Warnings: {{got_warn}}") if errors_allowed is not None: - self.assertEqual(errors_allowed, got_error) + self.assertLessEqual(got_error, errors_allowed) if warnings_allowed is not None: - self.assertEqual(warnings_allowed, got_warn) + self.assertLessEqual(got_warn, warnings_allowed) if __name__ == "__main__":