You are now following this question
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
How can I generate trajectory and INS data from the GPS data I have?
12 Comments
I have the gps data, i want to get the corresponding IMU data for the trajectory. I need to have ax ay az, gx gy gz, mx my mz, position, gps velocity, quaternion so that i can estimate the pose and orientation of the uav. Please guide thanks.
How to use the geo trajectory? What I am trying to do is doable?
If you can please just write down the functions which I need to use to achieve the said purpose, I shall be grateful.
I do not have any code.
If you can tell me which functions to use, I can try it. My end goal is to run the example pose estimate and orientation of uav.
If that is not possible can you please tell me how the data is generated in this example? How did you get trajData.mat?
I just want to know that. Thanks
Example says:
UAV Trajectory This example uses a saved trajectory recorded from a UAV as the ground truth. This trajectory is fed to several sensor simulators to compute simulated accelerometer, gyroscope, magnetometer, and GPS data streams.
How do I compute simulated accelerometer, gyroscope, magnetometer, and GPS data using my trajectory?
Answers (1)
Set 'VariableNamingRule' to 'preserve' to use the original column headers as table variable names.

16 Comments
Your excel file has 37802 rows of data, but only 7355 have Lat/Lon/Height data, so I assumed those with missing data could be ignored.
These are not missing because the update rate of IMU and GPS is different. That’s why.



Set 'VariableNamingRule' to 'preserve' to use the original column headers as table variable names.







Set 'VariableNamingRule' to 'preserve' to use the original column headers as table variable names.





See, the error is 2.5km and 1.3 km which is too big on the simulated data. How can this be resolved?
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom(English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)