Change SystemCore to Systemcore (#8359)

This commit is contained in:
Ryan Blue
2025-11-10 21:18:58 -05:00
committed by GitHub
parent e5f8aa2cf4
commit 418b3814bc
15 changed files with 30 additions and 30 deletions

View File

@@ -172,7 +172,7 @@ public abstract class RobotBase implements AutoCloseable {
*/
public static boolean isReal() {
RuntimeType runtimeType = getRuntimeType();
return runtimeType == RuntimeType.kSystemCore;
return runtimeType == RuntimeType.kSystemcore;
}
/**

View File

@@ -9,22 +9,22 @@ import org.wpilib.math.geometry.Quaternion;
import org.wpilib.math.geometry.Rotation2d;
import org.wpilib.math.geometry.Rotation3d;
/** SystemCore onboard IMU. */
/** Systemcore onboard IMU. */
public class OnboardIMU {
/** A mount orientation of SystemCore. */
/** A mount orientation of Systemcore. */
public enum MountOrientation {
/** Flat (mounted parallel to the ground). */
kFlat,
/** Landscape (vertically mounted with long edge of SystemCore parallel to the ground). */
/** Landscape (vertically mounted with long edge of Systemcore parallel to the ground). */
kLandscape,
/** Portrait (vertically mounted with the short edge of SystemCore parallel to the ground). */
/** Portrait (vertically mounted with the short edge of Systemcore parallel to the ground). */
kPortrait
}
/**
* Constructs a handle to the SystemCore onboard IMU.
* Constructs a handle to the Systemcore onboard IMU.
*
* @param mountOrientation the mount orientation of SystemCore to determine yaw.
* @param mountOrientation the mount orientation of Systemcore to determine yaw.
*/
public OnboardIMU(MountOrientation mountOrientation) {
m_mountOrientation = mountOrientation;

View File

@@ -14,8 +14,8 @@ public enum RuntimeType {
kRoboRIO2(HALUtil.RUNTIME_ROBORIO2),
/** Simulation runtime. */
kSimulation(HALUtil.RUNTIME_SIMULATION),
/** SystemCore. */
kSystemCore(HALUtil.RUNTIME_SYSTEMCORE);
/** Systemcore. */
kSystemcore(HALUtil.RUNTIME_SYSTEMCORE);
/** RuntimeType value. */
public final int value;
@@ -34,7 +34,7 @@ public enum RuntimeType {
return switch (type) {
case HALUtil.RUNTIME_ROBORIO -> RuntimeType.kRoboRIO;
case HALUtil.RUNTIME_ROBORIO2 -> RuntimeType.kRoboRIO2;
case HALUtil.RUNTIME_SYSTEMCORE -> RuntimeType.kSystemCore;
case HALUtil.RUNTIME_SYSTEMCORE -> RuntimeType.kSystemcore;
default -> RuntimeType.kSimulation;
};
}