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

@@ -1297,7 +1297,7 @@ def define_pybind_library(name, pkgcfgs = []):
"//wpiutil:robotpy-wpiutil",
],
strip_path_prefixes = ["wpimath/src/main/python", "wpimath"],
summary = "Binary wrapper for FRC WPIMath library",
summary = "Binary wrapper for WPILib Math library",
project_urls = {"Source code": "https://github.com/robotpy/mostrobotpy"},
author_email = "RobotPy Development Team <robotpy@googlegroups.com>",
requires = ["robotpy-native-wpimath==0.0.0", "robotpy-wpiutil==0.0.0"],

View File

@@ -4,7 +4,7 @@
package org.wpilib.math.util;
/** Utility class that converts between commonly used units in FRC. */
/** Utility class that converts between commonly used units in FIRST. */
public final class Units {
private static final double kInchesPerFoot = 12.0;
private static final double kMetersPerInch = 0.0254;

View File

@@ -13,7 +13,7 @@ requires = [
[project]
name = "robotpy-wpimath"
version = "0.0.0"
description = "Binary wrapper for FRC WPIMath library"
description = "Binary wrapper for WPILib Math library"
authors = [
{name = "RobotPy Development Team", email = "robotpy@googlegroups.com"},
]
@@ -44,7 +44,7 @@ update_init = [
]
scan_headers_ignore = [
"wpi/math/linalg/ct_matrix.hpp",
"wpi/math/linalg/DARE.hpp",
"wpi/math/linalg/EigenCore.hpp",
@@ -1438,7 +1438,7 @@ types = [
default_arg_cast = false
[[tool.semiwrap.export_type_casters.wpimath-casters.headers]]
header = "frc_eigen.h"
header = "wpi_eigen.h"
types = [
"wpi::math::Vectord",
"wpi::math::Matrixd",

View File

@@ -1,5 +1,5 @@
extra_includes:
- frc_eigen.h
- wpi_eigen.h
- wpi/math/linalg/EigenCore.hpp
- pybind11/functional.h

View File

@@ -1,5 +1,5 @@
extra_includes:
- frc_eigen.h
- wpi_eigen.h
- wpi/math/linalg/EigenCore.hpp
- pybind11/functional.h
- pybind11/typing.h

View File

@@ -1,4 +0,0 @@
#pragma once
// the FRC types are just aliases for Eigen types, so use that
#include <pybind11/eigen.h>

View File

@@ -0,0 +1,4 @@
#pragma once
// the WPILib types are just aliases for Eigen types, so use that
#include <pybind11/eigen.h>