wpilib.simulation Package

wpilib.simulation functions

wpilib.simulation.ADXRS450_GyroSim(self, gyro)

Class to control a simulated ADXRS450 gyroscope.

wpilib.simulation.AddressableLEDSim(*args, …)

Class to control a simulated addressable LED.

wpilib.simulation.AnalogEncoderSim(self, encoder)

Class to control a simulated analog encoder.

wpilib.simulation.AnalogGyroSim(*args, **kwargs)

Class to control a simulated analog gyro.

wpilib.simulation.AnalogInputSim(*args, **kwargs)

Class to control a simulated analog input.

wpilib.simulation.AnalogOutputSim(*args, …)

Class to control a simulated analog output.

wpilib.simulation.AnalogTriggerSim(self, …)

Class to control a simulated analog trigger.

wpilib.simulation.BatterySim(self)

wpilib.simulation.BuiltInAccelerometerSim(…)

Class to control a simulated built-in accelerometer.

wpilib.simulation.CallbackStore

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

wpilib.simulation.DIOSim(*args, **kwargs)

Class to control a simulated digital input or output.

wpilib.simulation.DifferentialDrivetrainSim(…)

Overloaded function.

wpilib.simulation.DigitalPWMSim(self, …)

Class to control a simulated digital PWM output.

wpilib.simulation.DriverStationSim(self)

Class to control a simulated driver station.

wpilib.simulation.DutyCycleEncoderSim(self, …)

Class to control a simulated duty cycle encoder.

wpilib.simulation.DutyCycleSim(self, dutyCycle)

Class to control a simulated duty cycle digital input.

wpilib.simulation.ElevatorSim(*args, **kwargs)

Represents a simulated elevator mechanism.

wpilib.simulation.EncoderSim(self, encoder)

Class to control a simulated encoder.

wpilib.simulation.FlywheelSim(*args, **kwargs)

Represents a simulated flywheel mechanism.

wpilib.simulation.GenericHIDSim(*args, **kwargs)

Class to control a simulated generic joystick.

wpilib.simulation.JoystickSim(*args, **kwargs)

Class to control a simulated joystick.

wpilib.simulation.LinearSystemSim_1_1_1(…)

This class helps simulate linear systems.

wpilib.simulation.LinearSystemSim_1_1_2(…)

This class helps simulate linear systems.

wpilib.simulation.LinearSystemSim_2_1_1(…)

This class helps simulate linear systems.

wpilib.simulation.LinearSystemSim_2_1_2(…)

This class helps simulate linear systems.

wpilib.simulation.LinearSystemSim_2_2_1(…)

This class helps simulate linear systems.

wpilib.simulation.LinearSystemSim_2_2_2(…)

This class helps simulate linear systems.

wpilib.simulation.Mechanism2D(self)

wpilib.simulation.PCMSim(*args, **kwargs)

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

wpilib.simulation.PDPSim(*args, **kwargs)

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

wpilib.simulation.PWMSim(*args, **kwargs)

Class to control a simulated PWM output.

wpilib.simulation.RelaySim(*args, **kwargs)

Class to control a simulated relay.

wpilib.simulation.RoboRioSim(self)

Class to control a simulated RoboRIO.

wpilib.simulation.SPIAccelerometerSim(self, …)

Construct a new simulation object.

wpilib.simulation.SimDeviceSim(self, name)

Interact with a generic simulated device

wpilib.simulation.SingleJointedArmSim(*args, …)

Represents a simulated arm mechanism.

wpilib.simulation.XboxControllerSim(*args, …)

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