/**
  * Set GPS data
  */
 protected function setGPSarrays()
 {
     $this->removeInvalidEntriesFromGPSarrays();
     $this->TrainingObject->setArrayTime($this->gps['time_in_s']);
     $this->TrainingObject->setArrayDistance($this->gps['km']);
     $this->TrainingObject->setArrayLatitude($this->gps['latitude']);
     $this->TrainingObject->setArrayLongitude($this->gps['longitude']);
     $this->TrainingObject->setArrayAltitude($this->gps['altitude']);
     $this->TrainingObject->setArrayHeartrate($this->gps['heartrate']);
     $this->TrainingObject->setArrayCadence($this->gps['rpm']);
     $this->TrainingObject->setArrayPower($this->gps['power']);
     $this->TrainingObject->setArrayTemperature($this->gps['temp']);
     $this->TrainingObject->setArrayGroundContact($this->gps['groundcontact']);
     $this->TrainingObject->setArrayVerticalOscillation($this->gps['oscillation']);
     $this->TrainingObject->setArrayVerticalRatio($this->gps['vertical_ratio']);
     $this->TrainingObject->setArrayGroundContactBalance($this->gps['groundcontact_balance']);
     $this->TrainingObject->setArrayStroke($this->gps['stroke']);
     $this->TrainingObject->setArrayStrokeType($this->gps['stroketype']);
     $this->TrainingObject->setArrayHRV($this->gps['hrv']);
     $this->setValuesFromArraysIfEmpty();
 }