Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions c/include/libsbp/imu_macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
#define SBP_IMU_AUX_IMU_TYPE_BOSCH_BMI160 (0)
#define SBP_IMU_AUX_IMU_TYPE_ST_MICROELECTRONICS_ASM330LLH (1)
#define SBP_IMU_AUX_IMU_TYPE_MURATA_SCHA634_D03 (4)
#define SBP_IMU_AUX_IMU_TYPE_TDK_IAM_20680HP (5)
#define SBP_IMU_AUX_GYROSCOPE_RANGE_MASK (0xfu)
#define SBP_IMU_AUX_GYROSCOPE_RANGE_SHIFT (4u)
#define SBP_IMU_AUX_GYROSCOPE_RANGE_GET(flags) \
Expand Down
Binary file modified docs/sbp.pdf
Binary file not shown.
5 changes: 5 additions & 0 deletions rust/sbp/src/messages/imu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@ pub mod msg_imu_aux {

/// Murata SCHA634-D03
MurataScha634D03 = 4,

/// TDK IAM-20680HP
TdkIam20680Hp = 5,
}

impl std::fmt::Display for ImuType {
Expand All @@ -174,6 +177,7 @@ pub mod msg_imu_aux {
f.write_str("ST Microelectronics ASM330LLH")
}
ImuType::MurataScha634D03 => f.write_str("Murata SCHA634-D03"),
ImuType::TdkIam20680Hp => f.write_str("TDK IAM-20680HP"),
}
}
}
Expand All @@ -185,6 +189,7 @@ pub mod msg_imu_aux {
0 => Ok(ImuType::BoschBmi160),
1 => Ok(ImuType::StMicroelectronicsAsm330Llh),
4 => Ok(ImuType::MurataScha634D03),
5 => Ok(ImuType::TdkIam20680Hp),
i => Err(i),
}
}
Expand Down
1 change: 1 addition & 0 deletions spec/yaml/swiftnav/sbp/imu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ definitions:
- 0: Bosch BMI160
- 1: ST Microelectronics ASM330LLH
- 4: Murata SCHA634-D03
- 5: TDK IAM-20680HP
- temp:
type: s16
desc: Raw IMU temperature
Expand Down