How to use Storage::exportToTable()
Posted: 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:
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
Code: Select all
s = osim.Storage('ik.mot')
t = s.exportToTable()
swig/python detected a memory leak of type 'TimeSeriesTable *', no destructor found.
Any help is greatly appreciated.
Regards,
Mohammadreza