×

With the recent surge in Omicron cases, shipping may be slower than stated times. We are working to build, ship and respond to everything as quickly as possible. Please see all COVID-19 updates here. Thank you for your continued support.

Member #405281

Member Since: February 3, 2013

Country: United States

  • Hello every one! I just bought that component and I try to run the sketch I found in the library (I'm using an arduino UNO). Everything works perfectly ecxept when I want to verify the arduino sketch MPU6050_DMP6:

    Compile error

    MPU6050_DMP6.ino:48:20: error: I2Cdev.h: No such file or directory In file included from /Users/Clemence/Documents/Arduino/libraries/MPU6050/MPU6050_6Axis_MotionApps20.h:37, from MPU6050_DMP6.ino:50: /Users/Clemence/Documents/Arduino/libraries/MPU6050/helper_3dmath.h: In member function 'float Quaternion::getMagnitude()': /Users/Clemence/Documents/Arduino/libraries/MPU6050/helper_3dmath.h:74: error: 'sqrt' was not declared in this scope /Users/Clemence/Documents/Arduino/libraries/MPU6050/helper_3dmath.h: In member function 'float VectorInt16::getMagnitude()': /Users/Clemence/Documents/Arduino/libraries/MPU6050/helper_3dmath.h:111: error: 'sqrt' was not declared in this scope /Users/Clemence/Documents/Arduino/libraries/MPU6050/helper_3dmath.h: In member function 'float VectorFloat::getMagnitude()': /Users/Clemence/Documents/Arduino/libraries/MPU6050/helper_3dmath.h:178: error: 'sqrt' was not declared in this scope In file included from MPU6050_DMP6.ino:50: /Users/Clemence/Documents/Arduino/libraries/MPU6050/MPU6050_6Axis_MotionApps20.h: In member function 'uint8_t MPU6050::dmpInitialize()': /Users/Clemence/Documents/Arduino/libraries/MPU6050/MPU6050_6Axis_MotionApps20.h:285: error: 'delay' was not declared in this scope /Users/Clemence/Documents/Arduino/libraries/MPU6050/MPU6050_6Axis_MotionApps20.h: In member function 'uint8_t MPU6050::dmpGetEuler(float*, Quaternion)': /Users/Clemence/Documents/Arduino/libraries/MPU6050/MPU6050_6Axis_MotionApps20.h:640: error: 'atan2' was not declared in this scope /Users/Clemence/Documents/Arduino/libraries/MPU6050/MPU6050_6Axis_MotionApps20.h:641: error: 'asin' was not declared in this scope /Users/Clemence/Documents/Arduino/libraries/MPU6050/MPU6050_6Axis_MotionApps20.h: In member function 'uint8_t MPU6050::dmpGetYawPitchRoll(float, Quaternion*, VectorFloat*)': /Users/Clemence/Documents/Arduino/libraries/MPU6050/MPU6050_6Axis_MotionApps20.h:647: error: 'atan2' was not declared in this scope /Users/Clemence/Documents/Arduino/libraries/MPU6050/MPU6050_6Axis_MotionApps20.h:649: error: 'sqrt' was not declared in this scope /Users/Clemence/Documents/Arduino/libraries/MPU6050/MPU6050_6Axis_MotionApps20.h:649: error: 'atan' was not declared in this scope

    Is anyone to help? It's probably a stupid error from me but I'm new with arduino...

    Thanks !!!!!!!!!!

No public wish lists :(