Module comms

Module comms 

Source

Re-exports§

pub use crate::constants::C_KM_S;

Structs§

CommTimelineEntry
Timeline entry for communication delay along a route.

Enums§

CommFeasibility
Communication feasibility classification.

Functions§

comm_timeline_linear
Compute communication timeline along a linear route between two planets.
distance_between_positions
Distance between two heliocentric positions (km).
free_space_path_loss_db
Free-space path loss in dB.
light_time_minutes
One-way light time in minutes.
light_time_seconds
One-way light time (seconds) for a given distance in km.
planet_distance_range
Minimum and maximum distances between two planets (km).
planet_light_delay
Light delay between two planets at a given Julian Date.
planet_light_delay_range
Light delay range between two planets (min, max) in seconds.
round_trip_light_time
Round-trip light time (seconds) — relevant for query-response communication.
ship_planet_light_delay
Light delay between a spacecraft position (x, y in km, heliocentric) and a planet.