mirror of
https://github.com/bspeice/itcs4180
synced 2024-12-04 13:18:16 -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:
parent
d1bc94260c
commit
36fa30aa06
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user