class Predict::Satellite
- Predict::Satellite
- Reference
- Object
Overview
Struct containing an initialised SGP4 model of a satellite.
Defined in:
predict/satellite.crConstructors
-
.new(tle : TLE, grav_type = GravityConstants::WGS72)
Initialises the
Satellite
with tle, using grav_type
Instance Method Summary
- #constants : GravityConstants
-
#next_pass(*, at : LatLongAlt, after : Time, find_occuring_pass = false) : Tuple(Time, Time)
Finds the next pass at location occuring after the given 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.
- #satrec : Predict::SGP4::Elset
- #tle : TLE
Constructor Detail
Initialises the Satellite
with tle, using grav_type
Instance Method Detail
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.
Returns true if it's possible for the satellite to be visible from location.
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.