Enhance MockLink for Multiple ADS-B Vehicle Simulation #12058
+68
−28
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR addresses the limitations of the current MockLink implementation by enabling the simulation of five ADS-B vehicles, providing a more realistic and consistent flight path on the QGroundControl map. The following changes were made:
MockLink.cc
andMockLink.h
to allow the addition of five vehicles that simulate realistic movements and smooth transitions.ADSB_Simulator.py
script remains in the project to facilitate testing of SDR hardware faults and antenna issues. This redundancy is crucial for users who require a fallback method for ADS-B simulation via TCP link, mimicking a real ADS-B server setup.Screencast.from.2024-10-30.21-23-23.mp4
Checklist:
Related Issue
#12006
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.