private void checkIfCarIsStanding() {
   if (gyrzValues.isCarStanding()) {
     handleCarStanding();
   } else if (!carStarted) {
     carStarted = true;
     increasePowerIfWeHadStartingProblems();
     handleRaceStarted();
   }
 }
  private void handleSensorEvent(SensorEvent event) {
    gyrzValues.shift(event.getG()[2]);
    pilot.tell(new PowerAction(currentPower.getValue()), getSelf());

    if (gyrzValues.isHistoryInitialized()) checkIfCarIsStanding();
  }