Struct EphemerisGenConfig

Struct Documentation

struct EphemerisGenConfig

Configuration for EphemerisGenApp.

Public Members

bool generate_ephemeris = true

Generate a precise, short-validity broadcast ephemeris (LansEphemeris).

bool generate_almanac = true

Generate a coarse, long-validity broadcast almanac (LansAlmanac).

EphemerisFitOptions ephemeris_options

Short-validity ephemeris fit options and its validity window / refresh cadence. ephemeris_refresh_s <= 0 refreshes once per validity window.

double ephemeris_window_s = 2.0 * SECS_HOUR
double ephemeris_refresh_s = 0.0
AlmanacFitOptions almanac_options

Long-validity almanac fit options and its validity window / refresh cadence. almanac_refresh_s <= 0 refreshes once per validity window.

double almanac_window_s = 15.0 * SECS_DAY
double almanac_refresh_s = 0.0
int ephemeris_fit_samples = 121

Number of samples of the predicted arc used to fit each window (queried uniformly across the validity window via the owning agent’s GetStateAt). Should comfortably exceed the polynomial order.

int almanac_fit_samples = 361
Frame output_frame = Frame::MOON_CI

Frame the broadcast messages are fit and evaluated in. When this differs from the agent’s dynamics frame, the predicted arc sampled from the agent is converted to output_frame before fitting (e.g. Frame::MOON_PA to broadcast in the rotating Moon-fixed principal-axis frame, per Iiyama & Gao). Setup forces both ephemeris_options.frame and almanac_options.frame to this value.