Apparently 'assert' is turned off so the app does not crash even though 'm_kf.Zk.setData(x, y, xVel, yVel);' is passing 4 values when the Zk is only a 2 element vector.
public void update(double timeStamp, double x, double y,
double xVel, double yVel,
double posDev, double velErr) {
m_predictCount = 0;
m_timeStampMsUpdate = timeStamp;
rebuildR(posDev, velErr);
m_kf.Zk.setData(x, y, xVel, yVel); // <--- Zk has 2 elements, not 4
m_kf.update();
}
Apparently 'assert' is turned off so the app does not crash even though 'm_kf.Zk.setData(x, y, xVel, yVel);' is passing 4 values when the Zk is only a 2 element vector.