Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
4d1d4e4
https://github.com/nasa/nos3/issues/848 - Begin incorporating 42 comm…
msuder Apr 3, 2026
fcb3226
https://github.com/nasa/nos3/issues/848 - Fix Inp_CommLink.txt to use…
msuder Apr 13, 2026
de486ad
Merge branch 'dev' into 848-add-rf-inviews-and-delays-to-radio-sim
msuder May 21, 2026
446be94
https://github.com/nasa/nos3/issues/848 - Add in sleep so cryptolib d…
msuder May 21, 2026
05c80b1
https://github.com/nasa/nos3/issues/848 - Minor tweaks to Inp_IPC.txt…
msuder May 22, 2026
a86a913
https://github.com/nasa/nos3/issues/848 - Add 42 lunar spacecraft sce…
msuder May 27, 2026
de71a41
https://github.com/nasa/nos3/issues/848 - Submodule pointer update fo…
msuder May 28, 2026
6fdf2b6
https://github.com/nasa/nos3/issues/848 - Separate STF1 and Lunar sce…
msuder May 28, 2026
831d11d
https://github.com/nasa/nos3/issues/848 - Turn on R/F delay processin…
msuder May 28, 2026
e544474
https://github.com/nasa/nos3/issues/848 - Tweak config files.
msuder May 29, 2026
0c42adf
https://github.com/nasa/nos3/issues/848 - Additional config file tweak.
msuder May 29, 2026
8d54511
https://github.com/nasa/nos3/issues/848 - Submodule update.
msuder May 29, 2026
b801324
https://github.com/nasa/nos3/issues/848 - Config file tweak, part 3.
msuder May 29, 2026
d80a834
https://github.com/nasa/nos3/issues/848 - Submodule update.
msuder May 29, 2026
8220b1f
https://github.com/nasa/nos3/issues/848 - Set defaults for the radio …
msuder May 29, 2026
1f3f631
[nasa/nos3#848] fixing multi GDS launch to include delays and occulta…
zlynch2 Jun 5, 2026
b987eee
https://github.com/nasa/nos3/issues/848 - Tweaks to the deep space sc…
msuder Jun 5, 2026
d9bb8e2
[nasa/nos3#848] adding retry into radio to connect to cryptolib and r…
zlynch2 Jun 10, 2026
86a50f1
prepping submods for merge into dev
zlynch2 Jun 11, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions cfg/InOut/Inp_CommLink.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<<<<<<<<<<<<<<<<<<< 42: Comm Link Description File >>>>>>>>>>>>>>>>>>>
0 ! Number of Links
2 ! Number of Links
=============================== Link 0 ================================
S-Band Uplink ! Description
TRUE ! Comm Link Exists
Expand All @@ -8,7 +8,7 @@ FALSE 1.0E-3 ! Adjust Positions for Delay, Delay Accuracy (sec)
UPLINK ! Link Type (UPLINK, DOWNLINK, or CROSSLINK)
3.0E9 ! Frequency (Hz)
-200.0 ! Link Noise Floor (dBw)
1 0 ! Tx Terminal ID, Body
0 0 ! Tx Terminal ID, Body
0.0 0.0 0.0 123 ! Tx Mounting Angles (deg), Euler Sequence
100.0 ! Tx Power (dBw)
40.0 -50.0 ! Tx Antenna Peak Gain, Floor Gain (dB)
Expand All @@ -28,12 +28,12 @@ TRUE 1.0E-6 ! Adjust Positions for Delay, Delay Accuracy (sec)
DOWNLINK ! Link Type (UPLINK, DOWNLINK, or CROSSLINK)
10.0E9 ! Frequency (Hz)
-200.0 ! Link Noise Floor (dBw)
0 1 ! Tx Terminal ID, Body
0.0 0.0 0.0 123 ! Tx Mounting Angles (deg), Euler Sequence
0 0 ! Tx Terminal ID, Body
0.0 90.0 0.0 123 ! Tx Mounting Angles (deg), Euler Sequence
17.0 ! Tx Power, (dBw)
35.0 -50.0 ! Tx Antenna Peak Gain, Floor Gain (dB)
"Ant_XBand.obj" ! Tx Antenna Pattern File
2 0 ! Rx Terminal ID, Body
0 0 ! Rx Terminal ID, Body
0.0 0.0 0.0 123 ! Rx Mounting Angles (deg), Euler Sequence
70.0 -50.0 ! Rx Antenna Peak Gain, Floor Gain (dB)
"Ant_Gnd.obj" ! Rx Antenna Pattern File
Expand Down
55 changes: 55 additions & 0 deletions cfg/InOut/Inp_Graphics_DeepSpace.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<<<<<<<<<<<<<<<< 42 Graphics Configuration File >>>>>>>>>>>>>>>>>>>
1.0 ! GL Output Interval [sec]
Skymap09.txt ! Star Catalog File Name
TRUE ! Map Window Exists
TRUE ! Orrery Window Exists
TRUE ! Unit Sphere Window Exists
******************************* POV *********************************
FALSE ! Pause at Startup
TRACK_HOST ! POV Mode (TRACK_HOST, TRACK_TARGET, FIXED_IN_HOST)
SC ! Host Type (WORLD, REFORB, FRM, SC, BODY)
0 0 L ! Initial Host SC, Body, POV Frame
SC ! Target Type (WORLD, REFORB, FRM, SC, BODY)
0 0 N ! Initial Target SC, Body, POV Frame
NEG_Y ! Boresight Axis
POS_Z ! Up Axis
15.0 ! Initial POV Range from Target [m]
30.0 ! POV Angle (Vertical) [deg]
0.0 0.0 0.0 ! POV Position in Host [m]
FRONT ! Initial POV View (FRONT, FRONT_RIGHT, etc)
******************************* CAM *********************************
"42 Cam" ! Cam Title [delimited by "]
600 600 ! Width, Height [pixels]
5.0E-5 ! Mouse Scale Factor
1.8 ! Display's Gamma Exponent (1.8-4.0)
************************** CAM Show Menu ****************************
FALSE "N Axes" ! Show N Axes
FALSE "L Axes" ! Show L Axes
FALSE "F Axes" ! Show F Axes
TRUE "B Axes" ! Show B Axes
FALSE "N Grid" ! Show N Grid
FALSE "L Grid" ! Show L Grid
FALSE "F Grid" ! Show F Grid
FALSE "B Grid" ! Show B Grid
FALSE "Gal Grid" ! Show B Grid
FALSE "FOVs" ! Show Fields of View
FALSE "Prox Ops" ! Show Prox Ops
FALSE "TDRS" ! Show TDRS Satellites
TRUE "Shadows" ! Show Shadows
FALSE "Astro Labels" ! Show Astro Labels
TRUE "Truth Vectors" ! Show Truth Vectors
FALSE "FSW Vectors" ! Show FSW Vectors
TRUE "Milky Way" ! Show Milky Way
FALSE "Fermi Sky" ! Show Fermi Sky
******************************* MAP *********************************
"42 Map" ! Map Title [delimited by "]
512 256 ! Width, Height [pixels]
************************** MAP Show Menu ****************************
TRUE "Clock" ! Show Clock
TRUE "Tlm Clock" ! Show Clock
FALSE "Credits" ! Show Credits
TRUE "Night" ! Show Night
********************* Unit Sphere Show Menu *************************
TRUE ! Show Major Constellations
TRUE ! Show Zodiac Constellations
FALSE ! Show Minor Constellations
13 changes: 11 additions & 2 deletions cfg/InOut/Inp_IPC.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<<<<<<<<<<<<<<< 42: InterProcess Comm Configuration File >>>>>>>>>>>>>>>>
17 ! Number of Sockets
18 ! Number of Sockets
********************************** RW 0 to 42 *****************************
RX ! IPC Mode (OFF,TX,RX,TXRX,ACS,WRITEFILE,READFILE)
"State01.42" ! File name for WRITE or READ
Expand Down Expand Up @@ -158,4 +158,13 @@ FALSE ! Echo to stdout
"SC[0].svb" ! Prefix 0
"SC[0].PosR" ! Prefix 1
"SC[0].qn" ! Prefix 2
"Orb[0].PosN" ! Prefix 3
"Orb[0].PosN" ! Prefix 3
********************************** Radio IPC *****************************
TX ! IPC Mode (OFF,TX,RX,TXRX,ACS,WRITEFILE,READFILE)
"Radio.42" ! File name for WRITE or READ
SERVER ! Socket Role (SERVER,CLIENT,GMSEC_CLIENT)
fortytwo 4286 ! Server Host Name, Port
FALSE ! Allow Blocking (i.e. wait on RX)
FALSE ! Echo to stdout
1 ! Number of TX prefixes
"CommLink" ! Prefix 0
3 changes: 2 additions & 1 deletion cfg/InOut/Inp_Sim.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@ TRUE ! Earth-Moon
FALSE ! Sun-Earth
FALSE ! Sun-Jupiter
************************* Ground Stations ***************************
5 ! Number of Ground Stations
6 ! Number of Ground Stations
TRUE EARTH -77.0 37.0 "GSFC" ! Exists, World, Lng, Lat, Label
TRUE EARTH -155.6 19.0 "South Point" ! Exists, World, Lng, Lat, Label
TRUE EARTH 115.4 -29.0 "Dongara" ! Exists, World, Lng, Lat, Label
TRUE EARTH -71.0 -33.0 "Santiago" ! Exists, World, Lng, Lat, Label
TRUE LUNA 45.0 45.0 "Moon Base Alpha" ! Exists, World, Lng, Lat, Label
TRUE EARTH -116.9 35.4 "Goldstone" ! Exists, World, Lng, Lat, Label
60 changes: 60 additions & 0 deletions cfg/InOut/Inp_Sim_DeepSpace.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<<<<<<<<<<<<<<<<< 42: The Mostly Harmless Simulator >>>>>>>>>>>>>>>>>
************************** Simulation Control **************************
NOS3 ! Time Mode (FAST, REAL, EXTERNAL, or NOS3)
604800.0 0.01 ! Sim Duration, Step Size [sec]
1.0 ! File Output Interval [sec]
0 ! RNG Seed
TRUE ! Graphics Front End?
Inp_Cmd.txt ! Command Script File Name
************************** Reference Orbits **************************
1 ! Number of Reference Orbits
TRUE Orb_LLO.txt ! Input file name for Orb 1
***************************** Spacecraft *****************************
1 ! Number of Spacecraft
TRUE 0 SC_DeepSpaceComm.txt ! Existence, RefOrb, Input file for SC 1
***************************** Environment *****************************
10 20 2025 ! Date (UTC) (Month, Day, Year)
17 43 20.00 ! Time (UTC) (Hr,Min,Sec)
37.0 ! Leap Seconds (sec)
USER ! F10.7, Ap (USER, NOMINAL or TWOSIGMA)
230.0 ! USER-provided F10.7
100.0 ! USER-provided Ap
IGRF ! Magfield (NONE,DIPOLE,IGRF)
8 8 ! IGRF Degree and Order (<=10)
8 8 ! Earth Gravity Model N and M (<=18)
2 0 ! Mars Gravity Model N and M (<=18)
2 0 ! Luna Gravity Model N and M (<=18)
FALSE FALSE ! Aerodynamic Forces & Torques (Shadows)
FALSE ! Gravity Gradient Torques
FALSE FALSE ! Solar Pressure Forces & Torques (Shadows)
FALSE ! Residual Magnetic Moment Torques
FALSE ! Gravity Perturbation Forces
FALSE ! Thruster Plume Forces & Torques
FALSE ! Contact Forces and Torques
FALSE ! CFD Slosh Forces and Torques
FALSE ! Albedo Effect on CSS Measurements
FALSE ! Output Environmental Torques to Files
********************* Celestial Bodies of Interest *********************
MEAN ! Ephem Option (MEAN, DE430, DE440)
FALSE ! Mercury
FALSE ! Venus
TRUE ! Earth and Luna
TRUE ! Mars and its moons
FALSE ! Jupiter and its moons
FALSE ! Saturn and its moons
FALSE ! Uranus and its moons
FALSE ! Neptune and its moons
FALSE ! Pluto and its moons
FALSE ! Asteroids and Comets
***************** Lagrange Point Systems of Interest ******************
TRUE ! Earth-Moon
FALSE ! Sun-Earth
FALSE ! Sun-Jupiter
************************* Ground Stations ***************************
6 ! Number of Ground Stations
TRUE EARTH -116.9 35.4 "Goldstone" ! Exists, World, Lng, Lat, Label
TRUE EARTH -77.0 37.0 "GSFC" ! Exists, World, Lng, Lat, Label
TRUE EARTH -155.6 19.0 "South Point" ! Exists, World, Lng, Lat, Label
TRUE EARTH 115.4 -29.0 "Dongara" ! Exists, World, Lng, Lat, Label
TRUE EARTH -71.0 -33.0 "Santiago" ! Exists, World, Lng, Lat, Label
TRUE LUNA 45.0 45.0 "Moon Base Alpha" ! Exists, World, Lng, Lat, Label
3 changes: 2 additions & 1 deletion cfg/InOut/Inp_Sim_STF1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@ TRUE ! Earth-Moon
FALSE ! Sun-Earth
FALSE ! Sun-Jupiter
************************* Ground Stations ***************************
5 ! Number of Ground Stations
6 ! Number of Ground Stations
TRUE EARTH -77.0 37.0 "GSFC" ! Exists, World, Lng, Lat, Label
TRUE EARTH -155.6 19.0 "South Point" ! Exists, World, Lng, Lat, Label
TRUE EARTH 115.4 -29.0 "Dongara" ! Exists, World, Lng, Lat, Label
TRUE EARTH -71.0 -33.0 "Santiago" ! Exists, World, Lng, Lat, Label
TRUE LUNA 45.0 45.0 "Moon Base Alpha" ! Exists, World, Lng, Lat, Label
TRUE EARTH -116.9 35.4 "Goldstone" ! Exists, World, Lng, Lat, Label
2 changes: 1 addition & 1 deletion cfg/InOut/Orb_LEO.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ PA ! Use Peri/Apoapsis (PA) or min alt/ecc (AE)
52.0 ! Inclination (deg)
180.0 ! Right Ascension of Ascending Node (deg)
0.0 ! Argument of Periapsis (deg)
0.0 ! True Anomaly (deg)
27.0 ! True Anomaly (deg)
6678.0 0.0 0.0 ! RV Initial Position (km)
0.0 8.5 0.0 ! RV Initial Velocity (km/sec)
TRV ! TLE, TRV, or SPLINE file format
Expand Down
47 changes: 47 additions & 0 deletions cfg/InOut/Orb_LLO.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<<<<<<<<<<<<<<<<< 42: Orbit Description File >>>>>>>>>>>>>>>>>
Low Lunar Orbit ! Description
CENTRAL ! Orbit Type (ZERO, FLIGHT, CENTRAL, THREE_BODY)
:::::::::::::: Use these lines if ZERO :::::::::::::::::
MINORBODY_2 ! World
FALSE ! Use Polyhedron Gravity
:::::::::::::: Use these lines if FLIGHT :::::::::::::::::
0 ! Region Number
FALSE ! Use Polyhedron Gravity
:::::::::::::: Use these lines if CENTRAL :::::::::::::::::
LUNA ! Orbit Center
FALSE ! Secular Orbit Drift Due to J2
KEP ! Use Keplerian elements (KEP) or (RV) or FILE
PA ! Use Peri/Apoapsis (PA) or min alt/ecc (AE)
100.0 400.0 ! Periapsis & Apoapsis Altitude, km
400.0 2.0 ! Min Altitude (km), Eccentricity
52.0 ! Inclination (deg)
120.0 ! Right Ascension of Ascending Node (deg)
0.0 ! Argument of Periapsis (deg)
0.0 ! True Anomaly (deg)
6678.0 0.0 0.0 ! RV Initial Position (km)
0.0 8.5 0.0 ! RV Initial Velocity (km/sec)
TRV ! TLE, TRV, or SPLINE file format
"TRV.txt" ! File name
"EXAMPLE 1" ! Label to find in TLE or TRV file
::::::::::::: Use these lines if THREE_BODY ::::::::::::::::
SUNEARTH ! Lagrange system
LAGDOF_MODES ! Propagate using LAGDOF_MODES or LAGDOF_COWELL or LAGDOF_SPLINE
MODES ! Initialize with MODES or XYZ or FILE
L2 ! Libration point (L1, L2, L3, L4, L5)
800000.0 ! XY Semi-major axis, km
45.0 ! Initial XY Phase, deg (CCW from -Y)
CW ! Sense (CW, CCW), viewed from +Z
0.0 ! Second XY Mode Semi-major Axis, km (L4, L5 only)
0.0 ! Second XY Mode Initial Phase, deg (L4, L5 only)
CW ! Sense (CW, CCW), viewed from +Z (L4, L5 only)
400000.0 ! Z Semi-axis, km
60.0 ! Initial Z Phase, deg
1.05 0.5 0.0 ! Initial X, Y, Z (Non-dimensional)
0.0 0.0 0.0 ! Initial Xdot, Ydot, Zdot (Non-dimensional)
TRV "ORB_ID" ! TLE, TRV or SPLINE format, Label to find in file
"TRV.txt" ! File name
******************* Formation Frame Parameters ************************
L ! Formation Frame Fixed in [NL]
0.0 0.0 0.0 123 ! Euler Angles (deg) and Sequence
L ! Formation Origin expressed in [NL]
0.0 0.0 0.0 ! Formation Origin wrt Ref Orbit (m)
Loading
Loading