mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-27 02:01:42 +00:00
27 lines
587 B
YAML
27 lines
587 B
YAML
|
|
extra_includes:
|
||
|
|
- wpi/sendable/SendableBuilder.h
|
||
|
|
|
||
|
|
classes:
|
||
|
|
frc::DutyCycle:
|
||
|
|
ignored_bases:
|
||
|
|
- wpi::SendableHelper<DutyCycle>
|
||
|
|
methods:
|
||
|
|
DutyCycle:
|
||
|
|
overloads:
|
||
|
|
DigitalSource&:
|
||
|
|
ignore: true
|
||
|
|
DigitalSource*:
|
||
|
|
ignore: true
|
||
|
|
std::shared_ptr<DigitalSource>:
|
||
|
|
GetFrequency:
|
||
|
|
GetOutput:
|
||
|
|
GetHighTime:
|
||
|
|
GetSourceChannel:
|
||
|
|
InitSendable:
|
||
|
|
|
||
|
|
inline_code: |
|
||
|
|
cls_DutyCycle
|
||
|
|
.def("__repr__", [](const DutyCycle &self) {
|
||
|
|
return py::str("<DutyCycle {}>").format(self.GetSourceChannel());
|
||
|
|
});
|