UAV flight simulation ground truth

6 views (last 30 days)
Sami
Sami on 29 May 2024
Answered: Prasanna on 17 Sep 2024
How to get ground truth data during a UAV flight simulation specially the magnetometer. I used the measurements of an ideal sensor (mounted on the UAV through the uavIMU adaptor class) and I compared them with readings from plat.read() (uav platform readings) but I had obvious discrepencies.

Answers (1)

Prasanna
Prasanna on 17 Sep 2024
Hi Sami,
It is my understanding that you are getting discrepancies while reading ground truth data during an UAV flight simulation. To debug the issue, you can check the following environmental conditions and sensor characteristics:
  • Use high-fidelity models: the created models should account for noise, bias, and other sensor-specific characteristics
  • Synchronize Data Sources: Ensure that the data from the ideal sensor model and the UAV platform (plat.read()) are synchronized in time. Discrepancies can arise if there is a time lag between data sources.
  • Fusion Algorithms: Use sensor fusion algorithms, such as an Extended Kalman Filter (EKF), to combine data from multiple sensors (e.g., accelerometer, gyroscope, and magnetometer). This can help improve the accuracy of your ground truth data by leveraging the strengths of each sensor.
  • Compare with Known Reference Points: Use known reference points or trajectories in your simulation to validate the sensor readings. For example, if the UAV is supposed to fly in a straight line, verify that the magnetometer readings reflect this trajectory.
  • Post processing: After the simulation, perform post-processing to compare the ideal sensor data with the platform readings. Apply any necessary corrections for known biases or errors.
For more information regarding the above, you can refer the following resources:
Hope this helps!

Categories

Find more on UAV 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!