mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 12:43:33 +08:00
ekf2: refactor output predictor to class
- refactor all EKF backend output predictor pieces into new OutputPredictor class - output states are now calculated immediately with new high rate IMU rather than after EKF update - IMU delayed sample is passed as around as control data to avoid storing an extra copy and make the requirement clear
This commit is contained in:
@@ -48,7 +48,7 @@ void EkfLogger::writeStateToFile()
|
||||
void EkfLogger::writeState()
|
||||
{
|
||||
if (_state_logging_enabled) {
|
||||
uint64_t time = _ekf->get_imu_sample_delayed().time_us;
|
||||
uint64_t time = _ekf->time_delayed_us();
|
||||
_file << time;
|
||||
|
||||
if (_state_logging_enabled) {
|
||||
|
||||
Reference in New Issue
Block a user