mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-25 23:46:04 +08:00
[imu] better default configuration for ICM42688 (#3339)
This commit is contained in:
committed by
GitHub
parent
a608eb89a9
commit
ec1c1e7004
@@ -10,9 +10,8 @@
|
||||
<configure name="IMU_ODR" default="4KHZ" description="Output data rate of ACCEL and GYRO (invensense3.h:95/126)"/>
|
||||
<configure name="GYRO_RANGE" default="500DPS" description="Gyro range (invensense3.h:114)"/>
|
||||
<configure name="ACCEL_RANGE" default="2G" description="Accel range (invensense3.h:145)"/>
|
||||
|
||||
<define name="INVENSENSE3_GYRO_AAF" value="977" description="Anti-aliasing filter"/>
|
||||
<define name="INVENSENSE3_ACCEL_AAF" value="213" description="Anti-aliasing filter"/>
|
||||
<configure name="GYRO_AAF" value="977" description="Gyro anti-aliasing filter"/>
|
||||
<configure name="ACCEL_AAF" value="213" description="Accel anti-aliasing filter"/>
|
||||
</doc>
|
||||
<dep>
|
||||
<depends>i2c,spi_master,imu_common</depends>
|
||||
@@ -30,8 +29,10 @@
|
||||
<configure name="IMU_SPI_DEV" default="spi1" case="lower|upper"/>
|
||||
<configure name="IMU_SPI_SLAVE_IDX" default="SPI_SLAVE0"/>
|
||||
<configure name="IMU_ODR" default="4KHZ"/>
|
||||
<configure name="GYRO_RANGE" default="500DPS"/>
|
||||
<configure name="ACCEL_RANGE" default="2G"/>
|
||||
<configure name="GYRO_RANGE" default="2000DPS"/>
|
||||
<configure name="ACCEL_RANGE" default="8G"/>
|
||||
<configure name="GYRO_AAF" default="977"/>
|
||||
<configure name="ACCEL_AAF" default="213"/>
|
||||
|
||||
<define name="IMU_SPI_DEV" value="$(IMU_SPI_DEV_LOWER)"/>
|
||||
<define name="USE_$(IMU_SPI_DEV_UPPER)"/>
|
||||
@@ -42,9 +43,8 @@
|
||||
<define name="INVENSENSE3_ACCEL_ODR" value="INVENSENSE3_ACCEL_ODR_$(IMU_ODR)"/>
|
||||
<define name="INVENSENSE3_GYRO_RANGE" value="INVENSENSE3_GYRO_RANGE_$(GYRO_RANGE)"/>
|
||||
<define name="INVENSENSE3_ACCEL_RANGE" value="INVENSENSE3_ACCEL_RANGE_$(ACCEL_RANGE)"/>
|
||||
|
||||
<define name="INVENSENSE3_GYRO_AAF" value="977"/>
|
||||
<define name="INVENSENSE3_ACCEL_AAF" value="213"/>
|
||||
<define name="INVENSENSE3_GYRO_AAF" value="$(GYRO_AAF)"/>
|
||||
<define name="INVENSENSE3_ACCEL_AAF" value="$(ACCEL_AAF)"/>
|
||||
|
||||
<file name="invensense3.c" dir="peripherals"/>
|
||||
<file name="imu_icm42688.c"/>
|
||||
|
||||
Reference in New Issue
Block a user