wpilib.simulation Package

wpilib.simulation functions

ADXRS450_GyroSim(gyro)

Class to control a simulated ADXRS450 gyroscope.

AddressableLEDSim(*args, **kwargs)

Class to control a simulated addressable LED.

AnalogEncoderSim(encoder)

Class to control a simulated analog encoder.

AnalogGyroSim(*args, **kwargs)

Class to control a simulated analog gyro.

AnalogInputSim(*args, **kwargs)

Class to control a simulated analog input.

AnalogOutputSim(*args, **kwargs)

Class to control a simulated analog output.

AnalogTriggerSim(analogTrigger)

Class to control a simulated analog trigger.

BatterySim()

BuiltInAccelerometerSim(*args, **kwargs)

Class to control a simulated built-in accelerometer.

CallbackStore

Manages simulation callbacks; each object is associated with a callback.

DIOSim(*args, **kwargs)

Class to control a simulated digital input or output.

DifferentialDrivetrainSim(*args, **kwargs)

Overloaded function.

DigitalPWMSim(digitalOutput)

Class to control a simulated digital PWM output.

DriverStationSim()

Class to control a simulated driver station.

DutyCycleEncoderSim(encoder)

Class to control a simulated duty cycle encoder.

DutyCycleSim(dutyCycle)

Class to control a simulated duty cycle digital input.

ElevatorSim(*args, **kwargs)

Represents a simulated elevator mechanism.

EncoderSim(encoder)

Class to control a simulated encoder.

FlywheelSim(*args, **kwargs)

Represents a simulated flywheel mechanism.

GenericHIDSim(*args, **kwargs)

Class to control a simulated generic joystick.

JoystickSim(*args, **kwargs)

Class to control a simulated joystick.

LinearSystemSim_1_1_1(system, measurementStdDevs)

This class helps simulate linear systems.

LinearSystemSim_1_1_2(system, …)

This class helps simulate linear systems.

LinearSystemSim_2_1_1(system, measurementStdDevs)

This class helps simulate linear systems.

LinearSystemSim_2_1_2(system, …)

This class helps simulate linear systems.

LinearSystemSim_2_2_1(system, measurementStdDevs)

This class helps simulate linear systems.

LinearSystemSim_2_2_2(system, …)

This class helps simulate linear systems.

Mechanism2D()

PCMSim(*args, **kwargs)

Class to control a simulated Pneumatic Control Module (PCM).

PDPSim(*args, **kwargs)

Class to control a simulated Power Distribution Panel (PDP).

PWMSim(*args, **kwargs)

Class to control a simulated PWM output.

RelaySim(*args, **kwargs)

Class to control a simulated relay.

RoboRioSim()

Class to control a simulated RoboRIO.

SPIAccelerometerSim(index)

Construct a new simulation object.

SimDeviceSim(*args, **kwargs)

Interact with a generic simulated device

SingleJointedArmSim(*args, **kwargs)

Represents a simulated arm mechanism.

XboxControllerSim(*args, **kwargs)

Class to control a simulated Xbox 360 or Xbox One controller.