mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 22:23:35 +08:00
IMU: parameterize IMU integration time (IMU_INTEG_RATE)
- default integration rate now 200 Hz (5000 us interval) - set update rate for all drivers and simulators using PX4Accelerometer/PX4Gyroscope
This commit is contained in:
@@ -95,6 +95,8 @@ Sih::Sih() :
|
||||
_loop_perf(perf_alloc(PC_ELAPSED, MODULE_NAME": execution")),
|
||||
_sampling_perf(perf_alloc(PC_ELAPSED, MODULE_NAME": sampling"))
|
||||
{
|
||||
_px4_accel.set_update_rate(LOOP_INTERVAL);
|
||||
_px4_gyro.set_update_rate(LOOP_INTERVAL);
|
||||
}
|
||||
|
||||
void Sih::run()
|
||||
|
||||
Reference in New Issue
Block a user