Dear All:
Could anyone can help provide some brief codes illustrating the most common use of OpenSim API class: storage and state ?
e.g. how to get the whole state of a moving model at a time frame in simulation ? And when will the class "storage" most commonly be used during simulation ?
Thank you!
Thanks & Regards
Seek for instructions on the use of API class: storage and state
- Thomas Uchida
- Posts: 1792
- Joined: Wed May 16, 2012 11:40 am
Re: Seek for instructions on the use of API class: storage and state
These examples in the Confluence documentation may be helpful:
- "API Examples": http://simtk-confluence.stanford.edu:80 ... I+Examples
- "From the Ground Up: Building a Passive Dynamic Walker Model": http://simtk-confluence.stanford.edu:80 ... lker+Model
- "API Examples": http://simtk-confluence.stanford.edu:80 ... I+Examples
- "From the Ground Up: Building a Passive Dynamic Walker Model": http://simtk-confluence.stanford.edu:80 ... lker+Model
It depends, in part, on what type of simulation you're performing, how the simulation is being run, and whether you need the state during the simulation or after it has completed. Hopefully the examples linked above will be helpful.how to get the whole state of a moving model at a time frame in simulation
Storage is typically used to load/store simulation results before/after a simulation, not for reporting during a simulation.when will the class "storage" most commonly be used during simulation