Import of quaternion using TimeSeriesTableQuaternion in python
Posted: Mon Jan 24, 2022 11:58 am
Hello,
I am using IMU other than Xsens and APDM. I have a csv file which contains quaternions of orientation. But I try to access the csv file using the below code. The code freezes for long time without any output. And I even tried many other methods which didn't work for me.
import opensim as osim
tables = osim.TimeSeriesTableQuaternion('out_static.csv')
print(tables)
It would be really helpful if anyone could lead me on how to proceed with reading the quaternion from csv file into opensim in python for creating .sto file.
Thank you
I am using IMU other than Xsens and APDM. I have a csv file which contains quaternions of orientation. But I try to access the csv file using the below code. The code freezes for long time without any output. And I even tried many other methods which didn't work for me.
import opensim as osim
tables = osim.TimeSeriesTableQuaternion('out_static.csv')
print(tables)
It would be really helpful if anyone could lead me on how to proceed with reading the quaternion from csv file into opensim in python for creating .sto file.
Thank you