Skip to content

Commit 0eb421f

Browse files
committed
Merge branch 'upstream/main' into pyIterativeAndTimedRobot
2 parents 55c5e5d + 094dd76 commit 0eb421f

File tree

6 files changed

+28
-16
lines changed

6 files changed

+28
-16
lines changed

.github/workflows/dist.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -98,26 +98,11 @@ jobs:
9898
env:
9999
OS: ${{ runner.os }}
100100
run: |
101-
if [[ "$OS" != "Linux" ]]; then
102-
echo "VARIANT=sccache" >> $GITHUB_OUTPUT
103-
else
104-
echo "VARIANT=ccache" >> $GITHUB_OUTPUT
105-
echo "MAX_SIZE=500M" >> $GITHUB_OUTPUT
106-
fi
107101
if [[ "$OS" == "macOS" ]]; then
108102
echo "SCCACHE_CACHE_MULTIARCH=1" >> $GITHUB_ENV
109103
fi
110104
111-
- name: Setup ccache
112-
if: steps.ccache.outputs.variant == 'ccache'
113-
uses: hendrikmuhs/[email protected]
114-
with:
115-
key: ${{ matrix.os }}-${{ matrix.python_version }}
116-
variant: ccache
117-
max-size: ${{ steps.ccache.outputs.max_size }}
118-
119105
- name: Setup sccache
120-
if: steps.ccache.outputs.variant == 'sccache'
121106
uses: mozilla-actions/[email protected]
122107

123108
- name: Install deps
@@ -136,7 +121,7 @@ jobs:
136121
./rdev.sh ci run
137122
env:
138123
RPYBUILD_STRIP_LIBPYTHON: "1"
139-
RPYBUILD_CC_LAUNCHER: ${{ steps.ccache.outputs.variant }}
124+
RPYBUILD_CC_LAUNCHER: sccache
140125
SCCACHE_WEBDAV_USERNAME: ${{ secrets.WPI_ARTIFACTORY_USERNAME }}
141126
SCCACHE_WEBDAV_PASSWORD: ${{ secrets.WPI_ARTIFACTORY_TOKEN }}
142127

subprojects/robotpy-wpimath/gen/controls/ExtendedKalmanFilter.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,13 @@ templates:
6565
- 2
6666
- 1
6767
- 1
68+
ExtendedKalmanFilter_2_1_2:
69+
qualname: frc::ExtendedKalmanFilter
70+
subpackage: estimator
71+
params:
72+
- 2
73+
- 1
74+
- 2
6875
ExtendedKalmanFilter_2_2_2:
6976
qualname: frc::ExtendedKalmanFilter
7077
subpackage: estimator

subprojects/robotpy-wpimath/gen/controls/KalmanFilter.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ templates:
4848
- 2
4949
- 1
5050
- 1
51+
KalmanFilter_2_1_2:
52+
qualname: frc::KalmanFilter
53+
subpackage: estimator
54+
params:
55+
- 2
56+
- 1
57+
- 2
5158
KalmanFilter_2_2_2:
5259
qualname: frc::KalmanFilter
5360
subpackage: estimator

subprojects/robotpy-wpimath/gen/controls/LinearSystemLoop.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,13 @@ templates:
7070
- 2
7171
- 1
7272
- 1
73+
LinearSystemLoop_2_1_2:
74+
qualname: frc::LinearSystemLoop
75+
subpackage: system
76+
params:
77+
- 2
78+
- 1
79+
- 2
7380
LinearSystemLoop_2_2_2:
7481
qualname: frc::LinearSystemLoop
7582
subpackage: system

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@
66
DifferentialDrivePoseEstimatorBase,
77
ExtendedKalmanFilter_1_1_1,
88
ExtendedKalmanFilter_2_1_1,
9+
ExtendedKalmanFilter_2_1_2,
910
ExtendedKalmanFilter_2_2_2,
1011
KalmanFilter_1_1_1,
1112
KalmanFilter_2_1_1,
13+
KalmanFilter_2_1_2,
1214
KalmanFilter_2_2_2,
1315
KalmanFilter_3_2_3,
1416
MecanumDrivePoseEstimator,
@@ -40,9 +42,11 @@
4042
"DifferentialDrivePoseEstimatorBase",
4143
"ExtendedKalmanFilter_1_1_1",
4244
"ExtendedKalmanFilter_2_1_1",
45+
"ExtendedKalmanFilter_2_1_2",
4346
"ExtendedKalmanFilter_2_2_2",
4447
"KalmanFilter_1_1_1",
4548
"KalmanFilter_2_1_1",
49+
"KalmanFilter_2_1_2",
4650
"KalmanFilter_2_2_2",
4751
"KalmanFilter_3_2_3",
4852
"MecanumDrivePoseEstimator",

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from .._controls._controls.system import (
33
LinearSystemLoop_1_1_1,
44
LinearSystemLoop_2_1_1,
5+
LinearSystemLoop_2_1_2,
56
LinearSystemLoop_2_2_2,
67
LinearSystemLoop_3_2_3,
78
LinearSystem_1_1_1,
@@ -21,6 +22,7 @@
2122
__all__ = [
2223
"LinearSystemLoop_1_1_1",
2324
"LinearSystemLoop_2_1_1",
25+
"LinearSystemLoop_2_1_2",
2426
"LinearSystemLoop_2_2_2",
2527
"LinearSystemLoop_3_2_3",
2628
"LinearSystem_1_1_1",

0 commit comments

Comments
 (0)