wpilib.simulation Package

wpilib.simulation functions

ADIS16448_IMUSim(imu)

Class to control a simulated ADIS16448 IMU.

ADIS16470_IMUSim(imu)

Class to control a simulated ADIS16470 IMU.

ADXL345Sim(*args, **kwargs)

Class to control a simulated ADXRS450 gyroscope.

ADXL362Sim(accel)

Class to control a simulated ADXRS450 gyroscope.

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()

A utility class to simulate the robot battery.

BuiltInAccelerometerSim(*args, **kwargs)

Class to control a simulated built-in accelerometer.

CTREPCMSim(*args, **kwargs)

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

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[, ...])

This class helps simulate linear systems.

LinearSystemSim_1_1_2(system[, ...])

This class helps simulate linear systems.

LinearSystemSim_2_1_1(system[, ...])

This class helps simulate linear systems.

LinearSystemSim_2_1_2(system[, ...])

This class helps simulate linear systems.

LinearSystemSim_2_2_1(system[, ...])

This class helps simulate linear systems.

LinearSystemSim_2_2_2(system[, ...])

This class helps simulate linear systems.

PS4ControllerSim(*args, **kwargs)

Class to control a simulated PS4 controller.

PWMSim(*args, **kwargs)

Class to control a simulated PWM output.

PowerDistributionSim(*args, **kwargs)

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

REVPHSim(*args, **kwargs)

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

RelaySim(*args, **kwargs)

Class to control a simulated relay.

RoboRioSim()

A utility 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.

UltrasonicSim(gyro)

Class to control a simulated ADXRS450 gyroscope.

XboxControllerSim(*args, **kwargs)

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