ekf2: remove duplicate buffer push of system flags

This commit is contained in:
bresch
2023-04-04 09:51:57 +02:00
committed by Daniel Agar
parent 831b0d9b11
commit fb3b4a3151
@@ -459,8 +459,6 @@ void EstimatorInterface::setSystemFlagData(const systemFlagUpdate &system_flags)
}
}
_system_flag_buffer->push(system_flags);
const int64_t time_us = system_flags.time_us
- static_cast<int64_t>(_dt_ekf_avg * 5e5f); // seconds to microseconds divided by 2