Files
p-rad/Kconfig
T

79 lines
1.8 KiB
Plaintext

mainmenu "P-RAD configuration"
comment "Readsb input config"
config BASE_URL
string "HTTP backend base URL"
default "http://127.0.0.1:8200"
help
Base URL of the backend the display fetches
receiver and aircraft JSON from.
comment "Main display configuration"
config AUTOSCALE
bool "Autoscale range to fardest aircraft"
default y
help
Dynamically adjust the displayed range so the
fardest aircraft stays on screen. When disabled
the range is fixed (see MAX_RANGE).
if AUTOSCALE
config RANGE_PADDING
int "Autoscale range padding (km)"
range 1 65535
default 20
help
Padding in km added around the fardest aircraft distance.
endif
config MAX_RANGE
int "Maximum range (km)"
range 1 65535
default 500
help
Fixed range when autoscale is off, initial range when on.
config FIRST_RING_DISTANCE
int "Distance of first range ring from the center (km)"
range 1 65535
default 50
help
Distance of the first ring from the center of the screen.
config TIME_BASED_VECTOR_LENGHT
int "Lenght of time based vector (minutes)"
range 1 8
default 2
help
Time in minutes for time-Based vector represented by line stating in the middle of the an aircraft icon,
going in distance of travel the lenght of this line is controled by this setting.
For example if set to 2 minutes the line will end where the plane be in 2 minutes,
if direction and speed does not change.
comment "Receiver configuration"
config FALLBACK_LAT
string "Fallback receiver latitude"
default "50.000000"
help
Latitude used when the receiver does not provide one.
config FALLBACK_LON
string "Fallback receiver longitude"
default "14.000000"
help
Longitude used when the receiver does not provide one.
comment "Unit configuration"
config METRIC
bool "Use metric units"
default y
help
Show altitudes in meters instead of feet.