kalman-cpp icon indicating copy to clipboard operation
kalman-cpp copied to clipboard

Wrong Model of projectile motion ?

Open nicolapace opened this issue 2 years ago • 3 comments

The model for 1D-projectile motion is the following:

x_(k+1) = x_k + v_k * dt + 0.5 * a_k * dt^2
v_(k+1) = v_k + a_k * dt
a_(k+1) = a_k

that in matrix from is the following:

1		dt		0.5*dt^2
0		1		dt
0		0		1

That is different from the matrix implemented in the example

  // Discrete LTI projectile motion, measuring position only
  A << 1, dt, 0, 0, 1, dt, 0, 0, 1;

nicolapace avatar Apr 16 '24 09:04 nicolapace

I agree with you. they really need to address that.

bsyy6 avatar Jun 27 '24 16:06 bsyy6

any news @hmartiro ?

nicolapace avatar Oct 09 '24 12:10 nicolapace

We assume the time difference is small (i.e. the limit dt->0.) In which case dt^2 << dt and that term can be neglected.

ghornig avatar Jan 14 '25 18:01 ghornig