mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Rename FRC to WPILib (#8637)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"},
|
||||
]
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
#include "semiwrap_init.wpilib.simulation._simulation.hpp"
|
||||
|
||||
#ifndef __FRC_SYSTEMCORE__
|
||||
#ifndef __FIRST_SYSTEMCORE__
|
||||
|
||||
namespace wpi::impl {
|
||||
void ResetSmartDashboardInstance();
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user