Predict::Satellite
Inherits Reference / Object
Struct containing an initialised SGP4 model of a satellite.
Constructors
new(tle : TLE, grav_type = GravityConstants::WGS72)
Initialises the Satellite with tle, using grav_type
Instance methods
constants
Sourcenext_pass(*, at : LatLongAlt, after : Time, find_occuring_pass = false) : Tuple(Time, Time)
Finds the next pass at location occuring after the given time. When find_occuring_pass is true, a satellite pass currently in progress at the supplied time may be returned. The returned value is a tuple of pass start time followed by pass end time.
pass_possible?(location : LatLongAlt)
Returns true if it's possible for the satellite to be visible from location.
predict(time)
Returns true equator mean equinox (TEME) vectors for position and velocity from SGP4. Vectors are returned in the order position, velocity. Units are km and km/s.
satrec
Sourcetle
Source