Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong Model of projectile motion ? #16

Open
nicolapace opened this issue Apr 16, 2024 · 2 comments
Open

Wrong Model of projectile motion ? #16

nicolapace opened this issue Apr 16, 2024 · 2 comments

Comments

@nicolapace
Copy link

nicolapace commented Apr 16, 2024

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;
@bsyy6
Copy link

bsyy6 commented Jun 27, 2024

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

@nicolapace
Copy link
Author

any news @hmartiro ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants