Class Constellation¶
Defined in File constellation.h
Inheritance Relationships¶
Derived Type¶
public lupnt::GnssConstellation(Class GnssConstellation)
Class Documentation¶
-
class Constellation¶
Subclassed by lupnt::GnssConstellation
Public Functions
-
Constellation()¶
Construct an empty constellation (no satellites).
-
Constellation(Config &agent_config)¶
Build a constellation of
Satelliteagents from a TLE file.Called by
AssetFactory<...>-driven scenario setup to populate theagents:list from atle:file: for each TLE entry, converts the mean elements to aClassicalOEstate (propagated to the current LuPNT epoch via the TLE’s mean motion), builds aCartesianTwoBodyDynamicsFixedPointingDynamicsSatellitewith a GNSS transmitter device, and appends it tosatellites_.
- Parameters:
agent_config – YAML config node with
name,tle,frequency, andattitude_dynamicskeys
-
void Setup()¶
Call
Setupon every satellite in the constellation. Invoked once by the simulation setup pass alongside individual agents’Setup.
-
void Step(Real time)¶
Call
Stepon every satellite in the constellation, advancing each totime. Invoked by the simulation’s per-step scheduling.- Parameters:
time – Target simulation time [s]
-
void SetSimulation(Simulation *sim)¶
Register this constellation (and all its satellites) with a
Simulation, so each satellite can access the event scheduler and Cesium viewer viaAgent::GetSimulation.
-
Constellation()¶