Skip to content

Commit a1c3952

Browse files
author
Matt Woodward
committed
generate
1 parent 2a09c8f commit a1c3952

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-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
}

0 commit comments

Comments
 (0)