i am using insfilterNonholonomic filter and i wanted to ask how to conver my gps speed to velocity in local NED coordinates

2 views (last 30 days)
i am using insfilterNonholonomic filter and i wanted to ask how to conver my gps speed to velocity in local NED coordinates my gps data are "lla , speed ,course, horizontal position accuracy". and how to find velocity accuracy ?

Answers (1)

Brian Fanous
Brian Fanous on 31 Oct 2022
Assuming your device is traveling on the ground (no Z direction velocity, Z position == 0) and we are working in NED....
Your speed is the vector magnitude of your x and y velocity. Your course is the direction of the speed.
speed = sqrt(velx*velx + vely*vely)
course = atan2(vely, velx)
Your velocity accuracy is a function of your GPS device. Perhaps look at the device specification. The tune() method can help you determine the optimal value if you have a ground truth trajectory.
  1 Comment
Junhui
Junhui on 1 Mar 2024
Hi there: I am also using insfilterNonholonomic filter to predict system trajectory. But what if I need to account for altitude change. How would that affect the formula to compute gps velocity (assuming system altitude varies only a little bit as compared to latitude or longitude of system)? Thanks...

Sign in to comment.

Categories

Find more on WSNs in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!