Search found 2 matches

by Lukas H
Wed Jan 24, 2024 1:11 am
Forum: OpenSim
Topic: IMUInverseKinematicsTool duplicates motion file output
Replies: 0
Views: 134

IMUInverseKinematicsTool duplicates motion file output

Hi. I am currently using the OpenSim API in Python and have the following problem with the IMUInverseKinematicsTool. My workflow is shown below: imu_ik = opensim.IMUInverseKinematicsTool() imu_ik.setModel(model) imu_ik.set_output_motion_file(path) imu_ik.set_orientations_file(orientation_file) imu_i...
by Lukas H
Tue Jan 23, 2024 11:43 am
Forum: OpenSim
Topic: Configuring IMU weights for IK from Python
Replies: 5
Views: 435

Re: Configuring IMU weights for IK from Python

I had the same problem as Mario and found a solution. So just in case, anybody else has still the same problem. When creating the OrientationWeightSet in Python by using the method adoptAndAppend to pass the OrientationWeight objects, it seems like the OrientationWeight objects are lost (I guess the...