How to use 9axes motion shield to get turning of a vehicle

I am a beginner with arduino need to complete our projects very soon.i just bought a 9 axes motion shield and was struggling to find out how to use it to get gyrometer readings and caliberate it.Our requirement is to turn the vehicle headlight according to turns taken by vehicle chasis. So i needed the code to do it and i have no idea about it :frowning: if anybody could help me with the same ? :slight_smile:

This is not a simple assignment.
It is a shame that you waited until the project is due to get started.