beast: increase JITTER_WINDOW
This commit is contained in:
parent
2cacdf4b82
commit
aad1a91646
|
@ -6,6 +6,8 @@ use tokio::sync::mpsc::channel;
|
|||
use adsb::ICAOAddress;
|
||||
use super::beast;
|
||||
|
||||
const JITTER_WINDOW: usize = 5;
|
||||
|
||||
#[derive(Default)]
|
||||
pub struct Entry {
|
||||
pub emitter_category: Option<u8>,
|
||||
|
@ -13,7 +15,7 @@ pub struct Entry {
|
|||
pub altitude: Option<u16>,
|
||||
cpr1: Option<adsb::CPRFrame>,
|
||||
cpr2: Option<adsb::CPRFrame>,
|
||||
positions: [Option<adsb::Position>; 3],
|
||||
positions: [Option<adsb::Position>; JITTER_WINDOW],
|
||||
pub heading: Option<f64>,
|
||||
pub ground_speed: Option<f64>,
|
||||
pub vertical_rate: Option<i16>,
|
||||
|
|
Loading…
Reference in New Issue