Arduino/Genuino 101 CurieIMU Orientation Visualiser


I'm having trouble getting this working,

Anyone know where to find CurieIMU.h(not CurieImu)

Arduino: 1.6.7 (Windows 8.1), Board: "Arduino 101"

Board Intel:i586:izmir_fg doesn't define a 'build.board' preference. Auto-set to: I586_IZMIR_FG
Board Intel:i586:izmir_fd doesn't define a 'build.board' preference. Auto-set to: I586_IZMIR_FD
Board Intel:i686:izmir_ec doesn't define a 'build.board' preference. Auto-set to: I686_IZMIR_EC
Gyro_Testing:41: error: 'Madgwick' does not name a type

 Madgwick filter; // initialise Madgwick object


C:\Users\us1\Documents\Arduino\Gyro_Testing\Gyro_Testing.ino: In function 'void loop()':

Gyro_Testing:120: error: 'filter' was not declared in this scope

   filter.updateIMU(gx / factor, gy / factor, gz / factor, ax, ay, az);


Multiple libraries were found for "MadgwickAHRS.h"
 Used: C:\Program Files (x86)\Arduino\libraries\MadgwickAHRS
 Not used: C:\Users\us1\Documents\Arduino\libraries\Madgwick
Multiple libraries were found for "CurieImu.h"
 Used: C:\Users\us1\Documents\Arduino\libraries\CurieImu
 Not used: C:\Users\us1\AppData\Local\Arduino15\packages\Intel\hardware\arc32\1.0.4\libraries\CurieImu
exit status 1
'Madgwick' does not name a type

  This report would have more information with
  "Show verbose output during compilation"
  enabled in File > Preferences.

Error list, this is while using older code I think made for CurieImu.h

Still getting the above errors though

Hi Brian,
sorry for the inconvenience, the example has been updated before the new Curie core release (which will bring the library renaming etc).
Since you found the “old” example (here) you also need to install Madgwick library from the Library Manager to be able to run it

Hey thanks and np facchinm.

I’ve got it working now :slight_smile:

However it is inaccurate. Is there any way to make it 1:1 with movement?

Hi BrianG23

There are two things you can try - adjust the factor downward a bit at a time - second is if you go into the CurieImu.cpp file you can adjust the betadef term downward.


Thanks merlin. Working on it :)