Live Tuning
What is Live Tuning?
SmartMotorControllerConfig lowerFlyWheelConfig = new SmartMotorControllerConfig(this)
.withControlMode(ControlMode.CLOSED_LOOP)
.withIdleMode(MotorMode.COAST)
.withGearing(new MechanismGearing(GearBox.fromReductionStages(3, 4)))
.withMomentOfInertia(Inches.of(4), Pounds.of(2))
.withClosedLoopController(1,
0,
0) // You generally do not want a profile because its not a position controlled loop.
.withFeedforward(new SimpleMotorFeedforward(0, 0, 0)) // Helps track changing RPM goals
.withMotorInverted(false)
.withTelemetry("LowerFlyWheel", SmartMotorControllerConfig.TelemetryVerbosity.HIGH)How do I use Live Tuning?


When should I NOT use Live Tuning?
Last updated