Skip to content

Commit 76c51e9

Browse files
authored
Add identifier for TDK IAM-20680HP IMU [ESD-2563] (#1304)
1 parent c9e05e5 commit 76c51e9

File tree

4 files changed

+7
-0
lines changed

4 files changed

+7
-0
lines changed

c/include/libsbp/imu_macros.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
#define SBP_IMU_AUX_IMU_TYPE_BOSCH_BMI160 (0)
7878
#define SBP_IMU_AUX_IMU_TYPE_ST_MICROELECTRONICS_ASM330LLH (1)
7979
#define SBP_IMU_AUX_IMU_TYPE_MURATA_SCHA634_D03 (4)
80+
#define SBP_IMU_AUX_IMU_TYPE_TDK_IAM_20680HP (5)
8081
#define SBP_IMU_AUX_GYROSCOPE_RANGE_MASK (0xfu)
8182
#define SBP_IMU_AUX_GYROSCOPE_RANGE_SHIFT (4u)
8283
#define SBP_IMU_AUX_GYROSCOPE_RANGE_GET(flags) \

docs/sbp.pdf

237 Bytes
Binary file not shown.

rust/sbp/src/messages/imu.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,9 @@ pub mod msg_imu_aux {
164164

165165
/// Murata SCHA634-D03
166166
MurataScha634D03 = 4,
167+
168+
/// TDK IAM-20680HP
169+
TdkIam20680Hp = 5,
167170
}
168171

169172
impl std::fmt::Display for ImuType {
@@ -174,6 +177,7 @@ pub mod msg_imu_aux {
174177
f.write_str("ST Microelectronics ASM330LLH")
175178
}
176179
ImuType::MurataScha634D03 => f.write_str("Murata SCHA634-D03"),
180+
ImuType::TdkIam20680Hp => f.write_str("TDK IAM-20680HP"),
177181
}
178182
}
179183
}
@@ -185,6 +189,7 @@ pub mod msg_imu_aux {
185189
0 => Ok(ImuType::BoschBmi160),
186190
1 => Ok(ImuType::StMicroelectronicsAsm330Llh),
187191
4 => Ok(ImuType::MurataScha634D03),
192+
5 => Ok(ImuType::TdkIam20680Hp),
188193
i => Err(i),
189194
}
190195
}

spec/yaml/swiftnav/sbp/imu.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ definitions:
8787
- 0: Bosch BMI160
8888
- 1: ST Microelectronics ASM330LLH
8989
- 4: Murata SCHA634-D03
90+
- 5: TDK IAM-20680HP
9091
- temp:
9192
type: s16
9293
desc: Raw IMU temperature

0 commit comments

Comments
 (0)