Skip to content

KineticsToolkit extracts angle value error from c3d data #146

Discussion options

You must be logged in to vote

Hi @gaozelle

Thanks for the question and c3d file. This may indeed be described as a bug in Kinetics Toolkit and I will open an issue related to this. The workaround is simple though (see below).

The problem is that ktk.read_c3d doesn't distinguish points between proper points (markers) and computed "points" such as angles and forces. Since the point unit in your c3d is millimeters and the default in KTK is to convert to meters, then it divides every point coordinate by 1000, including the computed angles, forces, moments, etc.

While I figure out a clean way to address this issue, you can either multiply the angles by 1000, or load the file "as is" without any conversion using ktk.read_c3…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by gaozelle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants