mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
GitOrigin-RevId: ac60fd3cf4a24023184376687da28373d14b781a This mirrors the robotpy files for the following projects: - apriltag - datalog - hal - ntcore - romiVendordep - wpilibc - wpimath - xrpVendordep This excludes cscore and the halsim wrappers for at this time. NOTE: This does not hook these projects up to the build system, just simply mirrors the files. The building will take place in a follow up PR to make it easier to review the changes necessary to build.
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());
|
|
});
|