Rename FRC to WPILib (#8637)

This commit is contained in:
Thad House
2026-03-13 23:05:55 -07:00
committed by GitHub
parent 6830c65a15
commit b2b111dc11
73 changed files with 134 additions and 141 deletions

View File

@@ -1,7 +1,7 @@
RobotPy WPILib
==============
Python version of WPILib - the standard library used for programming FRC
Python version of WPILib - the standard library used for programming FIRST
robots.
Installation

View File

@@ -15,7 +15,7 @@ requires = [
[project]
name = "wpilib"
version = "0.0.0"
description = "Binary wrapper for FRC WPILib"
description = "Binary wrapper for WPILib"
authors = [
{name = "RobotPy Development Team", email = "robotpy@googlegroups.com"},
]

View File

@@ -1,7 +1,7 @@
#include "semiwrap_init.wpilib.simulation._simulation.hpp"
#ifndef __FRC_SYSTEMCORE__
#ifndef __FIRST_SYSTEMCORE__
namespace wpi::impl {
void ResetSmartDashboardInstance();

View File

@@ -30,7 +30,7 @@ static fs::path getMainPath() {
if (locals.contains("main_path")) {
return fs::path(py::cast<std::string>(locals["main_path"]));
} else {
#ifdef __FRC_SYSTEMCORE__
#ifdef __FIRST_SYSTEMCORE__
return fs::path("/home/systemcore/py");
#else
return fs::current_path();
@@ -51,4 +51,4 @@ inline fs::path GetOperatingDirectoryFs() {
inline fs::path GetDeployDirectoryFs() { return GetOperatingDirectoryFs() / "deploy"; }
} // namespace robotpy::filesystem
} // namespace robotpy::filesystem