From 899094aa5f6aa9710a7211e47b2309521a03272f Mon Sep 17 00:00:00 2001 From: sciencewhiz Date: Tue, 17 Dec 2024 19:13:39 -0800 Subject: [PATCH 1/2] Fix example json for SimpleDifferentialDriveSimulation Uses LTVUnicycleController now instead of RAMSETE --- wpilibcExamples/src/main/cpp/examples/examples.json | 4 ++-- .../main/java/edu/wpi/first/wpilibj/examples/examples.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wpilibcExamples/src/main/cpp/examples/examples.json b/wpilibcExamples/src/main/cpp/examples/examples.json index ea40670bb0e..8723e307cae 100644 --- a/wpilibcExamples/src/main/cpp/examples/examples.json +++ b/wpilibcExamples/src/main/cpp/examples/examples.json @@ -759,11 +759,11 @@ }, { "name": "SimpleDifferentialDriveSimulation", - "description": "Simulate a differential drivetrain and follow trajectories with RamseteController (non-command-based).", + "description": "Simulate a differential drivetrain and follow trajectories with LTVUnicycleController (non-command-based).", "tags": [ "Differential Drive", "State-Space", - "Ramsete", + "LTVUnicycleController", "Path Following", "Trajectory", "Encoder", diff --git a/wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/examples.json b/wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/examples.json index 3ed52e1bef9..1abd22855bf 100644 --- a/wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/examples.json +++ b/wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/examples.json @@ -650,11 +650,11 @@ }, { "name": "SimpleDifferentialDriveSimulation", - "description": "Simulate a differential drivetrain and follow trajectories with RamseteController (non-command-based).", + "description": "Simulate a differential drivetrain and follow trajectories with LTVUnicycleController (non-command-based).", "tags": [ "Differential Drive", "State-Space", - "Ramsete", + "LTVUnicycleController", "Path Following", "Trajectory", "Encoder", From bbbd6b89da873316f962603e0db25ecffda6d91f Mon Sep 17 00:00:00 2001 From: sciencewhiz Date: Tue, 17 Dec 2024 19:37:01 -0800 Subject: [PATCH 2/2] Update example check --- shared/examplecheck.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shared/examplecheck.gradle b/shared/examplecheck.gradle index 9463ea1c8f7..644c095cf21 100644 --- a/shared/examplecheck.gradle +++ b/shared/examplecheck.gradle @@ -67,9 +67,9 @@ def tagList = [ "SmartDashboard", "Shuffleboard", "Sendable", "DataLog", /* --- Controls --- */ - "Exponential Profile", "PID", "State-Space", "Ramsete", "Path Following", "Trajectory", - "SysId", "Simulation", "Trapezoid Profile", "Profiled PID", "Odometry", "LQR", - "Pose Estimator", + "Exponential Profile", "PID", "State-Space", "LTVUnicycleController", "Path Following", + "Trajectory", "SysId", "Simulation", "Trapezoid Profile", "Profiled PID", "Odometry", + "LQR", "Pose Estimator", /* --- Hardware --- */ "Analog", "Ultrasonic", "Gyro", "Pneumatics", "I2C", "Duty Cycle", "PDP", "DMA", "Relay",