One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
/* Kalman Filter */ | |
float Qvalue; | |
long locationTimeInMillis = (long)(location.getElapsedRealtimeNanos() / 1000000); | |
long elapsedTimeInMillis = locationTimeInMillis - runStartTimeInMillis; | |
if(currentSpeed == 0.0f){ | |
Qvalue = 3.0f; //3 meters per second | |
}else{ | |
Qvalue = currentSpeed; // meters per second |