Added more precise function to calculate NL (based on cmath lib).

Created constants for some of the values scattered in the code.
This commit is contained in:
teixeluis 2021-06-19 23:41:06 +01:00
parent 8afd83a4e1
commit 2ceb49e4f2
4 changed files with 51 additions and 12 deletions

View file

@ -83,6 +83,10 @@ const float adsb_lat_lut[58] = {
86.53536998, 87.00000000
};
const float PI = 3.14159265358979323846;
const float NZ = 15;
void make_frame_adsb(ADSBFrame& frame, const uint32_t ICAO_address);
void encode_frame_id(ADSBFrame& frame, const uint32_t ICAO_address, const std::string& callsign);