mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
256 lines
5.0 KiB
Python
256 lines
5.0 KiB
Python
from . import _init__wpilib
|
|
|
|
# autogenerated by 'semiwrap create-imports wpilib wpilib._wpilib'
|
|
from ._wpilib import (
|
|
ADXL345_I2C,
|
|
AddressableLED,
|
|
AddressableLEDBuffer,
|
|
Alert,
|
|
Alliance,
|
|
AnalogAccelerometer,
|
|
AnalogEncoder,
|
|
AnalogInput,
|
|
AnalogPotentiometer,
|
|
BooleanEvent,
|
|
CAN,
|
|
CANStatus,
|
|
Compressor,
|
|
CompressorConfigType,
|
|
CounterBase,
|
|
DataLogManager,
|
|
DifferentialDrive,
|
|
DigitalInput,
|
|
DigitalOutput,
|
|
DoubleSolenoid,
|
|
DriverStation,
|
|
DriverStationBackend,
|
|
DualSenseController,
|
|
DutyCycle,
|
|
DutyCycleEncoder,
|
|
EdgeConfiguration,
|
|
Encoder,
|
|
EventLoop,
|
|
ExpansionHub,
|
|
ExpansionHubMotor,
|
|
ExpansionHubPositionConstants,
|
|
ExpansionHubServo,
|
|
ExpansionHubVelocityConstants,
|
|
Field2d,
|
|
FieldObject2d,
|
|
Gamepad,
|
|
GenericHID,
|
|
I2C,
|
|
IterativeRobotBase,
|
|
Joystick,
|
|
Koors40,
|
|
LEDPattern,
|
|
MatchState,
|
|
MatchType,
|
|
MecanumDrive,
|
|
Mechanism2d,
|
|
MechanismLigament2d,
|
|
MechanismObject2d,
|
|
MechanismRoot2d,
|
|
MotorController,
|
|
MotorControllerGroup,
|
|
MotorSafety,
|
|
NetworkBooleanEvent,
|
|
NiDsPS4Controller,
|
|
NiDsPS5Controller,
|
|
NiDsStadiaController,
|
|
NiDsXboxController,
|
|
Notifier,
|
|
OnboardIMU,
|
|
OpMode,
|
|
OpModeRobotBase,
|
|
POVDirection,
|
|
PWM,
|
|
PWMMotorController,
|
|
PWMSparkFlex,
|
|
PWMSparkMax,
|
|
PWMTalonFX,
|
|
PWMTalonSRX,
|
|
PWMVenom,
|
|
PWMVictorSPX,
|
|
PeriodicOpMode,
|
|
PeriodicPriorityQueue,
|
|
PneumaticHub,
|
|
PneumaticsBase,
|
|
PneumaticsControlModule,
|
|
PneumaticsModuleType,
|
|
PowerDistribution,
|
|
Preferences,
|
|
RobotBase,
|
|
RobotController,
|
|
RobotDriveBase,
|
|
RobotState,
|
|
RuntimeType,
|
|
SendableBuilderImpl,
|
|
SendableChooser,
|
|
SendableChooserBase,
|
|
SensorUtil,
|
|
SerialPort,
|
|
SharpIR,
|
|
SmartDashboard,
|
|
Solenoid,
|
|
Spark,
|
|
SparkMini,
|
|
SystemServer,
|
|
Tachometer,
|
|
Talon,
|
|
TimedRobot,
|
|
Timer,
|
|
TimesliceRobot,
|
|
TouchpadFinger,
|
|
Tracer,
|
|
UpDownCounter,
|
|
VictorSP,
|
|
Watchdog,
|
|
XboxController,
|
|
getCurrentThreadPriority,
|
|
getDeployDirectory,
|
|
getErrorMessage,
|
|
getOperatingDirectory,
|
|
getPOVAngle,
|
|
getSystemTime,
|
|
setCurrentThreadPriority,
|
|
wait,
|
|
)
|
|
|
|
__all__ = [
|
|
"ADXL345_I2C",
|
|
"AddressableLED",
|
|
"AddressableLEDBuffer",
|
|
"Alert",
|
|
"Alliance",
|
|
"AnalogAccelerometer",
|
|
"AnalogEncoder",
|
|
"AnalogInput",
|
|
"AnalogPotentiometer",
|
|
"BooleanEvent",
|
|
"CAN",
|
|
"CANStatus",
|
|
"Compressor",
|
|
"CompressorConfigType",
|
|
"CounterBase",
|
|
"DataLogManager",
|
|
"DifferentialDrive",
|
|
"DigitalInput",
|
|
"DigitalOutput",
|
|
"DoubleSolenoid",
|
|
"DriverStation",
|
|
"DriverStationBackend",
|
|
"DualSenseController",
|
|
"DutyCycle",
|
|
"DutyCycleEncoder",
|
|
"EdgeConfiguration",
|
|
"Encoder",
|
|
"EventLoop",
|
|
"ExpansionHub",
|
|
"ExpansionHubMotor",
|
|
"ExpansionHubPositionConstants",
|
|
"ExpansionHubServo",
|
|
"ExpansionHubVelocityConstants",
|
|
"Field2d",
|
|
"FieldObject2d",
|
|
"Gamepad",
|
|
"GenericHID",
|
|
"I2C",
|
|
"IterativeRobotBase",
|
|
"Joystick",
|
|
"Koors40",
|
|
"LEDPattern",
|
|
"MatchState",
|
|
"MatchType",
|
|
"MecanumDrive",
|
|
"Mechanism2d",
|
|
"MechanismLigament2d",
|
|
"MechanismObject2d",
|
|
"MechanismRoot2d",
|
|
"MotorController",
|
|
"MotorControllerGroup",
|
|
"MotorSafety",
|
|
"NetworkBooleanEvent",
|
|
"NiDsPS4Controller",
|
|
"NiDsPS5Controller",
|
|
"NiDsStadiaController",
|
|
"NiDsXboxController",
|
|
"Notifier",
|
|
"OnboardIMU",
|
|
"OpMode",
|
|
"OpModeRobotBase",
|
|
"POVDirection",
|
|
"PWM",
|
|
"PWMMotorController",
|
|
"PWMSparkFlex",
|
|
"PWMSparkMax",
|
|
"PWMTalonFX",
|
|
"PWMTalonSRX",
|
|
"PWMVenom",
|
|
"PWMVictorSPX",
|
|
"PeriodicOpMode",
|
|
"PeriodicPriorityQueue",
|
|
"PneumaticHub",
|
|
"PneumaticsBase",
|
|
"PneumaticsControlModule",
|
|
"PneumaticsModuleType",
|
|
"PowerDistribution",
|
|
"Preferences",
|
|
"RobotBase",
|
|
"RobotController",
|
|
"RobotDriveBase",
|
|
"RobotState",
|
|
"RuntimeType",
|
|
"SendableBuilderImpl",
|
|
"SendableChooser",
|
|
"SendableChooserBase",
|
|
"SensorUtil",
|
|
"SerialPort",
|
|
"SharpIR",
|
|
"SmartDashboard",
|
|
"Solenoid",
|
|
"Spark",
|
|
"SparkMini",
|
|
"SystemServer",
|
|
"Tachometer",
|
|
"Talon",
|
|
"TimedRobot",
|
|
"Timer",
|
|
"TimesliceRobot",
|
|
"TouchpadFinger",
|
|
"Tracer",
|
|
"UpDownCounter",
|
|
"VictorSP",
|
|
"Watchdog",
|
|
"XboxController",
|
|
"getCurrentThreadPriority",
|
|
"getDeployDirectory",
|
|
"getErrorMessage",
|
|
"getOperatingDirectory",
|
|
"getPOVAngle",
|
|
"getSystemTime",
|
|
"setCurrentThreadPriority",
|
|
"wait",
|
|
]
|
|
|
|
# Error reporting
|
|
from ._impl.report_error import reportError, reportWarning
|
|
|
|
__all__ += ["reportError", "reportWarning"]
|
|
|
|
del _init__wpilib
|
|
|
|
from .opmoderobot import OpModeRobot
|
|
|
|
__all__ += ["OpModeRobot"]
|
|
|
|
from .cameraserver import CameraServer
|
|
from .deployinfo import getDeployData
|
|
|
|
try:
|
|
from .version import version as __version__
|
|
except ImportError:
|
|
__version__ = "master"
|
|
|
|
__all__ += ["CameraServer"]
|