Searched refs:normalizeRadians (Results 1 – 8 of 8) sorted by relevance
23 import static com.android.server.uwb.correction.math.MathHelper.normalizeRadians;74 assertClose(normalizeRadians((float) toRadians(5.0f)), toRadians(5)); in testNormalizeRadians()75 assertClose(normalizeRadians((float) toRadians(-5.0f)), toRadians(-5)); in testNormalizeRadians()76 assertClose(normalizeRadians((float) toRadians(-350.0f)), toRadians(10)); in testNormalizeRadians()77 assertClose(normalizeRadians((float) toRadians(350.0f)), toRadians(-10)); in testNormalizeRadians()78 assertClose(normalizeRadians((float) toRadians(170.0f)), toRadians(170)); in testNormalizeRadians()79 assertClose(normalizeRadians((float) toRadians(-170.0f)), toRadians(-170)); in testNormalizeRadians()80 assertClose(normalizeRadians((float) toRadians(-190.0f)), toRadians(170)); in testNormalizeRadians()81 assertClose(normalizeRadians((float) toRadians(190.0f)), toRadians(-170)); in testNormalizeRadians()82 assertClose(normalizeRadians((float) toRadians(-428.0f)), toRadians(-68)); in testNormalizeRadians()[all …]
19 import static com.android.server.uwb.correction.math.MathHelper.normalizeRadians;56 result.value = MathHelper.normalizeRadians(result.value); in averageSamples()66 super.remap(v -> MathHelper.normalizeRadians(selector.run(v))); in remap()89 float lowestAngle = normalizeRadians(avgAngle - F_PI); in sortSamples()
123 mAbsoluteYaw = MathHelper.normalizeRadians(mAbsoluteYaw + yaw); in onSensorChanged()124 mAbsolutePitch = MathHelper.normalizeRadians(mAbsolutePitch + pitch); in onSensorChanged()125 mAbsoluteRoll = MathHelper.normalizeRadians(mAbsoluteRoll + roll); in onSensorChanged()
20 import static com.android.server.uwb.correction.math.MathHelper.normalizeRadians;84 float poseAngle = normalizeRadians((float) toRadians(ang)); in simulateRotation()85 float azimuth = MathHelper.normalizeRadians(poseAngle - (float) toRadians(mTagAngle)); in simulateRotation()
21 import static com.android.server.uwb.correction.math.MathHelper.normalizeRadians;193 normalizeRadians(abs(normalTheory.azimuth - mLastInput.azimuth)); in prime()196 float normalDifference = abs(normalizeRadians(normalTheory.azimuth - normalInput.azimuth)); in prime()197 float mirrorDifference = abs(normalizeRadians(mirrorTheory.azimuth - mirrorInput.azimuth)); in prime()
78 elevation = MathHelper.normalizeRadians(elevation); in AoaVector()92 azimuth = MathHelper.normalizeRadians(azimuth); in AoaVector()
66 elevation = MathHelper.normalizeRadians(elevation); in SphericalVector()80 azimuth = MathHelper.normalizeRadians(azimuth); in SphericalVector()
71 public static float normalizeRadians(float rad) { in normalizeRadians() method in MathHelper