You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
This issue is related to the creation of a JSON file that encodes and stores the objects from a simulation. Currently, the decoder returns the original objects from the simulation. This poses a problem when it comes to the class Flight, since it creates the object calling the __init__() method, which takes time to resimulate.
Tasks:
Create a resimulate attribute in RocketPyDecoder, with default being False
Code an if statement to check if resimulate attribute is False and the class is Flight
Create the object Flight inside the if statement with __new__() method and insert the simulation solution from the the JSON file
Check if all_info() method still works
Create a save_to_rpy() and load_from_rpy() functions in utilities
There's already some draft cod in the first hackathon repo
The text was updated successfully, but these errors were encountered: