Skip to content

Commit

Permalink
Get rid of duplicating methods in MPU9250
Browse files Browse the repository at this point in the history
  • Loading branch information
okalachev committed Dec 4, 2024
1 parent ba093a3 commit e0a2c77
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions MPU9250.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,16 +98,7 @@ class MPU9250 : public IMUInterface, public Logger {
bool setRate(Rate rate) override;
const char* getModel() const override;
inline bool new_imu_data() const {return new_imu_data_;}
inline float accel_x_mps2() const {return accel_[0];}
inline float accel_y_mps2() const {return accel_[1];}
inline float accel_z_mps2() const {return accel_[2];}
inline float gyro_x_radps() const {return gyro_[0];}
inline float gyro_y_radps() const {return gyro_[1];}
inline float gyro_z_radps() const {return gyro_[2];}
inline bool new_mag_data() const {return new_mag_data_;}
inline float mag_x_ut() const {return mag_[0];}
inline float mag_y_ut() const {return mag_[1];}
inline float mag_z_ut() const {return mag_[2];}
inline float getTemp() const override {return temp_;}
inline uint8_t whoAmI() override {return who_am_i_;}

Expand Down

0 comments on commit e0a2c77

Please sign in to comment.