Browse Source

fixed typos

master
Roman 9 years ago
parent
commit
b749a7557b
  1. 2
      EKF/ekf.cpp
  2. 2
      EKF/ekf.h

2
EKF/ekf.cpp

@ -160,7 +160,7 @@ bool Ekf::update()
_fuse_height = true; _fuse_height = true;
} }
// If we are using GPs aiding and data has fallen behind the fusion time horizon then fuse it // If we are using GPS aiding and data has fallen behind the fusion time horizon then fuse it
// if we aren't doing any aiding, fake GPS measurements at the last known position to constrain drift // if we aren't doing any aiding, fake GPS measurements at the last known position to constrain drift
// Coincide fake measurements with baro data for efficiency with a minimum fusion rate of 5Hz // Coincide fake measurements with baro data for efficiency with a minimum fusion rate of 5Hz
if (_gps_buffer.pop_first_older_than(_imu_sample_delayed.time_us, &_gps_sample_delayed) && _control_status.flags.gps) { if (_gps_buffer.pop_first_older_than(_imu_sample_delayed.time_us, &_gps_sample_delayed) && _control_status.flags.gps) {

2
EKF/ekf.h

@ -86,7 +86,7 @@ public:
filter_control_status_u _control_status = {}; filter_control_status_u _control_status = {};
// get the ekf WGS-84 origin positoin and height and the system time it was last set // get the ekf WGS-84 origin position and height and the system time it was last set
void get_ekf_origin(uint64_t *origin_time, map_projection_reference_s *origin_pos, float *origin_alt); void get_ekf_origin(uint64_t *origin_time, map_projection_reference_s *origin_pos, float *origin_alt);
private: private:

Loading…
Cancel
Save