Package yams.commands3.config


package yams.commands3.config
Commands v3 configuration classes for the YAMS library.

These classes extend the core configurations with the Mechanism that the resulting commands require:

Mechanism configurations (e.g. ArmConfig, FlyWheelConfig) have no command dependency and come from yams.core.mechanisms.config.

Example

public class ShooterMechanism implements Mechanism {
  private final SmartMotorControllerConfig config = new SmartMotorControllerConfig(this)
          .withControlMode(ControlMode.CLOSED_LOOP)
          .withClosedLoopController(0.01, 0, 0)
          .withStatorCurrentLimit(Amps.of(40));
}
See Also: