You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In rebuildR() inside GPSAccKalman.cpp, there is this line
double velSigma = posSigma * 1.0e-01;
Can you please explain this ? Do you suggest or have ideas how to improve this by measuring the device parameters/sensors ?
In GPSAccKalmanAlloc() inside GPSAccKalman.cpp, how to prepare a proper value for accDev ?
Please suggest here also how it can be improved.
for calling GPSAccKalmanPredict(),
Is it wise to accumulate the sensors , average it and call this function OR
keep calling for every callback from the device ?
Thank you so much for the help.
The text was updated successfully, but these errors were encountered:
It means that we trust position measurement 10 times less than we trust velocity measurement. (as bigger value in R matrix as less we trust this measurment. and the oposite is right too).
It's not totally random but still very inaccurate value. I found somewhere that velocity received from GPS sattelite based on Doppler effect and it's ten times more accurate than coordinates. That's why I used this coefficient.
I'm not sure how to improve these values, sorry.
Accelerometer deviation can be found in 2 ways. First - you can get it from documentation to your particular accelerometer. Second - you can ask user and apply calibration step. I'm not sure if calibration step in this repo or not. But the princip is very simple. You need to log accelerometer measurements during 1 minute (or 30 seconds) when your phone/device is laying without movement. Expected measurement for Z axis is 9.81, and for X and Y - zeroes . SO the mean value for X and Y will be our accelerometer deviation. For Z axis you need to subtract mean value from 9.81 .
It's better to call predict every time you get measurements from sensor.
Thank you for interest. The library is outdated so I'd recommend to use it as base for your solution.
Hi
I have some questions on some logic
double velSigma = posSigma * 1.0e-01;
Can you please explain this ? Do you suggest or have ideas how to improve this by measuring the device parameters/sensors ?
In GPSAccKalmanAlloc() inside GPSAccKalman.cpp, how to prepare a proper value for accDev ?
Please suggest here also how it can be improved.
for calling GPSAccKalmanPredict(),
Is it wise to accumulate the sensors , average it and call this function OR
keep calling for every callback from the device ?
Thank you so much for the help.
The text was updated successfully, but these errors were encountered: