python API - inverse kinematics tools - time range not alter

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Fabien Leboeuf
Posts: 17
Joined: Thu Sep 20, 2007 5:26 am

python API - inverse kinematics tools - time range not alter

Post by Fabien Leboeuf » Mon Oct 31, 2016 7:12 am

Hi

i came across recently.

if you set time with this snippets
ikTool.setStartTime(markerData.getStartFrameTime())
ikTool.setEndTime(markerData.getLastFrameTime())
and then, want to get the new ikTools xml with the command printXML, you will see the section "time range" unchanged.

is this error known ?

fabien

User avatar
Dimitar Stanev
Posts: 1096
Joined: Fri Jan 31, 2014 5:14 am

Re: python API - inverse kinematics tools - time range not alter

Post by Dimitar Stanev » Mon Oct 31, 2016 8:34 am

Have you tried the function print instead?

You can report this to issues:

https://github.com/opensim-org/opensim-core/issues

But double check your logic first, because it may be a user error.

Best

POST REPLY