Package yams.core.motorcontrollers.simulation


package yams.core.motorcontrollers.simulation
Physics-based simulation suppliers for YAMS motor controllers.

Simulation suppliers bridge WPILib's simulation framework and YAMS motor controller wrappers. Pass an instance to SmartMotorControllerConfig via withSimSupplier() to enable physics-accurate simulation without changing mechanism code.

  • Class
    Description
    ArmSim Supplier simulates a single-jointed arm mechanism using WPILib's SingleJointedArmSim.
    Battery Simulation that takes the entirety of the robot into account by storing all currently used currents on the robot.
    DCMotorSim Supplier simulates a generic DC motor load (flywheel, roller, or elevator) using WPILib's DCMotorSim.
    ElevatorSim Supplier simulates an elevator mechanism using WPILib's ElevatorSim.
    Sensor class using SimDevice; All fields will use the given supplier on real robots.
    Sensor data class to encapsulate sensor data.
    HALValue type enum.