mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +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:
46
wpimath/src/main/python/semiwrap/controls/DCMotor.yml
Normal file
46
wpimath/src/main/python/semiwrap/controls/DCMotor.yml
Normal file
@@ -0,0 +1,46 @@
|
||||
defaults:
|
||||
subpackage: plant
|
||||
|
||||
extra_includes:
|
||||
- wpystruct.h
|
||||
|
||||
classes:
|
||||
frc::DCMotor:
|
||||
attributes:
|
||||
nominalVoltage:
|
||||
stallTorque:
|
||||
stallCurrent:
|
||||
freeCurrent:
|
||||
freeSpeed:
|
||||
R:
|
||||
Kv:
|
||||
Kt:
|
||||
methods:
|
||||
DCMotor:
|
||||
Current:
|
||||
overloads:
|
||||
units::radians_per_second_t, units::volt_t [const]:
|
||||
units::newton_meter_t [const]:
|
||||
Torque:
|
||||
Voltage:
|
||||
Speed:
|
||||
WithReduction:
|
||||
CIM:
|
||||
MiniCIM:
|
||||
Bag:
|
||||
Vex775Pro:
|
||||
RS775_125:
|
||||
BanebotsRS775:
|
||||
Andymark9015:
|
||||
BanebotsRS550:
|
||||
NEO:
|
||||
NEO550:
|
||||
Falcon500:
|
||||
Falcon500FOC:
|
||||
RomiBuiltIn:
|
||||
KrakenX60:
|
||||
KrakenX60FOC:
|
||||
NeoVortex:
|
||||
|
||||
inline_code: |
|
||||
SetupWPyStruct<frc::DCMotor>(cls_DCMotor);
|
||||
Reference in New Issue
Block a user