Search found 4 matches
- Mon Oct 03, 2022 7:02 am
- Forum: OpenSim
- Topic: Configuring IMU weights for IK from Python
- Replies: 5
- Views: 1029
Re: Configuring IMU weights for IK from Python
Hi Ayman, Thank you for your answer! It was not the full code. We have a different function for model selection and IMU placement. def motCreation(self, modelo): imuIK = osim.IMUInverseKinematicsTool() imuIK.set_model_file(modelo) imuIK.set_orientations_file(self.INPUT_FILE) imuIK.set_sensor_to_open...
- Tue Sep 27, 2022 8:18 am
- Forum: OpenSim
- Topic: Configuring IMU weights for IK from Python
- Replies: 5
- Views: 1029
Configuring IMU weights for IK from Python
Hi! I am trying to set IMU weights for IK from the Python API. The code run without errors, but I feel my code is not working since setting a weight to 0 does not have the expected result. Could anyone help with this? Do you have some sample code? Thanks! imuIK = osim.IMUInverseKinematicsTool() imu_...
- Sat Apr 02, 2022 10:58 am
- Forum: OpenSim
- Topic: Python API Installation problems on OSX
- Replies: 2
- Views: 406
Re: Python API Installation problems on OSX
Hello Ayman, Thank you for your prompt response. Not sure if I have fully understood, though. I do have Rosetta installed in my system. OpenSim environment is working without problem. My issue is with the Python API from command line, once installation is finished. Now tried to open terminal using R...
- Fri Apr 01, 2022 2:41 am
- Forum: OpenSim
- Topic: Python API Installation problems on OSX
- Replies: 2
- Views: 406
Python API Installation problems on OSX
Hi, I tried to install different versions of OpenSim (4.2 and 4.3) Python API on a MAC computer (M1 chip) without success. CASE 1: OpenSim 4.2 using Python 2.7 (the most promising): sudo python setup.py install --> runs smoothly In my .bashrc I included export PYTHONPATH=/Applications/OpenSim\ 4.2/s...