Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
-
Mohammadreza Rezaie
- Posts: 408
- Joined: Fri Nov 24, 2017 12:48 am
Post
by Mohammadreza Rezaie » Wed May 03, 2023 6:37 am
Hi, I see OpenSim::Strorage has several useful functions which are not available for TimeSeriesTable, so I have to do a conversion and it seems that Strorage::exportToTable() should be used. But, in this simple example:
Code: Select all
s = osim.Storage('ik.mot')
t = s.exportToTable()
the output is
<Swig Object of type 'TimeSeriesTable *' at 0x000001DD4EE01B40> and I cannot work with that as a TimeSeriesTable. Sometimes, it says:
swig/python detected a memory leak of type 'TimeSeriesTable *', no destructor found.
Any help is greatly appreciated.
Regards,
Mohammadreza
Tags: