We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bddec88 commit dd2cd10Copy full SHA for dd2cd10
src/main/java/org/lasarobotics/hardware/revrobotics/SparkMax.java
@@ -307,7 +307,7 @@ private void updateInputs() {
307
private void handleSmoothMotion() {
308
if (!m_isSmoothMotionEnabled) return;
309
310
- m_smoothMotionState = m_motionProfile.calculate(GlobalConstants.ROBOT_LOOP_PERIOD, m_smoothMotionState, m_currentStateSupplier.get());
+ m_smoothMotionState = m_motionProfile.calculate(GlobalConstants.ROBOT_LOOP_PERIOD, m_currentStateSupplier.get(), m_smoothMotionState);
311
set(
312
m_smoothMotionState.position,
313
ControlType.kPosition,
0 commit comments