pub fn tilt_share(climb_m_s: f64, top_speed_m_s: f64, powered: bool) -> f64Expand description
The accelerometer’s model error as a share of its reading: the axis θ off the vertical
costs 1 − cos θ of the reading. Under power the axis is within a rail’s 20°
(RAIL_TILT_DEG). In the coast it pitches over as the climb slows while the sideways speed
through the air stays, tan θ = v_side/v: at most the burnout’s sin 20° share of the top
speed plus a WIND_LIMIT_M_S wind, so the share grows toward one at apogee, where the
reading is small.