Comments (3)
Does this implementation work for sensors with different update intervals?
Yes, it's kind of hack here because we use several predict steps and one update step (when GPS coordinate received)
from mad-location-manager.
Could you point me to the code where the magic is? I didn't see any accumulation or averaging to account for multiple predicts prior to an update--but could have missed something. Thanks!
from mad-location-manager.
Sure.
There is predict method after each reception of rotation vector data, right?
And there is update method after each reception of GPS data.
Sensor data frequency is ~50Hz, but GPS frequency much smaller.
Code could be little bit confusing, but there it is:
if (sdi.getGpsLat() == SensorGpsDataItem.NOT_INITIALIZED) {
handlePredict(sdi);
} else {
handleUpdate(sdi);
Location loc = locationAfterUpdateStep(sdi);
publishProgress(loc);
}
from mad-location-manager.
Related Issues (20)
- for gps accuracy
- Sensor calibration needed ? HOT 3
- gpsacckalmanfilter tutorial video ? HOT 1
- Demo App crashes with GPS Provider
- URGENT HELP HOT 5
- crash with deprecated api GPSStatus in "onStop()" method GPSLocationProvider file
- Maven Plugin doesn't work with Gradle 7.2 on Android Studio
- Doesn't work with Gradle 7.1.3
- Demo app crash
- Android location manager does not handle sensors ? HOT 1
- Фильтр Калмана не работает ожидаемым образом HOT 3
- questions on some logic used in code HOT 1
- Need help for starting demo app HOT 2
- Old device without sensors TYPE_ROTATION_VECTOR, TYPE_LINEAR_ACCELERATION HOT 4
- GPSAccKalmanFilter HOT 2
- Trouble updating mapbox sdk version HOT 1
- Kalman location service started location random coords HOT 1
- The Kalman filter doesn't work when I walk backwards
- GPS errors/jumps
- It can be used for count step?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mad-location-manager.