wpilib.simulation Package

wpilib.simulation functions

ADXL345Sim(accel)

Class to control a simulated ADXL345.

AddressableLEDSim(*args, **kwargs)

Class to control a simulated addressable LED.

AlertSim

Class to get info on simulated alerts.

AnalogEncoderSim(encoder)

Class to control a simulated analog encoder.

AnalogInputSim(*args, **kwargs)

Class to control a simulated analog input.

BatterySim()

A utility class to simulate the robot battery.

CTREPCMSim(*args, **kwargs)

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

CallbackStore

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

DCMotorSim(plant, gearbox[, measurementStdDevs])

Represents a simulated DC motor mechanism.

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.

DoubleSolenoidSim(*args, **kwargs)

Overloaded function.

DriverStationSim()

Class to control a simulated driver station.

DutyCycleEncoderSim(*args, **kwargs)

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(plant, gearbox[, measurementStdDevs])

Represents a simulated flywheel mechanism.

GamepadSim(*args, **kwargs)

Class to control a simulated Gamepad controller.

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.

NiDsPS4ControllerSim(*args, **kwargs)

Class to control a simulated NiDsPS4 controller.

NiDsPS5ControllerSim(*args, **kwargs)

Class to control a simulated NiDsPS5 controller.

NiDsStadiaControllerSim(*args, **kwargs)

Class to control a simulated NiDsStadia controller.

NiDsXboxControllerSim(*args, **kwargs)

Class to control a simulated NiDsXbox controller.

OpModeOptions

PWMMotorControllerSim(*args, **kwargs)

Overloaded function.

PWMSim(*args, **kwargs)

Class to control a simulated PWM output.

PneumaticsBaseSim(*args, **kwargs)

Overloaded function.

PowerDistributionSim(*args, **kwargs)

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

REVPHSim(*args, **kwargs)

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

RoboRioSim()

A utility class to control a simulated RoboRIO.

SendableChooserSim(*args, **kwargs)

Class that facilitates control of a SendableChooser's selected option in simulation.

SharpIRSim(*args, **kwargs)

Simulation class for Sharp IR sensors.

SimDeviceSim(*args, **kwargs)

Interact with a generic simulated device

SingleJointedArmSim(*args, **kwargs)

Represents a simulated arm mechanism.

SolenoidSim(*args, **kwargs)

Overloaded function.