Skip to content

Commit cdec5cc

Browse files
authored
LSTM with wrist motion (#148)
* LSTM with wrist motion * remove tab
1 parent 38246aa commit cdec5cc

File tree

2 files changed

+103
-5
lines changed

2 files changed

+103
-5
lines changed

Pose2Sim/OpenSim_Setup/IK_Setup_Pose2Sim_LSTM.xml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,42 @@
276276
<!--Weight given to a marker or coordinate for solving inverse kinematics problems.-->
277277
<weight>25</weight>
278278
</IKMarkerTask>
279+
<IKMarkerTask name="RThumb">
280+
<!--Whether or not this task will be used during inverse kinematics solve, default is true.-->
281+
<apply>true</apply>
282+
<!--Weight given to the task when solving inverse kinematics problems, default is 0.-->
283+
<weight>1</weight>
284+
</IKMarkerTask>
285+
<IKMarkerTask name="RIndex">
286+
<!--Whether or not this task will be used during inverse kinematics solve, default is true.-->
287+
<apply>true</apply>
288+
<!--Weight given to the task when solving inverse kinematics problems, default is 0.-->
289+
<weight>1</weight>
290+
</IKMarkerTask>
291+
<IKMarkerTask name="RPinky">
292+
<!--Whether or not this task will be used during inverse kinematics solve, default is true.-->
293+
<apply>true</apply>
294+
<!--Weight given to the task when solving inverse kinematics problems, default is 0.-->
295+
<weight>1</weight>
296+
</IKMarkerTask>
297+
<IKMarkerTask name="LThumb">
298+
<!--Whether or not this task will be used during inverse kinematics solve, default is true.-->
299+
<apply>true</apply>
300+
<!--Weight given to the task when solving inverse kinematics problems, default is 0.-->
301+
<weight>1</weight>
302+
</IKMarkerTask>
303+
<IKMarkerTask name="LIndex">
304+
<!--Whether or not this task will be used during inverse kinematics solve, default is true.-->
305+
<apply>true</apply>
306+
<!--Weight given to the task when solving inverse kinematics problems, default is 0.-->
307+
<weight>1</weight>
308+
</IKMarkerTask>
309+
<IKMarkerTask name="LPinky">
310+
<!--Whether or not this task will be used during inverse kinematics solve, default is true.-->
311+
<apply>true</apply>
312+
<!--Weight given to the task when solving inverse kinematics problems, default is 0.-->
313+
<weight>1</weight>
314+
</IKMarkerTask>
279315
<IKCoordinateTask name="sh_tx_l">
280316
<!--Whether or not this task will be used during inverse kinematics solve, default is true.-->
281317
<apply>true</apply>

Pose2Sim/OpenSim_Setup/Model_Pose2Sim_LSTM.osim

Lines changed: 67 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6229,7 +6229,7 @@
62296229
<!--Flag indicating whether or not the values of the coordinates should be limited to the range, above.-->
62306230
<clamped>true</clamped>
62316231
<!--Flag indicating whether or not the values of the coordinates should be constrained to the current (e.g. default) value, above.-->
6232-
<locked>true</locked>
6232+
<locked>false</locked>
62336233
<!--If specified, the coordinate can be prescribed by a function of time. It can be any OpenSim Function with valid second order derivatives.-->
62346234
<prescribed_function />
62356235
<!--Flag indicating whether or not the values of the coordinates should be prescribed according to the function above. It is ignored if the no prescribed function is specified.-->
@@ -6245,7 +6245,7 @@
62456245
<!--Flag indicating whether or not the values of the coordinates should be limited to the range, above.-->
62466246
<clamped>true</clamped>
62476247
<!--Flag indicating whether or not the values of the coordinates should be constrained to the current (e.g. default) value, above.-->
6248-
<locked>true</locked>
6248+
<locked>false</locked>
62496249
<!--If specified, the coordinate can be prescribed by a function of time. It can be any OpenSim Function with valid second order derivatives.-->
62506250
<prescribed_function />
62516251
<!--Flag indicating whether or not the values of the coordinates should be prescribed according to the function above. It is ignored if the no prescribed function is specified.-->
@@ -6735,7 +6735,7 @@
67356735
<!--Flag indicating whether or not the values of the coordinates should be limited to the range, above.-->
67366736
<clamped>true</clamped>
67376737
<!--Flag indicating whether or not the values of the coordinates should be constrained to the current (e.g. default) value, above.-->
6738-
<locked>true</locked>
6738+
<locked>false</locked>
67396739
<!--If specified, the coordinate can be prescribed by a function of time. It can be any OpenSim Function with valid second order derivatives.-->
67406740
<prescribed_function />
67416741
<!--Flag indicating whether or not the values of the coordinates should be prescribed according to the function above. It is ignored if the no prescribed function is specified.-->
@@ -6751,7 +6751,7 @@
67516751
<!--Flag indicating whether or not the values of the coordinates should be limited to the range, above.-->
67526752
<clamped>true</clamped>
67536753
<!--Flag indicating whether or not the values of the coordinates should be constrained to the current (e.g. default) value, above.-->
6754-
<locked>true</locked>
6754+
<locked>false</locked>
67556755
<!--If specified, the coordinate can be prescribed by a function of time. It can be any OpenSim Function with valid second order derivatives.-->
67566756
<prescribed_function />
67576757
<!--Flag indicating whether or not the values of the coordinates should be prescribed according to the function above. It is ignored if the no prescribed function is specified.-->
@@ -7477,7 +7477,69 @@
74777477
<location>-0.056276 -0.078490000000000004 -0.077259999999999995</location>
74787478
<!--Flag (true or false) specifying whether the marker is fixed in its parent frame during the marker placement step of scaling. If false, the marker is free to move within its parent Frame to match its experimental counterpart.-->
74797479
<fixed>false</fixed>
7480-
</Marker>
7480+
</Marker>
7481+
<Marker name="RThumb">
7482+
<!--Path to a Component that satisfies the Socket 'parent_frame' of type PhysicalFrame (description: The frame to which this station is fixed.).-->
7483+
<socket_parent_frame>/bodyset/hand_r</socket_parent_frame>
7484+
<!--The fixed location of the station expressed in its parent frame.-->
7485+
<location>0.015900600000000001 -0.053530099999999997 0.045219599999999999</location>
7486+
</Marker>
7487+
<Marker name="RIndex">
7488+
<!--Path to a Component that satisfies the Socket 'parent_frame' of type PhysicalFrame (description: The frame to which this station is fixed.).-->
7489+
<socket_parent_frame>/bodyset/hand_r</socket_parent_frame>
7490+
<!--The fixed location of the station expressed in its parent frame.-->
7491+
<location>0.0031182900000000001 -0.082610900000000001 0.0160293</location>
7492+
</Marker>
7493+
<Marker name="RPinky">
7494+
<!--Path to a Component that satisfies the Socket 'parent_frame' of type PhysicalFrame (description: The frame to which this station is fixed.).-->
7495+
<socket_parent_frame>/bodyset/hand_r</socket_parent_frame>
7496+
<!--The fixed location of the station expressed in its parent frame.-->
7497+
<location>0.00311312 -0.073810299999999995 -0.0325446</location>
7498+
</Marker>
7499+
<Marker name="LThumb">
7500+
<!--Path to a Component that satisfies the Socket 'parent_frame' of type PhysicalFrame (description: The frame to which this station is fixed.).-->
7501+
<socket_parent_frame>/bodyset/hand_l</socket_parent_frame>
7502+
<!--The fixed location of the station expressed in its parent frame.-->
7503+
<location>0.015900595366914239 -0.053530050744837965 -0.045219604622807212</location>
7504+
</Marker>
7505+
<Marker name="LIndex">
7506+
<!--Path to a Component that satisfies the Socket 'parent_frame' of type PhysicalFrame (description: The frame to which this station is fixed.).-->
7507+
<socket_parent_frame>/bodyset/hand_l</socket_parent_frame>
7508+
<!--The fixed location of the station expressed in its parent frame.-->
7509+
<location>0.0031182929587494357 -0.082610892492083754 -0.016029259621825068</location>
7510+
</Marker>
7511+
<Marker name="LPinky">
7512+
<!--Path to a Component that satisfies the Socket 'parent_frame' of type PhysicalFrame (description: The frame to which this station is fixed.).-->
7513+
<socket_parent_frame>/bodyset/hand_l</socket_parent_frame>
7514+
<!--The fixed location of the station expressed in its parent frame.-->
7515+
<location>0.0031131181410346542 -0.073810317144973658 0.032544599634169884</location>
7516+
<!--Flag (true or false) specifying whether the marker is fixed in its parent frame during the marker placement step of scaling. If false, the marker is free to move within its parent Frame to match its experimental counterpart.-->
7517+
<fixed>false</fixed>
7518+
</Marker>
7519+
<Marker name="Nose">
7520+
<!--Path to a Component that satisfies the Socket 'parent_frame' of type PhysicalFrame (description: The frame to which this station is fixed.).-->
7521+
<socket_parent_frame>/bodyset/head</socket_parent_frame>
7522+
<!--The fixed location of the station expressed in its parent frame.-->
7523+
<location>0.107623784338859 0.54290490722614126 0.0001528854696219647</location>
7524+
<!--Flag (true or false) specifying whether the marker is fixed in its parent frame during the marker placement step of scaling. If false, the marker is free to move within its parent Frame to match its experimental counterpart.-->
7525+
<fixed>true</fixed>
7526+
</Marker>
7527+
<Marker name="REye">
7528+
<!--Path to a Component that satisfies the Socket 'parent_frame' of type PhysicalFrame (description: The frame to which this station is fixed.).-->
7529+
<socket_parent_frame>/bodyset/head</socket_parent_frame>
7530+
<!--The fixed location of the station expressed in its parent frame.-->
7531+
<location>0.070157181776970542 0.55784285717609527 0.031106947145128013</location>
7532+
<!--Flag (true or false) specifying whether the marker is fixed in its parent frame during the marker placement step of scaling. If false, the marker is free to move within its parent Frame to match its experimental counterpart.-->
7533+
<fixed>true</fixed>
7534+
</Marker>
7535+
<Marker name="LEye">
7536+
<!--Path to a Component that satisfies the Socket 'parent_frame' of type PhysicalFrame (description: The frame to which this station is fixed.).-->
7537+
<socket_parent_frame>/bodyset/head</socket_parent_frame>
7538+
<!--The fixed location of the station expressed in its parent frame.-->
7539+
<location>0.070157200000000003 0.55784299999999998 -0.0311069</location>
7540+
<!--Flag (true or false) specifying whether the marker is fixed in its parent frame during the marker placement step of scaling. If false, the marker is free to move within its parent Frame to match its experimental counterpart.-->
7541+
<fixed>true</fixed>
7542+
</Marker>
74817543
</objects>
74827544
<groups />
74837545
</MarkerSet>

0 commit comments

Comments
 (0)