Inheritance: IInclinometerReading
Beispiel #1
0
 static Inclination ConvertToInclination(InclinometerReading reading)
 {
     return new Inclination
     {
         Roll = reading.RollDegrees,
         Pitch = reading.PitchDegrees,
         Yaw = reading.YawDegrees
     };
 }
Beispiel #2
0
 public void setInclinometerReading(InclinometerReading reading)
 {
     this.inclinometer_x = reading.PitchDegrees;
     this.inclinometer_y = reading.RollDegrees;
     this.inclinometer_z = reading.YawDegrees;
 }