We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0486ab8 commit bf9ec05Copy full SHA for bf9ec05
subprojects/robotpy-wpilib/gen/Alert.yml
@@ -0,0 +1,13 @@
1
+---
2
+
3
+classes:
4
+ Alert:
5
+ enums:
6
+ AlertType:
7
+ methods:
8
9
+ overloads:
10
+ std::string_view, AlertType:
11
+ std::string_view, std::string_view, AlertType:
12
+ Set:
13
+ SetText:
subprojects/robotpy-wpilib/gen/AnalogTrigger.yml
@@ -8,15 +8,22 @@ extra_includes:
classes:
AnalogTrigger:
- shared_ptr: true
ignored_bases:
- wpi::SendableHelper<AnalogTrigger>
14
methods:
15
16
overloads:
17
int:
+ AnalogInput&:
18
+ ignore: true
19
AnalogInput*:
20
21
+ std::shared_ptr<AnalogInput>:
22
+ DutyCycle&:
23
24
DutyCycle*:
25
26
+ std::shared_ptr<DutyCycle>:
27
SetLimitsVoltage:
28
SetLimitsDutyCycle:
29
SetLimitsRaw:
subprojects/robotpy-wpilib/gen/DataLogManager.yml
@@ -13,3 +13,4 @@ classes:
return_value_policy: reference
GetLogDir:
LogNetworkTables:
+ LogConsoleOutput:
subprojects/robotpy-wpilib/gen/Notifier.yml
@@ -9,7 +9,7 @@ classes:
std::function<void ( )>:
SetName:
- SetHandler:
+ SetCallback:
StartSingle:
double:
subprojects/robotpy-wpilib/gen/PWMMotorController.yml
@@ -14,6 +14,7 @@ classes:
Set:
SetVoltage:
Get:
+ GetVoltage:
SetInverted:
GetInverted:
Disable:
subprojects/robotpy-wpilib/gen/simulation/ElevatorSim.yml
@@ -10,18 +10,18 @@ classes:
ElevatorSim:
- ? const LinearSystem<2, 1, 1>&, const DCMotor&, units::meter_t, units::meter_t,
+ ? const LinearSystem<2, 1, 2>&, const DCMotor&, units::meter_t, units::meter_t,
bool, units::meter_t, const std::array<double, 2>&
:
param_override:
measurementStdDevs:
- default: std::array<double, 2>{0.0}
+ default: std::array<double, 2>{0.0, 0.0}
? const DCMotor&, double, units::kilogram_t, units::meter_t, units::meter_t,
units::meter_t, bool, units::meter_t, const std::array<double, 2>&
- default: std::array<double, 1>{0.0}
+ default: std::array<double, 2>{0.0}
? decltype(1_V/Velocity_t<Distance> (1)), decltype(1_V/Acceleration_t<Distance>
(1)), const DCMotor&, units::meter_t, units::meter_t, bool, units::meter_t,
const std::array<double, 2>&
subprojects/robotpy-wpilib/gen/simulation/SingleJointedArmSim.yml
@@ -10,20 +10,20 @@ classes:
SingleJointedArmSim:
- ? const LinearSystem<2, 1, 1>&, const DCMotor&, double, units::meter_t,
+ ? const LinearSystem<2, 1, 2>&, const DCMotor&, double, units::meter_t,
units::radian_t, units::radian_t, bool, units::radian_t, const std::array<double,
2>&
? const DCMotor&, double, units::kilogram_square_meter_t, units::meter_t,
SetState:
WouldHitLowerLimit:
WouldHitUpperLimit:
subprojects/robotpy-wpilib/pyproject.toml
@@ -111,6 +111,7 @@ ADXL345_SPI = "frc/ADXL345_SPI.h"
111
ADXL362 = "frc/ADXL362.h"
112
ADXRS450_Gyro = "frc/ADXRS450_Gyro.h"
113
AddressableLED = "frc/AddressableLED.h"
114
+Alert = "frc/Alert.h"
115
AnalogAccelerometer = "frc/AnalogAccelerometer.h"
116
AnalogEncoder = "frc/AnalogEncoder.h"
117
AnalogGyro = "frc/AnalogGyro.h"
subprojects/robotpy-wpilib/wpilib/src/rpy/Notifier.cpp
@@ -84,7 +84,7 @@ PyNotifier::~PyNotifier() {
84
m_thread.attr("join")();
85
}
86
87
- HAL_CleanNotifier(handle, &status);
+ HAL_CleanNotifier(handle);
88
89
90
PyNotifier::PyNotifier(PyNotifier &&rhs)
@@ -117,7 +117,7 @@ void PyNotifier::SetName(std::string_view name) {
HAL_SetNotifierName(m_notifier, buf.data(), &status);
118
119
120
-void PyNotifier::SetHandler(std::function<void()> handler) {
+void PyNotifier::SetCallback(std::function<void()> handler) {
121
std::scoped_lock lock(m_processMutex);
122
m_handler = handler;
123
subprojects/robotpy-wpilib/wpilib/src/rpy/Notifier.h
@@ -57,7 +57,7 @@ class PyNotifier {
57
*
58
* @param handler Handler
59
*/
60
- void SetHandler(std::function<void()> handler);
+ void SetCallback(std::function<void()> handler);
61
62
/**
63
* Register for single event notification.
0 commit comments