-
Notifications
You must be signed in to change notification settings - Fork 6
Description
We need to report coordinates in J2000 MEME Format
PSim propagates in ECEF without precession terms, so it is slightly inaccurate, but is fine to propagate with for a week
However, we need to reinitialize a few parameters (quat_ecef0_eci and precession rate) with the values from the current day
There is a matlab script in the MATLAB/ folder titled config.m that does this. Just put in the date on line 35 and the parameters are computed in lines 62 and 64.
There is also a PR open that will allow these inputs to be put into the config file of psim
When running the Monte Carlo, we should also reseed the config file
This time reset breaks attitude stuff since the magnetic field and sun vectors are time varying
To fix this, look at lines 44 and 52 in psim/truth/environment.cpp. A delta needs to be added to t to compensate for the time since the PAN epoch