Class HarvesterSimMotor
java.lang.Object
frc.robot.devices.motor.AbstractMotor
frc.robot.devices.motor.AbstractSimMotor
frc.robot.subsystems.harvester.devices.HarvesterSimMotor
Simulation-only harvester arm motor wrapper configured from the harvester subsystem config.
Use this class when running in simulation so the arm profile behavior can be exercised without hardware. Construct it with the same config used by the subsystem to ensure limits and gearing match the real device.
-
Nested Class Summary
Nested classes/interfaces inherited from interface frc.robot.devices.motor.MotorIO
MotorIO.MotorIOInputs -
Field Summary
Fields inherited from class frc.robot.devices.motor.AbstractMotor
log, motor, name, NOMINAL_VOLTAGE -
Method Summary
Modifier and TypeMethodDescriptionstatic HarvesterSimMotorcreate(MotorConfig motorConfig, Supplier<Double> maximumVelocitySupplier, Supplier<Double> maximumAccelerationSupplier) Creates a simulated harvester motor wrapper using the supplied configuration values.Methods inherited from class frc.robot.devices.motor.AbstractSimMotor
configureMotor, setEncoderPosition, updateInputsMethods inherited from class frc.robot.devices.motor.AbstractMotor
computeMechanismRadiansPerMotorRotation, getPositionRadians, getVelocityRadiansPerSecond, getVoltage, init, isInitialized, setVoltage, stop
-
Method Details