comm_timeline_linear

Function comm_timeline_linear 

Source
pub fn comm_timeline_linear(
    departure: Planet,
    arrival: Planet,
    departure_jd: f64,
    travel_time_s: f64,
    n_steps: usize,
) -> Vec<CommTimelineEntry>
Expand description

Compute communication timeline along a linear route between two planets.

Assumes the ship travels in a straight line from departure planet position to arrival planet position (simplified; actual trajectories curve). This is sufficient for estimating the light delay profile.

Returns entries at regular time intervals.