1
0
mirror of https://github.com/bspeice/itcs4180 synced 2024-11-16 12:28:15 -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 //Rotate compass and arrow. Rotations must be opposite to counteract device movement
compassRoseView.setRotation((long)(-1 * trueHeading)); compassRoseView.setRotation((long)(-1 * trueHeading));
arrowView.setRotation((long)(-1 * finalRotation)); arrowView.setRotation((long)(-1 * rotateArrow));
if(locationListener.getDistance() <= SEARCH_PROXIMITY) if(locationListener.getDistance() <= SEARCH_PROXIMITY)
{ {