mirror of
https://github.com/nasa/trick.git
synced 2024-12-18 20:57:55 +00:00
f19ba7df78
* Updates SIM_stl to include checkpoint writing and checkpoint restore, as well as adding more data structures to test * Thoroughly tests supported STL types with MM_stl_checkpoint and MM_stl_restore * Adds an option to enable or disable STL restore in accessible interfaces and changes default to true * Updates documentation on STL checkpointing to clearly state limitations and known bugs
16 lines
376 B
Python
16 lines
376 B
Python
import trick
|
|
|
|
def main():
|
|
trick.exec_set_job_onoff("the_object.stlc.addData", 1, True)
|
|
trick.exec_set_job_onoff("the_object.stlc.test", 1, False)
|
|
trick.exec_set_job_onoff("the_object.stlc.print", 1, False)
|
|
|
|
trick.add_read( 0.5, 'trick.checkpoint("chkpnt_in")')
|
|
|
|
trick.exec_set_freeze_frame(0.10)
|
|
trick.stop(1.0)
|
|
|
|
if __name__ == "__main__":
|
|
main()
|
|
|