FlightGear next
adf.cxx File Reference
#include <simgear/compiler.h>
#include <simgear/math/sg_geodesy.hxx>
#include <simgear/math/sg_random.hxx>
#include <simgear/timing/sg_time.hxx>
#include <Main/fg_props.hxx>
#include <Main/util.hxx>
#include <Navaids/navlist.hxx>
#include "adf.hxx"
#include <Sound/morse.hxx>
#include <simgear/sound/sample_group.hxx>
#include <iostream>
#include <string>
#include <sstream>

Go to the source code of this file.

Macros

#define RESPONSIVENESS   0.5
 

Functions

static double adjust_range (double transmitter_elevation_ft, double aircraft_altitude_ft, double max_range_nm)
 Fiddle with the reception range a bit.
 

Macro Definition Documentation

◆ RESPONSIVENESS

#define RESPONSIVENESS   0.5

Definition at line 31 of file adf.cxx.

Function Documentation

◆ adjust_range()

static double adjust_range ( double transmitter_elevation_ft,
double aircraft_altitude_ft,
double max_range_nm )
static

Fiddle with the reception range a bit.

TODO: better reception at night (??).

Definition at line 40 of file adf.cxx.