Skip to content

Commit

Permalink
allwpilib 2024.3.1 updates
Browse files Browse the repository at this point in the history
  • Loading branch information
virtuald committed Feb 19, 2024
1 parent 95c2640 commit 49b765a
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 5 deletions.
12 changes: 10 additions & 2 deletions subprojects/pyntcore/gen/ntcore_cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ classes:
disableRemote:
disableLocal:
excludeSelf:
hidden:
inline_code: |
// autogenerated by gen-pubsub.py
.def(py::init([](
Expand All @@ -228,7 +229,8 @@ classes:
bool prefixMatch,
bool disableRemote,
bool disableLocal,
bool excludeSelf
bool excludeSelf,
bool hidden
) -> nt::PubSubOptions {
return nt::PubSubOptions{
.pollStorage = pollStorage,
Expand All @@ -240,7 +242,8 @@ classes:
.prefixMatch = prefixMatch,
.disableRemote = disableRemote,
.disableLocal = disableLocal,
.excludeSelf = excludeSelf
.excludeSelf = excludeSelf,
.hidden = hidden
};
}),
py::kw_only(),
Expand All @@ -254,6 +257,7 @@ classes:
py::arg("disableRemote") = false,
py::arg("disableLocal") = false,
py::arg("excludeSelf") = false,
py::arg("hidden") = false,
R"(
Expand All @@ -279,6 +283,10 @@ classes:
ReadQueue(). See also disableRemote.
:param excludeSelf: For entries, don't queue (for ReadQueue) value updates for the entry's
internal publisher.
:param hidden: For subscriptions, don't share the existence of the subscription with the
network. Note this means updates will not be received from the network
unless another subscription overlaps with this one, and the subscription
will not appear in metatopics.
)"
)
SubscriberOptions:
Expand Down
1 change: 1 addition & 0 deletions subprojects/robotpy-wpimath/gen/filter/LinearFilter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ classes:
MovingAverage:
Reset:
Calculate:
LastValue:
BackwardFiniteDifference:
ignore: true # TODO: template_impls
FiniteDifference:
Expand Down
1 change: 1 addition & 0 deletions subprojects/robotpy-wpimath/gen/filter/MedianFilter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ classes:
methods:
MedianFilter:
Calculate:
LastValue:
Reset:

templates:
Expand Down
1 change: 1 addition & 0 deletions subprojects/robotpy-wpimath/gen/filter/SlewRateLimiter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ classes:
Rate_t:
Rate_t, Unit_t:
Calculate:
LastValue:
Reset:

templates:
Expand Down
12 changes: 9 additions & 3 deletions subprojects/robotpy-wpimath/gen/geometry/Rotation2d.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,15 @@ classes:
Rotation2d:
overloads:
'[constexpr]':
units::radian_t [constexpr]:
units::degree_t [constexpr]:
ignore: true
auto [constexpr]:
doc: |
Constructs a Rotation2d with the given radian value.
:param value: The value of the angle in radians.
param_override:
value:
x_type: 'units::radian_t'
template_impls:
- ['units::radian_t']
double, double [constexpr]:
RotateBy:
Radians:
Expand Down
2 changes: 2 additions & 0 deletions subprojects/robotpy-wpimath/gen/geometry/Translation2d.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
extra_includes:
- rpy/geometryToString.h
- wpystruct.h
- pybind11/eigen.h

functions:
to_json:
Expand All @@ -17,6 +18,7 @@ classes:
'[constexpr]':
units::meter_t, units::meter_t [constexpr]:
units::meter_t, const Rotation2d& [constexpr]:
const Eigen::Vector2d&:
Distance:
X:
Y:
Expand Down
2 changes: 2 additions & 0 deletions subprojects/robotpy-wpimath/gen/geometry/Translation3d.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
extra_includes:
- rpy/geometryToString.h
- wpystruct.h
- pybind11/eigen.h

functions:
to_json:
Expand All @@ -17,6 +18,7 @@ classes:
'[constexpr]':
units::meter_t, units::meter_t, units::meter_t [constexpr]:
units::meter_t, const Rotation3d&:
const Eigen::Vector3d&:
Distance:
X:
Y:
Expand Down

0 comments on commit 49b765a

Please sign in to comment.