Skip to content

Commit

Permalink
Update imu.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAditya123 authored Sep 11, 2024
1 parent 2c28fdf commit 54b0736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sensor/IMU/imu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace sensor {

LSM6DSOX_IMU::LSM6DSOX_IMU(I2C_HandleTypeDef &hi2c)
: gyroscope_(hi2c), accelerometer_(hi2c) {
}
} //LSM6DSOX_IMU inherits from both Accelerometer and Gyroscope

void LSM6DSOX_IMU::Initialize() {
gyroscope_.SetODR(LSM6DSOX_Gyroscope::ODR::ODR104);
Expand Down

0 comments on commit 54b0736

Please sign in to comment.