diff --git a/wpimath/src/main/java/edu/wpi/first/math/system/plant/LinearSystemId.java b/wpimath/src/main/java/edu/wpi/first/math/system/plant/LinearSystemId.java index ac48939ef0..ce1129b059 100644 --- a/wpimath/src/main/java/edu/wpi/first/math/system/plant/LinearSystemId.java +++ b/wpimath/src/main/java/edu/wpi/first/math/system/plant/LinearSystemId.java @@ -20,7 +20,7 @@ public final class LinearSystemId { /** * Create a state-space model of an elevator system. The states of the system are [position, - * velocity]ᵀ, inputs are [voltage], and outputs are [position]. + * velocity]ᵀ, inputs are [voltage], and outputs are [position, velocity]ᵀ. * * @param motor The motor (or gearbox) attached to the carriage. * @param massKg The mass of the elevator carriage, in kilograms. @@ -88,8 +88,8 @@ public final class LinearSystemId { /** * Create a state-space model of a DC motor system. The states of the system are [angular - * position, angular velocity], inputs are [voltage], and outputs are [angular position, angular - * velocity]. + * position, angular velocity]ᵀ, inputs are [voltage], and outputs are [angular position, angular + * velocity]ᵀ. * * @param motor The motor (or gearbox) attached to system. * @param JKgMetersSquared The moment of inertia J of the DC motor. @@ -125,7 +125,7 @@ public final class LinearSystemId { /** * Create a state-space model of a DC motor system from its kV (volts/(unit/sec)) and kA * (volts/(unit/sec²)). These constants can be found using SysId. the states of the system are - * [position, velocity], inputs are [voltage], and outputs are [position]. + * [position, velocity]ᵀ, inputs are [voltage], and outputs are [position]. * *
The distance unit you choose MUST be an SI unit (i.e. meters or radians). You can use the * {@link edu.wpi.first.math.util.Units} class for converting between unit types. @@ -211,7 +211,7 @@ public final class LinearSystemId { /** * Create a state-space model of a single jointed arm system. The states of the system are [angle, - * angular velocity], inputs are [voltage], and outputs are [angle]. + * angular velocity]ᵀ, inputs are [voltage], and outputs are [angle, angular velocity]ᵀ. * * @param motor The motor (or gearbox) attached to the arm. * @param JKgSquaredMeters The moment of inertia J of the arm. @@ -279,7 +279,7 @@ public final class LinearSystemId { /** * Create a state-space model for a 1 DOF position system from its kV (volts/(unit/sec)) and kA * (volts/(unit/sec²). These constants cam be found using SysId. The states of the system are - * [position, velocity]ᵀ, inputs are [voltage], and outputs are [position]. + * [position, velocity]ᵀ, inputs are [voltage], and outputs are [position, velocity]ᵀ. * *
The distance unit you choose MUST be an SI unit (i.e. meters or radians). You can use the
* {@link edu.wpi.first.math.util.Units} class for converting between unit types.
diff --git a/wpimath/src/main/native/include/frc/system/plant/LinearSystemId.h b/wpimath/src/main/native/include/frc/system/plant/LinearSystemId.h
index 0af472b934..f26c8a0376 100644
--- a/wpimath/src/main/native/include/frc/system/plant/LinearSystemId.h
+++ b/wpimath/src/main/native/include/frc/system/plant/LinearSystemId.h
@@ -37,7 +37,8 @@ class WPILIB_DLLEXPORT LinearSystemId {
/**
* Create a state-space model of the elevator system. The states of the system
- * are [position, velocity], inputs are [voltage], and outputs are [position].
+ * are [position, velocity]ᵀ, inputs are [voltage], and outputs are [position,
+ * velocity]ᵀ.
*
* @param motor The motor (or gearbox) attached to the carriage.
* @param mass The mass of the elevator carriage, in kilograms.
@@ -74,8 +75,8 @@ class WPILIB_DLLEXPORT LinearSystemId {
/**
* Create a state-space model of a single-jointed arm system.The states of the
- * system are [angle, angular velocity], inputs are [voltage], and outputs are
- * [angle].
+ * system are [angle, angular velocity]ᵀ, inputs are [voltage], and outputs
+ * are [angle, angular velocity]ᵀ.
*
* @param motor The motor (or gearbox) attached to the arm.
* @param J The moment of inertia J of the arm.
@@ -147,8 +148,8 @@ class WPILIB_DLLEXPORT LinearSystemId {
/**
* Create a state-space model for a 1 DOF position system from its kV
* (volts/(unit/sec)) and kA (volts/(unit/sec²)). These constants can be
- * found using SysId. the states of the system are [position, velocity],
- * inputs are [voltage], and outputs are [position].
+ * found using SysId. the states of the system are [position, velocity]ᵀ,
+ * inputs are [voltage], and outputs are [position, velocity]ᵀ.
*
* You MUST use an SI unit (i.e. meters or radians) for the Distance template
* argument. You may still use non-SI units (such as feet or inches) for the
@@ -169,7 +170,7 @@ class WPILIB_DLLEXPORT LinearSystemId {
template