55 uint32_t _accel_fs_range;
56 uint32_t _gyro_fs_range;
60 int16_t acc_x, acc_y, acc_z;
61 float acc_x_real, acc_y_real, acc_z_real;
62 int16_t ang_vel_x, ang_vel_y, ang_vel_z;
63 float ang_vel_x_real, ang_vel_y_real, ang_vel_z_real;
67 float pitch_angle, roll_angle;
68 float acc_x_ms, acc_y_ms, acc_z_ms;
71 MPU6050(uint8_t address, uint32_t accel_fs_range, uint32_t gyro_fs_range);
76 float readXAngularVelocity();
77 float readYAngularVelocity();
78 float readZAngularVelocity();
79 float readTemperature();