DualAttitudeOrbitGnc and SingleAttitudeOrbitGnc simulation types/models.
Added a HillFrame model interface to support relative position and velocity calculations.
Basic initial conditions for a deployment case (see config/parameters/truth/deployment.txt).
Small update(s) to the attitude orbit model:
Lazy evaluation quaternion function.
Use body frame magnetic field instead of intertial frame.
Other random bug fixes throughout PSim involving infinite recursion causing a segfault, a coordinate frame issue, and other miscelaneous issues.
Initial conditions for deployment and detumble testcases.
Note for future debugging, it's possible to just run gdb python and the call the following from inside gdb to get a stack trace out of PSim on assertion/segfault issues:
gdb python
(gdb) r -m psim <arguments producing an error>
Verification
We were able to successfully detumble in PSim standalone:
The detumbler for PSim standalone isn't included here and will be included with a seprate PR as it was super hacky.
@shihaocao can also confirm this version of PSim allowed us to run a successful detumble case in HOOTL!
Attitude Orbit Simulations for PTest Integration
The main features added by this PR are:
DualAttitudeOrbitGnc
andSingleAttitudeOrbitGnc
simulation types/models.HillFrame
model interface to support relative position and velocity calculations.config/parameters/truth/deployment.txt
).Note for future debugging, it's possible to just run
gdb python
and the call the following from insidegdb
to get a stack trace out of PSim on assertion/segfault issues:Verification
We were able to successfully detumble in PSim standalone:
The detumbler for PSim standalone isn't included here and will be included with a seprate PR as it was super hacky.
@shihaocao can also confirm this version of PSim allowed us to run a successful detumble case in HOOTL!