static Inclination ConvertToInclination(InclinometerReading reading) { return new Inclination { Roll = reading.RollDegrees, Pitch = reading.PitchDegrees, Yaw = reading.YawDegrees }; }
public void setInclinometerReading(InclinometerReading reading) { this.inclinometer_x = reading.PitchDegrees; this.inclinometer_y = reading.RollDegrees; this.inclinometer_z = reading.YawDegrees; }