pub struct SmartBeaconingConfig {
pub low_speed_kmh: f64,
pub high_speed_kmh: f64,
pub slow_rate_secs: u32,
pub fast_rate_secs: u32,
pub turn_slope: u16,
pub turn_min_deg: f64,
pub turn_time_secs: u32,
}Expand description
Configuration for the SmartBeaconing algorithm.
Matches the TH-D75 Menu 540-547 settings and the HamHUD SmartBeaconing
v2.1 parameter set.
Fields§
§low_speed_kmh: f64Speed threshold below which slow_rate is used (km/h). Default: 5.
Corresponds to TH-D75 Menu 540 (L Spd).
high_speed_kmh: f64Speed at/above which fast_rate is used (km/h). Default: 70.
Corresponds to TH-D75 Menu 541 (H Spd).
slow_rate_secs: u32Beacon interval when stopped/slow (seconds). Default: 1800 (30 min). Corresponds to TH-D75 Menu 542 (L Rate).
fast_rate_secs: u32Beacon interval at high speed (seconds). Default: 180 (3 min). Corresponds to TH-D75 Menu 543 (H Rate).
turn_slope: u16Turn slope scalar used in the speed-dependent turn threshold
formula turn_min + (turn_slope * 10) / speed_kmh. Default: 26.
Corresponds to TH-D75 Menu 544 (Turn Slope).
turn_min_deg: f64Minimum heading change for a turn beacon, in degrees. Applied as
the turn_min term in the threshold formula. Default: 28.
Corresponds to TH-D75 Menu 545 (Turn Thresh).
turn_time_secs: u32Minimum time between turn-triggered beacons (seconds). Default: 15. Corresponds to TH-D75 Menu 546 (Turn Time).
Trait Implementations§
Source§impl Clone for SmartBeaconingConfig
impl Clone for SmartBeaconingConfig
Source§fn clone(&self) -> SmartBeaconingConfig
fn clone(&self) -> SmartBeaconingConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more