Closed kylekrol closed 3 years ago
@shihaocao Once this is in we can move to clean up some of the parameter setting on the PTest side of things! Perhaps add a section to the psim configuration files specifying overloads; althought, handling it on a case by case basis may be better because the changes will be smaller.
fat bet
Fixes #266.
Make Simulation Configuration Editable from Python
Per the title, this change makes a simulation configuration object editable from Python. You can add and/or overwrite items in the configuration to whatever you prefer. Do note, however, that you can change the type of the underlying parameter as well!
I've also slightly refactored the
Simulation
interface - heads up on that @shihaocao. Now, you create the configuratoin yourself and pass it as an argument to the simulation like this:Here is a small test I did in the Python shell:
I also ran a single satellite attitude orbit case locally to verify the change!