Function step_pass

Source
pub fn step_pass(
    oe: &ObserverElements<'_>,
    curr_time: f64,
    direction: &StepPassDirection,
) -> Result<(PredictObservation, f64), OrbitPredictionError>
Expand description

Rough stepping through a pass. Uses weird time steps from Predict.

param observer Ground station param orbital_elements Orbital elements of satellite param curr_time Time from which to start stepping param direction Either POSITIVE_DIRECTION (step from current time to pass end) or NEGATIVE_DIRECTION (step from current time to start of pass). In case of the former, the pass will be stepped until either elevation is negative or the derivative of the elevation is negative return Time for when we have stepped out of the pass

ยงErrors

predict_orbit can fail