HIL bugfixing

This commit is contained in:
Lorenz Meier 2013-04-25 17:25:42 +02:00
parent d62058eccf
commit ed9fbbce59
4 changed files with 43 additions and 30 deletions

View File

@ -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 -