EKF increase delta velocity process noise per axis if clipping (#663)

This commit is contained in:
Daniel Agar authored and GitHub committed 2020-04-08 08:51:51 +10:00
1 parent d6b6276cdc
commit 47624a0f02
5 files changed
+25 -1

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ Imu::~Imu()
void Imu::send(uint64_t time)
{
imuSample imu_sample;
imuSample imu_sample{};
imu_sample.time_us = time;
imu_sample.delta_ang_dt = (time - _time_last_data_sent) * 1.e-6f;
imu_sample.delta_ang = _gyro_data * imu_sample.delta_ang_dt;