|
Icarus
Vehicle Simulation as a Transformable Computational Graph, built on Vulcan and Janus
|
Time epoch configuration for absolute time support. More...
#include <SimulatorConfig.hpp>
Public Member Functions | |
| bool | IsConfigured () const |
| Check if epoch is configured (non-MET-only mode). | |
Static Public Member Functions | |
| static EpochConfig | Default () |
| Create default MET-only config. | |
Public Attributes | |
| std::string | system = "MET" |
| Time system: "MET" (default), "UTC", "TAI", "GPS". | |
| std::string | reference |
| double | jd = 0.0 |
| Julian Date (for TAI/TT systems when reference is empty). | |
| int | gps_week = 0 |
| GPS week number (for GPS system). | |
| double | gps_seconds = 0.0 |
| GPS seconds of week (for GPS system). | |
| bool | gps_configured = false |
Time epoch configuration for absolute time support.
Configures the simulation's reference epoch for time-varying models. When configured, Vulcan's Epoch class provides conversions between time scales (UTC, TAI, TT, GPS) and calendar representations.
If not configured (empty reference), the simulation runs in MET-only mode with an arbitrary J2000.0 reference epoch.
|
inlinestaticnodiscard |
Create default MET-only config.
|
inlinenodiscard |
Check if epoch is configured (non-MET-only mode).
| bool icarus::EpochConfig::gps_configured = false |
GPS configured flag (set when GPS fields are explicitly provided) Required because gps_week=0 is a valid GPS week (Jan 6, 1980)
| double icarus::EpochConfig::gps_seconds = 0.0 |
GPS seconds of week (for GPS system).
| int icarus::EpochConfig::gps_week = 0 |
GPS week number (for GPS system).
| double icarus::EpochConfig::jd = 0.0 |
Julian Date (for TAI/TT systems when reference is empty).
| std::string icarus::EpochConfig::reference |
Reference time as ISO 8601 string (for UTC system) Example: "2024-12-22T10:30:00Z"
| std::string icarus::EpochConfig::system = "MET" |
Time system: "MET" (default), "UTC", "TAI", "GPS".