Skip to content

Commit 9723f34

Browse files
committed
Updates for 2026
1 parent 9142f58 commit 9723f34

File tree

5 files changed

+31
-2
lines changed

5 files changed

+31
-2
lines changed

subprojects/robotpy-wpimath/semiwrap/MathUtil.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,12 @@ functions:
1515
param_override:
1616
maxMagnitude:
1717
default: '1.0'
18-
template_impls:
19-
- [double]
18+
overloads:
19+
T, T, T:
20+
template_impls:
21+
- [double]
22+
const Eigen::Vector<T, N>&, T, T:
23+
ignore: true
2024
IsNear:
2125
overloads:
2226
T, T, T:
@@ -31,3 +35,8 @@ functions:
3135
overloads:
3236
const Translation2d&, const Translation2d&, units::second_t, units::meters_per_second_t:
3337
const Translation3d&, const Translation3d&, units::second_t, units::meters_per_second_t:
38+
CopySignPow:
39+
template_impls:
40+
- [double]
41+
CopyDirectionPow:
42+
ignore: true

subprojects/robotpy-wpimath/semiwrap/geometry/Pose3d.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ classes:
4343
ToMatrix:
4444
ToPose2d:
4545
RotateAround:
46+
Nearest:
47+
overloads:
48+
std::span<const Pose3d> [const]:
49+
std::initializer_list<Pose3d> [const]:
50+
ignore: true
4651

4752
inline_code: |
4853
cls_Pose3d

subprojects/robotpy-wpimath/semiwrap/geometry/Translation2d.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ classes:
3838
operator*:
3939
operator/:
4040
operator==:
41+
SquaredDistance:
42+
SquaredNorm:
43+
Dot:
44+
Cross:
4145

4246
inline_code: |
4347
cls_Translation2d

subprojects/robotpy-wpimath/semiwrap/geometry/Translation3d.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,15 @@ classes:
3535
operator/:
3636
operator==:
3737
RotateAround:
38+
SquaredDistance:
39+
SquaredNorm:
40+
Dot:
41+
Cross:
42+
Nearest:
43+
overloads:
44+
std::span<const Translation3d> [const]:
45+
std::initializer_list<Translation3d> [const]:
46+
ignore: true
3847

3948
inline_code: |
4049
cls_Translation3d

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
inputModulus,
1112
objectToRobotPose,
1213
slewRateLimit,
@@ -15,6 +16,7 @@
1516
__all__ = [
1617
"angleModulus",
1718
"applyDeadband",
19+
"copySignPow",
1820
"inputModulus",
1921
"objectToRobotPose",
2022
"slewRateLimit",

0 commit comments

Comments
 (0)