mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-20 07:59:06 +08:00
Move time update to sensor base class
This commit is contained in:
parent
1832bedd13
commit
0831c158f2
@ -24,7 +24,6 @@ void Imu::send(uint32_t time)
|
||||
imu_sample.delta_vel = _accel_data * imu_sample.delta_vel_dt;
|
||||
|
||||
_ekf->setIMUData(imu_sample);
|
||||
_time_last_data_sent = time;
|
||||
}
|
||||
|
||||
void Imu::setData(const Vector3f& accel, const Vector3f& gyro)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user