Is there a possibility to calculate the velocity of a car if I just have the GPS data and my acceleration
3 views (last 30 days)
Show older comments
I already tried the integration of acceleration, but the values I got where not realistic.
for that I used https://de.mathworks.com/help/matlab/ref/cumtrapz.html
3 Comments
David K.
on 18 Oct 2019
Edited: David K.
on 18 Oct 2019
Ok, so I do expect that that is causing at least some of your issues. If you try the change I proposed does the output look closer to what you are expecting?
Also, What is the plot you are showing? Just one of the velocities or a combination of all three?
Accepted Answer
Sid Singh
on 21 Oct 2019
Edited: Sid Singh
on 21 Oct 2019
Hi, it is possible with just the GPS data alone or just the Accelerometer data. You have to differentiate the GPS data and integrate the Accelerometer data to get raw velocity and ideally they should be the same.
You can compare the two velocities and look for a similarity.
Usually the data has noise so you may want to use a filtering technique like Kalman filtering which works best if your noise is gaussian or Particle filtering if your noise model can't be estimated.
0 Comments
More Answers (0)
See Also
Categories
Find more on Automated Driving Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!