EKF: Remove use of camel case variable names

Also fixes bug in GPS speed accuracy check that was using horizontal position accuracy variable by mistake.
This commit is contained in:
Paul Riseborough
2016-01-28 08:37:45 +11:00
parent cc50d26601
commit 39eef3a2d7
4 changed files with 75 additions and 75 deletions
+1 -1
View File
@@ -206,7 +206,7 @@ void Ekf::predictState()
{
if (!_earth_rate_initialised) {
if (_gps_initialised) {
calcEarthRateNED(_earth_rate_NED, _posRef.lat_rad);
calcEarthRateNED(_earth_rate_NED, _pos_ref.lat_rad);
_earth_rate_initialised = true;
}
}