mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[robotpy] Mirror most other subprojects (#8208)
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.
This commit is contained in:
43
wpilibc/src/main/python/semiwrap/Encoder.yml
Normal file
43
wpilibc/src/main/python/semiwrap/Encoder.yml
Normal file
@@ -0,0 +1,43 @@
|
||||
extra_includes:
|
||||
- wpi/sendable/SendableBuilder.h
|
||||
|
||||
classes:
|
||||
frc::Encoder:
|
||||
ignored_bases:
|
||||
- wpi::SendableHelper<Encoder>
|
||||
typealias:
|
||||
- frc::Encoder::EncodingType
|
||||
methods:
|
||||
Encoder:
|
||||
overloads:
|
||||
int, int, bool, EncodingType:
|
||||
param_override:
|
||||
encodingType:
|
||||
default: frc::Encoder::EncodingType::k4X
|
||||
DigitalSource*, DigitalSource*, bool, EncodingType:
|
||||
ignore: true
|
||||
DigitalSource&, DigitalSource&, bool, EncodingType:
|
||||
ignore: true
|
||||
std::shared_ptr<DigitalSource>, std::shared_ptr<DigitalSource>, bool, EncodingType:
|
||||
param_override:
|
||||
encodingType:
|
||||
default: frc::Encoder::EncodingType::k4X
|
||||
Get:
|
||||
Reset:
|
||||
GetPeriod:
|
||||
SetMaxPeriod:
|
||||
GetStopped:
|
||||
GetDirection:
|
||||
GetRaw:
|
||||
GetEncodingScale:
|
||||
GetDistance:
|
||||
GetRate:
|
||||
SetMinRate:
|
||||
SetDistancePerPulse:
|
||||
GetDistancePerPulse:
|
||||
SetReverseDirection:
|
||||
SetSamplesToAverage:
|
||||
GetSamplesToAverage:
|
||||
SetSimDevice:
|
||||
GetFPGAIndex:
|
||||
InitSendable:
|
||||
Reference in New Issue
Block a user