Search found 17 matches

by Fabien Leboeuf
Mon Oct 31, 2016 7:12 am
Forum: OpenSim
Topic: python API - inverse kinematics tools - time range not alter
Replies: 1
Views: 324

python API - inverse kinematics tools - time range not alter

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...
by Fabien Leboeuf
Wed Jun 08, 2016 2:48 am
Forum: OpenSim
Topic: inverse kinematic - issue on last frame
Replies: 3
Views: 298

Re: inverse kinematic - issue on last frame

Hi james

Thank your for your answer.
Does this bug fix in the development code (Github) ?

cheers
by Fabien Leboeuf
Tue May 31, 2016 4:09 pm
Forum: OpenSim
Topic: python API : -add a marker to a model
Replies: 3
Views: 799

Re: python API : -add a marker to a model

Thank for your reply.

I am still waiting a reply for a whie. I appreaciate someone replied.
the problem is the method "getMarkerSet".

I can use updMarkerset, but i want to add markerset from scratch.

any idea.
by Fabien Leboeuf
Fri May 27, 2016 9:00 am
Forum: OpenSim
Topic: python API : -add a marker to a model
Replies: 3
Views: 799

python API : -add a marker to a model

Hi I have a memory issue when i want to append markers to my model. if my model already get marker, i can use the updMarkerSet() method. then, that works fine In my case, the model group Makerset is empty. i add marker with this snippet m = opensim.Marker() m.setOffset(opensim.Vec3(localPos[0]/toMet...
by Fabien Leboeuf
Fri May 27, 2016 2:28 am
Forum: OpenSim
Topic: python API : double const [3] in python
Replies: 0
Views: 139

python API : double const [3] in python

Hi i want to add a marker to my markerset in python. Thus, i use the command : ms = m_model.getMarkerSet() cstDouble=opensim.ArrayDouble_getValuesFromVec3(opensim.Vec3(100/1000.0,100/1000.0,100/1000.0)) ms.addMarker("LASI",cstDouble,m_model.getBodySet().get("pelvis")) you can see i define my offset ...
by Fabien Leboeuf
Thu May 26, 2016 5:30 am
Forum: OpenSim
Topic: inverse kinematic - issue on last frame
Replies: 3
Views: 298

inverse kinematic - issue on last frame

Hi I have a issue with the kinematic fitting Process. For some acquisition, it doesn t deal with the last frame. the log file is : Loaded marker file C:\Users\AAA34169\Documents\Programming\API\pyCGA-DATA\pyCGA-Nexus2 Data\gait- cgm2 - ll_foot\R001S1A1Gait003.trc (113 markers, 115 frames) thus, he f...
by Fabien Leboeuf
Mon May 16, 2016 6:52 am
Forum: OpenSim
Topic: python API documentation
Replies: 1
Views: 170

python API documentation

Hi

Is there a python API documentation somewhere ?
I found some python Object not defined in the c++ api, for example : PropertyHelper()

if no documentation exist, could i get it by building the API ?
cheers
by Fabien Leboeuf
Sat May 14, 2016 1:35 am
Forum: OpenSim
Topic: marker trajectory after IK processing
Replies: 3
Views: 347

Re: marker trajectory after IK processing

thank Jim for your code.

I have found the way to collect "sto" data though the python api.
i am about to implement a python converter.
Best

fabien
by Fabien Leboeuf
Thu May 12, 2016 7:59 am
Forum: OpenSim
Topic: marker trajectory after IK processing
Replies: 3
Views: 347

Re: marker trajectory after IK processing

ok

if i use in my IK setup xml the node :
<report_marker_locations> as true.

the system reported data in a sto file.
I prefer a trc file. can i convert a sto in a trc file ?

regards
by Fabien Leboeuf
Thu May 12, 2016 4:03 am
Forum: OpenSim
Topic: marker trajectory after IK processing
Replies: 3
Views: 347

marker trajectory after IK processing

Hi

I would like to get marker trajectory after inverse kinematics.
How can i do both in the GUI and python API

regards

Fabien