![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Testing ekf implementation for Quadro_1.
Diff: EKF_RP.cpp
- Revision:
- 8:a72cd6356bab
- Parent:
- 7:bcbcc23983de
- Child:
- 9:be2e1d2f683d
--- a/EKF_RP.cpp Sun Oct 20 13:16:13 2019 +0000 +++ b/EKF_RP.cpp Sun Oct 20 14:16:34 2019 +0000 @@ -7,10 +7,10 @@ { this->Ts = Ts; /* [n_gyro; n_b_g; n_v] */ - var_fx << 1000.0f, 1000.0f, 20.0f, 20.0f, 10.0f, 10.0f; + var_fx << 0.1f, 0.1f, 0.002f, 0.002f, 0.001f, 0.001f; /* [n_acc] */ var_gy << 40.0f, 40.0f; - rho = 5000.0f; + rho = 5.0f; kv = 0.5f; /* k1/m */ g = 9.81f; reset();