Skip to content

Kalman filter for smoothing GPS readouts. THIS IS STILL UNDER CONSTRUCTION. NOT COMPLETE!

License

Notifications You must be signed in to change notification settings

yasushi-saito/GpsKalmanFilter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GpsKalmanFilter

Java port of ikalman, originally by Kevin Lacker

https://github.com/mydrive/ikalman

Example

GpsKalmanFilter f = new GpsKalmanFilter(1.0);

/* Move at a constant speed */ double lat = 0; double long = 0; for (int i = 0; i < 20; ++i) { lat += 0.0001; long += 0.0001; f.updateVelocity(lat, long, 1.0 /seconds since last update/);

// Get the smoothed lat/long
double elat = f.getLat();
double elon = f.getLong();

// Get the smoothed lat/long speed per second
double dlat = f.getVelocityLat();
double dlon = f.getVelocityLong();

}

About

Kalman filter for smoothing GPS readouts. THIS IS STILL UNDER CONSTRUCTION. NOT COMPLETE!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages