mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-12-02 22:40:27 +08:00
Move time update to sensor base class
This commit is contained in:
1 parent
1832bedd13
commit
0831c158f2
4 files changed
+1
-3
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user