Ho to process the data faster by iktool
Ho to process the data faster by iktool
I would like to process real-time updated trc file data by inverse kinematics analysis, however, it takes too long to start ik_tool.run every time, and I would like to know if there are other inverse kinematics functions that can process the data faster.
Tags:
- Mohammadreza Rezaie
- Posts: 407
- Joined: Fri Nov 24, 2017 12:48 am
Re: Ho to process the data faster by iktool
Hi, depending on your problem, OpenSim finds the best optimizer. Please see: viewtopicPhpbb.php?f=91&t=3854&p=0&star ... 3b9c27d6be
In my experience, if you omit the constraints from your model, the problem will be solved much faster. The method OpenSim::Coordinate::isConstrained would help you find them.
Hope this helps.
In my experience, if you omit the constraints from your model, the problem will be solved much faster. The method OpenSim::Coordinate::isConstrained would help you find them.
Hope this helps.
Re: Ho to process the data faster by iktool
Thank you very much for your reply, in fact, the problem I am facing is that when I run ik_tool.run in multiprocess, the other processes get blocked out and I was wondering if there is a way to solve this problem at python level.kernalnet wrote: ↑Wed Oct 23, 2024 7:49 amHi, depending on your problem, OpenSim finds the best optimizer. Please see: viewtopicPhpbb.php?f=91&t=3854&p=0&star ... 3b9c27d6be
In my experience, if you omit the constraints from your model, the problem will be solved much faster. The method OpenSim::Coordinate::isConstrained would help you find them.
Hope this helps.
ik_tool = osim.InverseKinematicsTool("OpenSim_Setup/IK_Setup_Pose2Sim_LSTM.xml")
ik_tool.run()