Skip to content

Commit 66ca07d

Browse files
Default emailpjreiniger
authored andcommitted
Project import generated by Copybara.
GitOrigin-RevId: 7192b5e3e0dd3ed1b69e454275e10ad7ce6b48c0
1 parent b96e221 commit 66ca07d

File tree

11 files changed

+51
-11
lines changed

11 files changed

+51
-11
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
version = __version__ = "2025.3.2.2"

subprojects/robotpy-wpilib/semiwrap/Color.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ inline_code: |
181181
^ (std::hash<double>{}(self->green) << 1)
182182
^ (std::hash<double>{}(self->blue) << 2)
183183
);
184-
return h != -1 ? h : -2;
184+
return h != static_cast<size_t>(-1) ? h : -2;
185185
})
186186
.def("__repr__", [](Color *self) {
187187
return "Color("

subprojects/robotpy-wpimath/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ update_init = [
4545
"wpimath.estimator wpimath._controls._controls.estimator",
4646
"wpimath.filter",
4747
"wpimath.geometry",
48+
"wpimath.kinematics",
49+
"wpimath.interpolation",
4850
"wpimath.optimization wpimath._controls._controls.optimization",
4951
"wpimath.path wpimath._controls._controls.path",
5052
"wpimath.spline",
@@ -1574,7 +1576,6 @@ DifferentialDriveAccelerationLimiter = "frc/controller/DifferentialDriveAccelera
15741576
DifferentialDriveFeedforward = "frc/controller/DifferentialDriveFeedforward.h"
15751577
DifferentialDriveWheelVoltages = "frc/controller/DifferentialDriveWheelVoltages.h"
15761578
ElevatorFeedforward = "frc/controller/ElevatorFeedforward.h"
1577-
HolonomicDriveController = "frc/controller/HolonomicDriveController.h"
15781579
ImplicitModelFollower = "frc/controller/ImplicitModelFollower.h"
15791580
LTVDifferentialDriveController = "frc/controller/LTVDifferentialDriveController.h"
15801581
LTVUnicycleController = "frc/controller/LTVUnicycleController.h"

subprojects/robotpy-wpimath/semiwrap/controls/DifferentialDriveFeedforward.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
defaults:
2+
subpackage: controller
3+
14
classes:
25
frc::DifferentialDriveFeedforward:
36
force_type_casters:

subprojects/robotpy-wpimath/tests/cpp/pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,17 @@ authors = [
1212
{name = "RobotPy Development Team", email = "robotpy@googlegroups.com"},
1313
]
1414
license = "BSD-3-Clause"
15+
dependencies = [
16+
"robotpy-wpimath==2027.0.0a2",
17+
]
1518

1619
[tool.hatch.build.hooks.semiwrap]
1720
[tool.hatch.build.hooks.meson]
1821

1922
[tool.semiwrap]
23+
update_init = [
24+
"wpimath_test wpimath_test._wpimath_test",
25+
]
2026

2127
[tool.semiwrap.extension_modules."wpimath_test._wpimath_test"]
2228
name = "wpimath_test"
Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1-
---
2-
31
classes:
42
SomeClass:
53
attributes:
6-
kDefaultPeriod:
4+
s_constant:
5+
ms_constant1:
6+
ms_constant2:
7+
ms_constant3:
78
five_ft:
89
methods:
9-
checkDefaultByName:
10+
checkDefaultByName1:
11+
checkDefaultByName2:
1012
checkDefaultByNum1:
1113
param_override:
1214
period:
@@ -16,4 +18,5 @@ classes:
1618
period:
1719
default: 0.050_s
1820
ms2s:
21+
s2ms:
1922
ft2m:

subprojects/robotpy-wpimath/tests/cpp/wpimath_test/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from . import _init__wpimath_test
22

3-
# autogenerated by 'robotpy-build create-imports wpimath_test'
3+
# autogenerated by 'semiwrap create-imports wpimath_test wpimath_test._wpimath_test'
44
from ._wpimath_test import SomeClass
55

66
__all__ = ["SomeClass"]

subprojects/robotpy-wpimath/wpimath/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
from ._wpimath import (
88
angleModulus,
99
applyDeadband,
10+
copySignPow,
1011
floorDiv,
1112
floorMod,
1213
inputModulus,
@@ -17,6 +18,7 @@
1718
__all__ = [
1819
"angleModulus",
1920
"applyDeadband",
21+
"copySignPow",
2022
"floorDiv",
2123
"floorMod",
2224
"inputModulus",

subprojects/robotpy-wpimath/wpimath/controller/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
ControlAffinePlantInversionFeedforward_2_1,
77
ControlAffinePlantInversionFeedforward_2_2,
88
DifferentialDriveAccelerationLimiter,
9+
DifferentialDriveFeedforward,
910
DifferentialDriveWheelVoltages,
1011
ElevatorFeedforward,
11-
HolonomicDriveController,
1212
ImplicitModelFollower_1_1,
1313
ImplicitModelFollower_2_1,
1414
ImplicitModelFollower_2_2,
@@ -36,9 +36,9 @@
3636
"ControlAffinePlantInversionFeedforward_2_1",
3737
"ControlAffinePlantInversionFeedforward_2_2",
3838
"DifferentialDriveAccelerationLimiter",
39+
"DifferentialDriveFeedforward",
3940
"DifferentialDriveWheelVoltages",
4041
"ElevatorFeedforward",
41-
"HolonomicDriveController",
4242
"ImplicitModelFollower_1_1",
4343
"ImplicitModelFollower_2_1",
4444
"ImplicitModelFollower_2_2",

subprojects/robotpy-wpimath/wpimath/interpolation/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from . import _init__interpolation # noqa: F401
22

3-
# autogenerated by 'robotpy-build create-imports wpimath.interpolation wpimath.interpolation._interpolation'
3+
# autogenerated by 'semiwrap create-imports wpimath.interpolation wpimath.interpolation._interpolation'
44
from ._interpolation import (
55
TimeInterpolatableFloatBuffer,
66
TimeInterpolatablePose2dBuffer,

0 commit comments

Comments
 (0)