public abstract class AbstractSatellite extends Object implements Satellite
| Modifier and Type | Field and Description |
|---|---|
protected static double |
ASTRONOMICAL_UNIT |
protected static double |
CK4 |
protected static double |
EARTH_GRAVITATIONAL_CONSTANT |
protected static double |
EARTH_RADIUS |
protected static double |
EARTH_ROTATIONS_PER_SIDERIAL_DAY |
protected static double |
EARTH_ROTATIONS_RADIANS_PER_SIDERIAL_DAY |
protected static double |
MFACTOR |
protected static double |
PERIGEE_156_KM |
protected static double |
QOMS2T |
protected static double |
RHO |
protected static double |
S |
protected static double |
SOLAR_RADIUS |
protected static double |
SOLAR_RADIUS_KM |
protected static double |
SPEED_OF_LIGHT |
CK2, DEG2RAD, EARTH_RADIUS_KM, EPSILON, J2_HARMONIC, J3_HARMONIC, J4_HARMONIC, TWO_PI, TWO_THIRDS, XKE| Constructor and Description |
|---|
AbstractSatellite(TLE tle) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
calculatePhase(double xlt,
double xnode,
double omgadf) |
protected void |
calculatePositionAndVelocity(double rk,
double uk,
double xnodek,
double xinck,
double rdotk,
double rfdotk) |
SatPos |
calculateSatelliteGroundTrack()
Calculates the ground track (sub satellite point) of the satellite, for
the already determined position of the satellite.
|
void |
calculateSatelliteVectors(Date date)
Calculates the position and velocity vectors of the satellite.
|
SatPos |
calculateSatPosForGroundStation(GroundStationPosition gsPos)
Calculates the position of the satellite from the perspective of a ground
station.
|
protected static void |
converge(double[] temp,
double axn,
double ayn,
double capu)
Solves Keplers' Equation.
|
double |
getEclipseDepth() |
SatPos |
getPosition(GroundStationPosition gsPos,
Date date)
Get the position of the satellite.
|
protected double |
getQoms24() |
protected double |
getS4() |
TLE |
getTLE()
Returns the currently assigned TLE for the satellite.
|
protected static double |
invert(double value) |
protected static double |
julianDateOfYear(double theYear)
Calculates the Julian Day of the Year.
|
protected static void |
magnitude(com.github.amsacode.predict4java.AbstractSatellite.Vector4 v)
Calculates scalar magnitude of a vector4 argument.
|
protected static double |
mod2PI(double testValue)
Calculates the modulus of 2 * PI.
|
protected void |
setPerigee(double perigee)
Sets perigee and checks and adjusts the calculation if the perigee is
less tan 156KM.
|
protected static double |
sqr(double arg)
Returns the square of a double.
|
boolean |
willBeSeen(GroundStationPosition qth)
This function returns true if the satellite can ever rise above the
horizon of the ground station.
|
protected static final double CK4
protected static final double EARTH_GRAVITATIONAL_CONSTANT
protected static final double S
protected static final double QOMS2T
protected static final double EARTH_ROTATIONS_PER_SIDERIAL_DAY
protected static final double EARTH_ROTATIONS_RADIANS_PER_SIDERIAL_DAY
protected static final double RHO
protected static final double MFACTOR
protected static final double SOLAR_RADIUS_KM
protected static final double ASTRONOMICAL_UNIT
protected static final double SPEED_OF_LIGHT
protected static final double PERIGEE_156_KM
protected static final double EARTH_RADIUS
protected static final double SOLAR_RADIUS
public AbstractSatellite(TLE tle)
public final TLE getTLE()
Satelliteprotected static double julianDateOfYear(double theYear)
theYear - the yearprotected static double sqr(double arg)
arg - the value for which to get the doubleprotected static void magnitude(com.github.amsacode.predict4java.AbstractSatellite.Vector4 v)
v - the vector were measuringprotected static double mod2PI(double testValue)
testValue - the value under testpublic SatPos getPosition(GroundStationPosition gsPos, Date date)
SatellitegetPosition in interface Satellitepublic boolean willBeSeen(GroundStationPosition qth)
SatellitewillBeSeen in interface Satelliteqth - the ground station positionprotected double getS4()
protected double getQoms24()
protected void setPerigee(double perigee)
perigee - the perigee to setprotected static void converge(double[] temp,
double axn,
double ayn,
double capu)
temp - an array of temporary values we pass around as part of the
orbit calculation.axn - ayn - capu - public void calculateSatelliteVectors(Date date)
SatellitecalculateSatelliteVectors in interface Satellitepublic SatPos calculateSatelliteGroundTrack()
SatellitecalculateSatelliteGroundTrack in interface Satellitepublic SatPos calculateSatPosForGroundStation(GroundStationPosition gsPos)
SatellitecalculateSatPosForGroundStation in interface SatellitegsPos - The position of the ground station to perform the calculations
for.protected void calculatePhase(double xlt,
double xnode,
double omgadf)
protected void calculatePositionAndVelocity(double rk,
double uk,
double xnodek,
double xinck,
double rdotk,
double rfdotk)
protected static double invert(double value)
public final double getEclipseDepth()
Copyright © 2014–2019. All rights reserved.