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:
117
wpilibc/src/main/python/wpilib/simulation/__init__.py
Normal file
117
wpilibc/src/main/python/wpilib/simulation/__init__.py
Normal file
@@ -0,0 +1,117 @@
|
||||
from . import _init__simulation
|
||||
|
||||
# needed for dcmotor return value, TODO fix in robotpy-build
|
||||
from wpimath._controls._controls import plant as _
|
||||
|
||||
# autogenerated by 'semiwrap create-imports wpilib.simulation wpilib.simulation._simulation'
|
||||
from ._simulation import (
|
||||
ADXL345Sim,
|
||||
AddressableLEDSim,
|
||||
AnalogEncoderSim,
|
||||
AnalogInputSim,
|
||||
BatterySim,
|
||||
CTREPCMSim,
|
||||
CallbackStore,
|
||||
DCMotorSim,
|
||||
DIOSim,
|
||||
DifferentialDrivetrainSim,
|
||||
DigitalPWMSim,
|
||||
DoubleSolenoidSim,
|
||||
DriverStationSim,
|
||||
DutyCycleEncoderSim,
|
||||
DutyCycleSim,
|
||||
ElevatorSim,
|
||||
EncoderSim,
|
||||
FlywheelSim,
|
||||
GenericHIDSim,
|
||||
JoystickSim,
|
||||
LinearSystemSim_1_1_1,
|
||||
LinearSystemSim_1_1_2,
|
||||
LinearSystemSim_2_1_1,
|
||||
LinearSystemSim_2_1_2,
|
||||
LinearSystemSim_2_2_1,
|
||||
LinearSystemSim_2_2_2,
|
||||
PS4ControllerSim,
|
||||
PS5ControllerSim,
|
||||
PWMMotorControllerSim,
|
||||
PWMSim,
|
||||
PneumaticsBaseSim,
|
||||
PowerDistributionSim,
|
||||
REVPHSim,
|
||||
RoboRioSim,
|
||||
SendableChooserSim,
|
||||
ServoSim,
|
||||
SharpIRSim,
|
||||
SimDeviceSim,
|
||||
SingleJointedArmSim,
|
||||
SolenoidSim,
|
||||
StadiaControllerSim,
|
||||
XboxControllerSim,
|
||||
getProgramStarted,
|
||||
isTimingPaused,
|
||||
pauseTiming,
|
||||
restartTiming,
|
||||
resumeTiming,
|
||||
setProgramStarted,
|
||||
setRuntimeType,
|
||||
stepTiming,
|
||||
stepTimingAsync,
|
||||
waitForProgramStart,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
"ADXL345Sim",
|
||||
"AddressableLEDSim",
|
||||
"AnalogEncoderSim",
|
||||
"AnalogInputSim",
|
||||
"BatterySim",
|
||||
"CTREPCMSim",
|
||||
"CallbackStore",
|
||||
"DCMotorSim",
|
||||
"DIOSim",
|
||||
"DifferentialDrivetrainSim",
|
||||
"DigitalPWMSim",
|
||||
"DoubleSolenoidSim",
|
||||
"DriverStationSim",
|
||||
"DutyCycleEncoderSim",
|
||||
"DutyCycleSim",
|
||||
"ElevatorSim",
|
||||
"EncoderSim",
|
||||
"FlywheelSim",
|
||||
"GenericHIDSim",
|
||||
"JoystickSim",
|
||||
"LinearSystemSim_1_1_1",
|
||||
"LinearSystemSim_1_1_2",
|
||||
"LinearSystemSim_2_1_1",
|
||||
"LinearSystemSim_2_1_2",
|
||||
"LinearSystemSim_2_2_1",
|
||||
"LinearSystemSim_2_2_2",
|
||||
"PS4ControllerSim",
|
||||
"PS5ControllerSim",
|
||||
"PWMMotorControllerSim",
|
||||
"PWMSim",
|
||||
"PneumaticsBaseSim",
|
||||
"PowerDistributionSim",
|
||||
"REVPHSim",
|
||||
"RoboRioSim",
|
||||
"SendableChooserSim",
|
||||
"ServoSim",
|
||||
"SharpIRSim",
|
||||
"SimDeviceSim",
|
||||
"SingleJointedArmSim",
|
||||
"SolenoidSim",
|
||||
"StadiaControllerSim",
|
||||
"XboxControllerSim",
|
||||
"getProgramStarted",
|
||||
"isTimingPaused",
|
||||
"pauseTiming",
|
||||
"restartTiming",
|
||||
"resumeTiming",
|
||||
"setProgramStarted",
|
||||
"setRuntimeType",
|
||||
"stepTiming",
|
||||
"stepTimingAsync",
|
||||
"waitForProgramStart",
|
||||
]
|
||||
|
||||
del _init__simulation
|
||||
Reference in New Issue
Block a user