mavlink / qgroundcontrol

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

ADSB display a different icon for planes and helicopters #10173

Open timtuxworth opened 2 years ago

timtuxworth commented 2 years ago
booo commented 1 year ago

Do you know which part of the adsb message contains the information about the aircraft type?

zdanek commented 1 year ago

Do you know which part of the adsb message contains the information about the aircraft type?

@booo none. I did thorough fix and update of ADSB code somewhere in early 2022 and dug into this topic. To know aircraft type we must have hex id database to distinct a type. Probably we could find a free service with an API (like adsbexchange.com ) or a partnership with some adsb service provider like flightradar24 or such. This would also require active internet connection otherwise falling back to standard plane icon.

This needs to be discussed in the Community. If there's a need for such functionality I could add it - I can find ADSB data source and code it into QGC. I'd love to take it because I found ADSB topic very interesting.

But my concern is whether there's a wider need from the User's perspective? Any votes for this?

zdanek commented 1 year ago

@booo it seems that we discussed it already with @timtuxworth and I even made some research, see: https://github.com/mavlink/qgroundcontrol/pull/10170#issuecomment-1041496392

so we're on the track. Still waiting on any votes for this functionality.

timtuxworth commented 1 year ago

I'd really like to see vehicle type as it makes a lot of difference for avoidance if it's a helicopter vs a plane. Ideally I'd then like to be able to send the data to the autopilot over mavlink.

jokalode commented 7 months ago

Do you know which part of the adsb message contains the information about the aircraft type?

ADS-B Extended Squitter messages when sent by aircraft do include information about the Emitter Category, i.e. light, small, medium, heavy aircraft, rotocraft, glider, sailplane, etc. (see ED-102B)

Unfortunately, in SBS-1 basestation format the Emitter Category is dropped. The MSG,1 is named ES Identification and Category, but the Category is not part of the message.

ADS-B stations with formats other than SBS-1 do include the Emitter Category. Avionix openAir multitrack e.g. can send MAVLINK ADSB_VEHICLE (246) which has a field emitter_type.