mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2024-12-17 18:10:12 +00:00
add env var READSB_NET_BR_OPTIMIZE_FOR_MLAT
BeastReduce: Keep messages relevant to mlat-client enables: --net-beast-reduce-optimize-for-mlat
This commit is contained in:
parent
3f5abd4a47
commit
1b8961ad23
2 changed files with 5 additions and 0 deletions
|
@ -368,6 +368,7 @@ There are many optional parameters relating to the ingestion of data and the gen
|
|||
| `READSB_NET_BEAST_REDUCE_INTERVAL` | BeastReduce position update interval, longer means less data (valid range: `0.000` - `14.999`) | `--net-beast-reduce-interval=<seconds>` | `1.0` |
|
||||
| `READSB_NET_BEAST_REDUCE_FILTER_DIST` | Restrict beast-reduce output to aircraft in a radius of X nmi | `--net-beast-reduce-filter-dist=<nmi>` | Unset |
|
||||
| `READSB_NET_BEAST_REDUCE_FILTER_ALT` | Restrict beast-reduce output to aircraft below X ft | `--net-beast-reduce-filter-alt=<ft>` | Unset |
|
||||
| `READSB_NET_BR_OPTIMIZE_FOR_MLAT` | BeastReduce: Keep messages relevant to mlat-client | `--net-beast-reduce-optimize-for-mlat` | Unset |
|
||||
| `READSB_NET_BEAST_REDUCE_OUT_PORT` | TCP BeastReduce output listen ports (comma separated) | `--net-beast-reduce-out-port=<ports>` | Unset |
|
||||
| `READSB_NET_BEAST_INPUT_PORT` | TCP Beast input listen ports | `--net-bi-port=<ports>` | `30004,30104` |
|
||||
| `READSB_NET_BEAST_OUTPUT_PORT` | TCP Beast output listen ports | `--net-bo-port=<ports>` | `30005` |
|
||||
|
|
|
@ -170,6 +170,10 @@ fi
|
|||
# Default it to 0.5 second if no value is provided, which is reasonable for feeding aggregators
|
||||
READSB_CMD+=("--net-beast-reduce-interval=${READSB_NET_BEAST_REDUCE_INTERVAL:-0.5}")
|
||||
|
||||
if chk_enabled "$READSB_NET_BR_OPTIMIZE_FOR_MLAT"; then
|
||||
READSB_CMD+=("--net-beast-reduce-optimize-for-mlat")
|
||||
fi
|
||||
|
||||
if chk_enabled "$READSB_NET_SBS_REDUCE"; then
|
||||
READSB_CMD+=("--net-sbs-reduce")
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue