ICM-30630 shield API documentation

By johnamcc , 11 February 2016

Are there any other API examples for Arduino programming of this shield.

In FireFly I can build the messaging ICM30630 to GameRotationVector to ROTM at GRV to Set Reference to Euler Angle GRV to Deg GRV
This gives me the pitch, roll and yaw angles I want. Setting Set Reference, snaps to the co-ord system I need.

How can I see the equivalent Arduino code?

I can work with the examples in ICM30630-eMD_ArduinoZero, using quaternion WXYZ values I can generate pitch, roll and yaw but I would like to convert with API commands from INV_SENSOR_TYPE_GAME_ROTATION_VECTOR output to the reference angles I want.

Am I missing where there is API documentation? I only see some in SensorTypes.h, which seemed to be wrong for the quaternion output.

Simple working examples would be great.

phpbb Topic ID
33218