Inertial sensor rotation

We used the inertial sensor last year with some success, but using the same code this year hasn’t been so successful. We’re just trying to read in the rotation value of the sensor and we keep getting weird results. The readings stay at 0 for a few seconds and then start to increase in odd increments. The sensor seems fine on the brain, and is reading accurately there.

     RightMotors.spin(directionType::fwd,speed,velocityUnits::pct);
      LeftMotors.spin(directionType::rev,speed,velocityUnits::pct);
      cout << "Left Degrees:" << (gyroHero.rotation()) << endl;