C3D reading exception
Posted: Fri Aug 07, 2020 2:19 pm
Hi all,
Thanks for continue developing.
I am having problems trying to read a C3D file from the
I wanted to upload the c3d but it is not allowed
Thanks
Thanks for continue developing.
I am having problems trying to read a C3D file from the
, It throws an exception:C3DFileAdapter()
I do not know what might be the problem with my c3d file because, when I read the C3D file externally, It seems correct the USED part. I used the following code script:RuntimeError: std::exception in 'OpenSim::DataAdapter::OutputTables OpenSim::DataAdapter::read(std::string const &) const': USED parameter is not an INT
Code: Select all
amp_dir = os.path.join(root_dir,
"TRANSTIBIAL/Transtibial Izquierda/Gerson Tafud/0143~ab~Walking_01.c3d")
c3dFileAdapter = osim.C3DFileAdapter()
c3dFileAdapter.setLocationForForceExpression( \
osim.C3DFileAdapter.ForceLocation_CenterOfPressure)
tables = c3dFileAdapter.read(amp_dir)
markersTable = c3dFileAdapter.getMarkersTable(tables)
forcesTable = c3dFileAdapter.getForcesTable(tables)
Thanks