mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-19 12:15:29 +08:00
Consider Channel Spacing (50, 25, 8.33kHz) for COM frequencies.
Deals with a special topic: While frequencies at VATSIM/flightsim are usually set in 25kHz spacing, some ATC stations (radar) require 8.33kHz tuning. The now made extension handles this and allows to listen to a voice room even if the corresponding frequency is not exactly tuned in. Example: EKDK_CTR 135,270 but needs to be tuned in as 135,275
This commit is contained in:
@@ -49,22 +49,21 @@ namespace BlackMisc
|
||||
|
||||
/*!
|
||||
* \brief Find 0..n stations by callsign
|
||||
* \param callsign
|
||||
* \return
|
||||
*/
|
||||
CAtcStationList findByCallsign(const CCallsign &callsign) const;
|
||||
|
||||
/*!
|
||||
* \brief Find 0..n stations within range of given coordinate
|
||||
* \param coordinate
|
||||
* \param range
|
||||
* \return
|
||||
*/
|
||||
CAtcStationList findWithinRange(const BlackMisc::Geo::ICoordinateGeodetic &coordinate, const BlackMisc::PhysicalQuantities::CLength &range) const;
|
||||
|
||||
/*!
|
||||
* \brief Update distances to own plane
|
||||
* \param position
|
||||
* \brief Find 0..n stations tune in frequency of COM unit (with 25kHt channel spacing
|
||||
*/
|
||||
CAtcStationList findIfComUnitTunedIn25KHz(const BlackMisc::Aviation::CComSystem &comUnit) const;
|
||||
|
||||
/*!
|
||||
* \brief Update distances to coordinate, usually own aircraft's position
|
||||
*/
|
||||
void calculateDistancesToPlane(const BlackMisc::Geo::CCoordinateGeodetic &position);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user