Page 1 of 1

How to use Storage::exportToTable()

Posted: Wed May 03, 2023 6:37 am
by kernalnet
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

Re: How to use Storage::exportToTable()

Posted: Thu May 04, 2023 9:50 am
by kernalnet
Hi, Any suggestion?