KalmanFilter-master
所属分类:数学计算
开发工具:Java
文件大小:44KB
下载次数:4
上传日期:2019-04-08 08:49:38
上 传 者:
safssdfsafd
说明: 一种卡尔曼滤波,对数据进行线性滤波处理。
(A kalman filter that performs linear filtering on data.)
文件列表:
charts (0, 2014-06-28)
charts\new.png (21764, 2014-06-28)
charts\old.png (20647, 2014-06-28)
lon_lat.dat (3052, 2014-06-28)
src (0, 2014-06-28)
src\BusProvider.java (240, 2014-06-28)
src\Constants.java (209, 2014-06-28)
src\Exporter.java (397, 2014-06-28)
src\GPSDataFactory.java (1373, 2014-06-28)
src\GPSSingleData.java (695, 2014-06-28)
src\Importer.java (1013, 2014-06-28)
src\KalmanFilter.java (3302, 2014-06-28)
src\Main.java (179, 2014-06-28)
KalmanFilter
============
Testing Kalman Filter for GPS data
Dependiences
------------
- Guava
Input:
------
```bash
lon_lat.dat file
```
with format:
No | speed[m/s] | latitide | longitude | timestamp [millis]
1 0.43785 17.11855577502637 51.03160054888576 1403701714000
2 0.43785 17.11851547502637 51.03160074888576 1403701714000
3 0.0 17.11855547502637 51.03160054888576 1403711033000
4 0.31275 17.11853729350***4 51.031597154214*** 1403711034000
.
.
.
Adjusting accuracy:
----------
Adjust:
```bash
Constants.MIN_ACCURACY
```
to value which fits your needs.
Smaller the value is -> Kalman filter algorithm has less impact to the final data.
Output:
-------
```bash
new_lon_lat.dat
```
Usage with [gnuplot]:
---------------------
Old chart (Some points have been intentionally modified to simulate incorrect data):
```bash
plot "lon_lat.dat" using 3:4 w l
```
![alt tag](https://raw.githubusercontent.com/Bresiu/KalmanFilter/master/charts/old.png)
New chart:
```bash
plot "new_lon_lat.dat" using 2:3 w l
```
![alt tag](https://raw.githubusercontent.com/Bresiu/KalmanFilter/master/charts/new.png)
[gnuplot]:http://www.gnuplot.info/
近期下载者:
相关文件:
收藏者: