mirror of
				https://github.com/bspeice/itcs4180
				synced 2025-11-03 18:00:37 -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:
		@ -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)
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user