Skip to content

Commit 796a345

Browse files
committed
Add update_init to robotpy-wpimath
1 parent ed0161a commit 796a345

File tree

6 files changed

+45
-5
lines changed

6 files changed

+45
-5
lines changed

subprojects/robotpy-wpimath/pyproject.toml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,17 @@ requires = [
2020
base_package = "wpimath"
2121

2222
update_init = [
23-
"wpimath"
23+
"wpimath",
24+
"wpimath.controller wpimath._controls._controls.controller",
25+
"wpimath.estimator wpimath._controls._controls.estimator",
26+
"wpimath.filter",
27+
"wpimath.geometry",
28+
"wpimath.optimization wpimath._controls._controls.optimization",
29+
"wpimath.path wpimath._controls._controls.path",
30+
"wpimath.spline",
31+
"wpimath.system wpimath._controls._controls.system",
32+
"wpimath.trajectory wpimath._controls._controls.trajectory",
33+
"wpimath.trajectory.constraint wpimath._controls._controls.constraint",
2434
]
2535

2636
scan_headers_ignore = [

subprojects/robotpy-wpimath/wpimath/__init__.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
from . import _init_wpimath # noqa: F401
22

3-
# autogenerated by 'robotpy-build create-imports wpimath'
3+
# autogenerated by 'robotpy-build create-imports wpimath wpimath._wpimath'
44
from ._wpimath import (
55
angleModulus,
66
applyDeadband,
7+
floorDiv,
8+
floorMod,
79
inputModulus,
810
objectToRobotPose,
911
)
1012

1113
__all__ = [
1214
"angleModulus",
1315
"applyDeadband",
16+
"floorDiv",
17+
"floorMod",
1418
"inputModulus",
1519
"objectToRobotPose",
1620
]

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# autogenerated by 'robotpy-build create-imports wpimath.estimator wpimath._controls._controls.estimator'
22
from .._controls._controls.estimator import (
33
DifferentialDrivePoseEstimator,
4+
DifferentialDrivePoseEstimator3d,
5+
DifferentialDrivePoseEstimator3dBase,
46
DifferentialDrivePoseEstimatorBase,
57
ExtendedKalmanFilter_1_1_1,
68
ExtendedKalmanFilter_2_1_1,
@@ -10,19 +12,31 @@
1012
KalmanFilter_2_2_2,
1113
KalmanFilter_3_2_3,
1214
MecanumDrivePoseEstimator,
15+
MecanumDrivePoseEstimator3d,
16+
MecanumDrivePoseEstimator3dBase,
1317
MecanumDrivePoseEstimatorBase,
1418
SwerveDrive2PoseEstimator,
19+
SwerveDrive2PoseEstimator3d,
20+
SwerveDrive2PoseEstimator3dBase,
1521
SwerveDrive2PoseEstimatorBase,
1622
SwerveDrive3PoseEstimator,
23+
SwerveDrive3PoseEstimator3d,
24+
SwerveDrive3PoseEstimator3dBase,
1725
SwerveDrive3PoseEstimatorBase,
1826
SwerveDrive4PoseEstimator,
27+
SwerveDrive4PoseEstimator3d,
28+
SwerveDrive4PoseEstimator3dBase,
1929
SwerveDrive4PoseEstimatorBase,
2030
SwerveDrive6PoseEstimator,
31+
SwerveDrive6PoseEstimator3d,
32+
SwerveDrive6PoseEstimator3dBase,
2133
SwerveDrive6PoseEstimatorBase,
2234
)
2335

2436
__all__ = [
2537
"DifferentialDrivePoseEstimator",
38+
"DifferentialDrivePoseEstimator3d",
39+
"DifferentialDrivePoseEstimator3dBase",
2640
"DifferentialDrivePoseEstimatorBase",
2741
"ExtendedKalmanFilter_1_1_1",
2842
"ExtendedKalmanFilter_2_1_1",
@@ -32,13 +46,23 @@
3246
"KalmanFilter_2_2_2",
3347
"KalmanFilter_3_2_3",
3448
"MecanumDrivePoseEstimator",
49+
"MecanumDrivePoseEstimator3d",
50+
"MecanumDrivePoseEstimator3dBase",
3551
"MecanumDrivePoseEstimatorBase",
3652
"SwerveDrive2PoseEstimator",
53+
"SwerveDrive2PoseEstimator3d",
54+
"SwerveDrive2PoseEstimator3dBase",
3755
"SwerveDrive2PoseEstimatorBase",
3856
"SwerveDrive3PoseEstimator",
57+
"SwerveDrive3PoseEstimator3d",
58+
"SwerveDrive3PoseEstimator3dBase",
3959
"SwerveDrive3PoseEstimatorBase",
4060
"SwerveDrive4PoseEstimator",
61+
"SwerveDrive4PoseEstimator3d",
62+
"SwerveDrive4PoseEstimator3dBase",
4163
"SwerveDrive4PoseEstimatorBase",
4264
"SwerveDrive6PoseEstimator",
65+
"SwerveDrive6PoseEstimator3d",
66+
"SwerveDrive6PoseEstimator3dBase",
4367
"SwerveDrive6PoseEstimatorBase",
4468
]

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

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

3-
# autogenerated by 'robotpy-build create-imports wpimath.geometry'
3+
# autogenerated by 'robotpy-build create-imports wpimath.geometry wpimath.geometry._geometry'
44
from ._geometry import (
55
CoordinateAxis,
66
CoordinateSystem,
@@ -17,6 +17,7 @@
1717
Translation3d,
1818
Twist2d,
1919
Twist3d,
20+
rotationVectorToMatrix,
2021
)
2122

2223
__all__ = [
@@ -35,4 +36,5 @@
3536
"Translation3d",
3637
"Twist2d",
3738
"Twist3d",
39+
"rotationVectorToMatrix",
3840
]

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

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

3-
# autogenerated by 'robotpy-build create-imports wpimath.spline'
3+
# autogenerated by 'robotpy-build create-imports wpimath.spline wpimath.spline._spline'
44
from ._spline import (
55
CubicHermiteSpline,
66
QuinticHermiteSpline,

subprojects/robotpy-wpimath/wpimath/trajectory/constraint/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# autogenerated by 'robotpy-build create-imports wpimath.trajectory.constraint wpimath.trajectory._trajectory.constraints'
1+
# autogenerated by 'robotpy-build create-imports wpimath.trajectory.constraint wpimath._controls._controls.constraint'
22
from ..._controls._controls.constraint import (
33
CentripetalAccelerationConstraint,
44
DifferentialDriveKinematicsConstraint,

0 commit comments

Comments
 (0)