mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[wpimath] Fix m_nextR instantiation in LinearSystemLoop ctor (#2783)
This commit is contained in:
committed by
GitHub
parent
7c8f1cf7af
commit
07ac5370d8
@@ -131,7 +131,7 @@ public class LinearSystemLoop<States extends Num, Inputs extends Num,
|
||||
this.m_observer = observer;
|
||||
this.m_clampFunction = clampFunction;
|
||||
|
||||
m_nextR = new Matrix<>(new SimpleMatrix(controller.getK().getNumCols(), 0));
|
||||
m_nextR = new Matrix<>(new SimpleMatrix(controller.getK().getNumCols(), 1));
|
||||
reset(m_nextR);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user