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