mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Rename FRC to WPILib (#8637)
This commit is contained in:
2
wpimath/robotpy_pybind_build_info.bzl
generated
2
wpimath/robotpy_pybind_build_info.bzl
generated
@@ -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"],
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
extra_includes:
|
||||
- frc_eigen.h
|
||||
- wpi_eigen.h
|
||||
- wpi/math/linalg/EigenCore.hpp
|
||||
- pybind11/functional.h
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
extra_includes:
|
||||
- frc_eigen.h
|
||||
- wpi_eigen.h
|
||||
- wpi/math/linalg/EigenCore.hpp
|
||||
- pybind11/functional.h
|
||||
- pybind11/typing.h
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
// the FRC types are just aliases for Eigen types, so use that
|
||||
#include <pybind11/eigen.h>
|
||||
@@ -0,0 +1,4 @@
|
||||
#pragma once
|
||||
|
||||
// the WPILib types are just aliases for Eigen types, so use that
|
||||
#include <pybind11/eigen.h>
|
||||
Reference in New Issue
Block a user