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

@@ -20,7 +20,7 @@ jobs:
matrix:
include:
- container: wpilib/systemcore-cross-ubuntu:2027-24.04
artifact-name: SystemCore
artifact-name: Systemcore
build-options: "-Ponlylinuxsystemcore"
- container: wpilib/raspbian-cross-ubuntu:2027-bookworm-24.04
artifact-name: Arm32

View File

@@ -24,7 +24,7 @@ jobs:
matrix:
include:
- container: wpilib/systemcore-cross-ubuntu:2027-24.04
artifact-name: SystemCore
artifact-name: Systemcore
build-options: "-Ponlylinuxsystemcore"
- container: wpilib/raspbian-cross-ubuntu:2027-bookworm-24.04
artifact-name: Arm32

View File

@@ -57,7 +57,7 @@ While the library should be fully formatted according to the styles, additional
Changes should be submitted as a Pull Request against the main branch of WPILib. For most changes, commits will be squashed upon merge. For particularly large changes, multiple commits are ok, but assume one commit unless asked otherwise. We may ask you to break a PR into multiple standalone PRs or commits for rebase within one PR to separate unrelated changes. No change will be merged unless it is up to date with the current main branch. We do this to make sure that the git history isn't too cluttered.
Particularly large and/or breaking changes should be targeted to the 2027 branch, which targets the [SystemCore Robot Controller](https://community.firstinspires.org/introducing-the-future-mobile-robot-controller). The intent is minimize changes for 2026, to allow development to focus on preparing for 2027.
Particularly large and/or breaking changes should be targeted to the 2027 branch, which targets the [Systemcore Robot Controller](https://community.firstinspires.org/introducing-the-future-mobile-robot-controller). The intent is minimize changes for 2026, to allow development to focus on preparing for 2027.
### Merge Process

View File

@@ -56,7 +56,7 @@ Using Gradle makes building WPILib very straightforward. It only has a few depen
- If the WPILib installer was used, this toolchain is already installed
- Raspberry Pi toolchain (optional)
- Run `./gradlew installArm32Toolchain` after cloning this repository
- SystemCore toolchain (required for SystemCore development)
- Systemcore toolchain (required for Systemcore development)
- Run `./gradlew installSystemCoreToolchain` after cloning this repository
- If the WPILib installer was used, this toolchain is already installed

View File

@@ -308,7 +308,7 @@ model {
}
}
installSystemCore(Task) {
installSystemcore(Task) {
$.binaries.each {
if (it in NativeExecutableBinarySpec && it.targetPlatform.name == nativeUtils.wpi.platforms.systemcore && it.component.name == 'developerRobotCpp') {
dependsOn it.tasks.install
@@ -316,7 +316,7 @@ model {
}
}
installSystemCoreStatic(Task) {
installSystemcoreStatic(Task) {
$.binaries.each {
if (it in NativeExecutableBinarySpec && it.targetPlatform.name == nativeUtils.wpi.platforms.systemcore && it.component.name == 'developerRobotCppStatic') {
dependsOn it.tasks.install

View File

@@ -43,7 +43,7 @@ public final class HALUtil extends JNIWrapper {
/** Simulation runtime. */
public static final int RUNTIME_SIMULATION = 2;
/** SystemCore. */
/** Systemcore. */
public static final int RUNTIME_SYSTEMCORE = 3;
/**

View File

@@ -37,7 +37,7 @@ static_assert(org_wpilib_hardware_hal_HALUtil_RUNTIME_ROBORIO2 ==
static_assert(org_wpilib_hardware_hal_HALUtil_RUNTIME_SIMULATION ==
HAL_Runtime_Simulation);
static_assert(org_wpilib_hardware_hal_HALUtil_RUNTIME_SYSTEMCORE ==
HAL_Runtime_SystemCore);
HAL_Runtime_Systemcore);
static JavaVM* jvm = nullptr;
static JException illegalArgExCls;

View File

@@ -33,8 +33,8 @@ HAL_ENUM(HAL_RuntimeType) {
HAL_Runtime_RoboRIO2,
/** Simulation runtime */
HAL_Runtime_Simulation,
/** SystemCore */
HAL_Runtime_SystemCore,
/** Systemcore */
HAL_Runtime_Systemcore,
};
#ifdef __cplusplus

View File

@@ -164,7 +164,7 @@ const char* HAL_GetErrorMessage(int32_t code) {
}
}
static HAL_RuntimeType runtimeType = HAL_Runtime_SystemCore;
static HAL_RuntimeType runtimeType = HAL_Runtime_Systemcore;
HAL_RuntimeType HAL_GetRuntimeType(void) {
return runtimeType;

View File

@@ -33,8 +33,8 @@ static_assert(wpi::RuntimeType::kRoboRIO2 ==
static_cast<wpi::RuntimeType>(HAL_Runtime_RoboRIO2));
static_assert(wpi::RuntimeType::kSimulation ==
static_cast<wpi::RuntimeType>(HAL_Runtime_Simulation));
static_assert(wpi::RuntimeType::kSystemCore ==
static_cast<wpi::RuntimeType>(HAL_Runtime_SystemCore));
static_assert(wpi::RuntimeType::kSystemcore ==
static_cast<wpi::RuntimeType>(HAL_Runtime_Systemcore));
using SetCameraServerSharedFP = void (*)(wpi::CameraServerShared*);

View File

@@ -13,27 +13,27 @@
namespace wpi {
/**
* SystemCore onboard IMU
* Systemcore onboard IMU
*/
class OnboardIMU {
public:
/**
* A mount orientation of SystemCore
* A mount orientation of Systemcore
*/
enum MountOrientation {
/** Flat (mounted parallel to the ground). */
kFlat,
/** Landscape (vertically mounted with long edge of SystemCore parallel to
/** Landscape (vertically mounted with long edge of Systemcore parallel to
the ground). */
kLandscape,
/** Portrait (vertically mounted with the short edge of SystemCore parallel
/** Portrait (vertically mounted with the short edge of Systemcore parallel
to the ground). */
kPortrait
};
/**
* Constructs a handle to the SystemCore onboard IMU.
* @param mountOrientation the mount orientation of SystemCore to determine
* Constructs a handle to the Systemcore onboard IMU.
* @param mountOrientation the mount orientation of Systemcore to determine
* yaw.
*/
explicit OnboardIMU(MountOrientation mountOrientation);

View File

@@ -15,6 +15,6 @@ enum RuntimeType {
kRoboRIO2,
/// Simulation runtime.
kSimulation,
kSystemCore
kSystemcore
};
} // namespace wpi

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;
};
}