Class GroundStation

Inheritance Relationships

Base Type

Class Documentation

class GroundStation : public lupnt::AgentWithDynamics

Public Functions

GroundStation() = default
GroundStation(Config &config)
explicit GroundStation(const spice::GroundStationSpiceData &gs_data)
inline double GetLatitudeDouble() const
inline double GetLongitudeDouble() const
inline double GetAltitudeDouble() const
inline double GetLatitudeDegDouble() const
inline double GetLongitudeDegDouble() const
inline double GetAltitudeMDouble() const
inline int GetNaifId() const
inline Frame GetFrame() const
inline std::string GetSpiceFrame() const
inline VecXd GetLatLonAltDouble() const
inline Real GetLatitudeReal() const
inline Real GetLongitudeReal() const
inline Real GetAltitudeReal() const
inline VecX GetLatLonAltReal() const

Public Static Functions

static GroundStation FromSpice(Real t_tai, const std::string &station_name, BodyId center = BodyId::EARTH, const std::string &ref_frame = "ITRF93", const std::string &ab_correction = "NONE")
static GroundStation FromSpice(Real t_tai, int station_id, BodyId center = BodyId::EARTH, const std::string &ref_frame = "ITRF93", const std::string &ab_correction = "NONE")

Protected Functions

void ConfigureFromData(const spice::GroundStationSpiceData &gs_data)
void ConfigureFromCartesian(const std::string &name, const Vec3 &position_m, BodyId body_id = BodyId::EARTH)
void ConfigureFromConfig(Config &config)

Protected Attributes

BodyId body_id_ = BodyId::EARTH
Real latitude_ = 0.0
Real longitude_ = 0.0
Real altitude_ = 0.0
Frame frame_ = Frame::UNDEFINED
int naif_id_ = 0
std::string spice_frame_