pub fn cbf_timeout_ms(
distance_m: f64,
to_cbf_min: f64,
to_cbf_max: f64,
dist_max: f64,
to_acc: f64,
) -> f64Expand description
Segment-based CBF timeout TO_CBF (equations E.1 to E.3, and F.1, F.2).
distance_m is the forwarding progress PROG (non-area CBF, clause E.3.2)
or the forwarding distance F_DIST (area CBF, clause F.3.2); to_acc is
the optional Access Layer constraint TO_ACC.
SEGN = max(1, ceil(D / DIST_MAX)); TO_CBF_WO_ACC = TO_CBF_MAX * SEGN + (TO_CBF_MIN - TO_CBF_MAX) / DIST_MAX
- (D - DIST_MAX * (SEGN - 1)); TO_CBF = max(TO_CBF_WO_ACC, TO_ACC).