Skip to content

Commit

Permalink
[examples] Rename SysId example to SysIdRoutine (wpilibsuite#7213)
Browse files Browse the repository at this point in the history
CMake target output conflicts with sysid (the application) on windows
  • Loading branch information
rzblue authored Oct 16, 2024
1 parent 2b1c5aa commit 59dc9ad
Show file tree
Hide file tree
Showing 17 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion wpilibcExamples/src/main/cpp/examples/examples.json
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@
"Command-based",
"DataLog"
],
"foldername": "SysId",
"foldername": "SysIdRoutine",
"gradlebase": "cpp",
"commandversion": 2
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@
"Command-based",
"DataLog"
],
"foldername": "sysid",
"foldername": "sysidroutine",
"gradlebase": "java",
"commandversion": 2,
"mainclass": "Main"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.

package edu.wpi.first.wpilibj.examples.sysid;
package edu.wpi.first.wpilibj.examples.sysidroutine;

import edu.wpi.first.math.util.Units;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.

package edu.wpi.first.wpilibj.examples.sysid;
package edu.wpi.first.wpilibj.examples.sysidroutine;

import edu.wpi.first.wpilibj.RobotBase;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.

package edu.wpi.first.wpilibj.examples.sysid;
package edu.wpi.first.wpilibj.examples.sysidroutine;

import edu.wpi.first.wpilibj.TimedRobot;
import edu.wpi.first.wpilibj2.command.Command;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.

package edu.wpi.first.wpilibj.examples.sysid;
package edu.wpi.first.wpilibj.examples.sysidroutine;

import edu.wpi.first.wpilibj.examples.sysid.Constants.OIConstants;
import edu.wpi.first.wpilibj.examples.sysid.subsystems.Drive;
import edu.wpi.first.wpilibj.examples.sysid.subsystems.Shooter;
import edu.wpi.first.wpilibj.examples.sysidroutine.Constants.OIConstants;
import edu.wpi.first.wpilibj.examples.sysidroutine.subsystems.Drive;
import edu.wpi.first.wpilibj.examples.sysidroutine.subsystems.Shooter;
import edu.wpi.first.wpilibj2.command.Command;
import edu.wpi.first.wpilibj2.command.button.CommandXboxController;
import edu.wpi.first.wpilibj2.command.button.Trigger;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.

package edu.wpi.first.wpilibj.examples.sysid.subsystems;
package edu.wpi.first.wpilibj.examples.sysidroutine.subsystems;

import static edu.wpi.first.units.Units.Meters;
import static edu.wpi.first.units.Units.MetersPerSecond;
Expand All @@ -14,7 +14,7 @@
import edu.wpi.first.wpilibj.Encoder;
import edu.wpi.first.wpilibj.RobotController;
import edu.wpi.first.wpilibj.drive.DifferentialDrive;
import edu.wpi.first.wpilibj.examples.sysid.Constants.DriveConstants;
import edu.wpi.first.wpilibj.examples.sysidroutine.Constants.DriveConstants;
import edu.wpi.first.wpilibj.motorcontrol.PWMSparkMax;
import edu.wpi.first.wpilibj2.command.Command;
import edu.wpi.first.wpilibj2.command.SubsystemBase;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.

package edu.wpi.first.wpilibj.examples.sysid.subsystems;
package edu.wpi.first.wpilibj.examples.sysidroutine.subsystems;

import static edu.wpi.first.units.Units.Radians;
import static edu.wpi.first.units.Units.RadiansPerSecond;
Expand All @@ -17,7 +17,7 @@
import edu.wpi.first.units.measure.MutVoltage;
import edu.wpi.first.wpilibj.Encoder;
import edu.wpi.first.wpilibj.RobotController;
import edu.wpi.first.wpilibj.examples.sysid.Constants.ShooterConstants;
import edu.wpi.first.wpilibj.examples.sysidroutine.Constants.ShooterConstants;
import edu.wpi.first.wpilibj.motorcontrol.PWMSparkMax;
import edu.wpi.first.wpilibj2.command.Command;
import edu.wpi.first.wpilibj2.command.SubsystemBase;
Expand Down

0 comments on commit 59dc9ad

Please sign in to comment.