mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-20 08:59:06 +08:00
HIL bugfixing
This commit is contained in:
parent
d62058eccf
commit
ed9fbbce59
@ -355,6 +355,8 @@ int KalmanNav::predictState(float dt)
|
||||
float LDot = vN / R;
|
||||
float lDot = vE / (cosLSing * R);
|
||||
float rotRate = 2 * omega + lDot;
|
||||
|
||||
// XXX position prediction using speed
|
||||
float vNDot = fN - vE * rotRate * sinL +
|
||||
vD * LDot;
|
||||
float vDDot = fD - vE * rotRate * cosL -
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user