C++¶
These tutorials are the standalone example programs under
cpp/examples/tutorials. Each mirrors the correspondingly numbered Python
example notebook, computing the same results (the notebooks additionally render
3-D plots and maps, which these console programs summarise as statistics). They
are built by the lupnt_examples CMake project — each .cc becomes its own
executable. Build them all with:
pixi run build-examples # configures cpp/examples and builds all_examples
./build-examples-pixi/ex1_propagate_orbit
Each page below embeds the full source of one example. The GNSS trio (ex3 interface, ex5 measurement simulation, ex6 orbit determination) is data-driven (SP3 precise ephemerides + Earthdata) — see the GNSS overview for the shared data setup and the GNSS Measurement Simulation model reference. The constellation-design (ex12), Cesium (ex13) and optical-navigation (ex14) notebooks are Python-only — they build on the optimiser, Cesium and Blender tooling that lives in the Python layer — so they have no C++ counterpart here.
Examples
- Example 1: Propagating an ELFO Orbit
- Example 2: Relativistic Time Conversions
- Example 3: GNSS Interface
- Example 4: Plasmasphere and Ionosphere
- Example 5: GNSS Measurement Simulation
- Example 6: GNSS Sidelobe ODTS (EKF)
- Example 7: Ground-Station Orbit Determination
- Example 8: Distributed Inter-Satellite-Link ODTS
- Example 9: Ephemeris and LansAlmanac Fitting
- Example 10: Surface Rover Navigation
- Example 11: Lunar Lander Navigation
- Example 15: Mars PNT
- Example 16: LEO PNT