V5 Inertia Sensor

I am new to the new Vex Inertial sensor and i am trynna use it for my autos what are the type of things i need to do ?

This is the example code given

#include “vex.h”

using namespace vex;

int main() {

vexcodeInit();
Inertial20.calibrate();

while (Inertial20.isCalibrating()) {
wait(100, msec);
}

LeftMotor.spin(forward);
RightMotor.spin(reverse);

waitUntil((Inertial20.rotation(degrees) >= 90.0));
LeftMotor.stop();
RightMotor.stop();
wait(1, seconds);
}
[/quote]