1
0
mirror of https://github.com/bspeice/itcs4180 synced 2024-11-08 16:38:14 -05:00

Removed averages from compass for recording purposes. When walking it

seems to jump around more than without it, so removed until I can figure
out why.
This commit is contained in:
tokugawa 2014-04-26 10:10:34 -04:00
parent d1bc94260c
commit 36fa30aa06

View File

@ -175,7 +175,7 @@ public class CompassActivity extends Activity implements SensorEventListener
//Rotate compass and arrow. Rotations must be opposite to counteract device movement
compassRoseView.setRotation((long)(-1 * trueHeading));
arrowView.setRotation((long)(-1 * finalRotation));
arrowView.setRotation((long)(-1 * rotateArrow));
if(locationListener.getDistance() <= SEARCH_PROXIMITY)
{