mavlink / qgroundcontrol

Cross-platform ground control station for drones (Android, iOS, Mac OS, Linux, Windows)
http://qgroundcontrol.io
3.33k stars 3.64k forks source link

Enhance MockLink for Multiple ADS-B Vehicle Simulation #12058

Closed Paschalis closed 1 week ago

Paschalis commented 3 weeks ago

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:

https://github.com/user-attachments/assets/567f1c41-ef7e-4d06-a51a-6426f5183813

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.

HTRamsey commented 3 weeks ago

As it seems like you are actively using ADSB, do you think it would be valuable to parse more ADSB messages for the remaining data not currently used in mavlink_adsb_vehicle_t? Like hor_velocity, ver_velocity, tslc, etc

Paschalis commented 3 weeks ago

As it seems like you are actively using ADSB, do you think it would be valuable to parse more ADSB messages for the remaining data not currently used in mavlink_adsb_vehicle_t? Like hor_velocity, ver_velocity, tslc, etc

I agree that parsing additional ADS-B messages would be beneficial. In addition to the mentioned fields, we would like to add:

Suggest displaying these details in a hover field when the mouse is over each vehicle, allowing users to access relevant information only as needed.

Additionally, should adding appropriate vehicle images based on aircraft type to help distinguish between planes and helicopters, as discussed on Aviation Stack Exchange.

HTRamsey commented 3 weeks ago

Could you make a feature request for that and any other thoughts you have on it? Adding the messages is very quick and easy, visual stuff might take a slight bit more

DonLakeFlyer commented 1 week ago

Suggest displaying these details in a hover field when the mouse is over each vehicle, allowing users to access relevant information only as needed.

I would make this show up with a click on the vehicle. Hover stuff doesn't work on mobile.

DonLakeFlyer commented 1 week ago

Nice stuff. Thanks for the pull