I want to know which coordinate system is mass_center defined in.
Code: Select all
<Body name="r_humerus">
<mass>1.864572</mass>
<mass_center> 0 -0.180496 0</mass_center>
<inertia_xx>0.01481</inertia_xx>
<inertia_yy>0.004551</inertia_yy>
<inertia_zz>0.013193</inertia_zz>
<inertia_xy>0</inertia_xy>
<inertia_xz>0</inertia_xz>
<inertia_yz>0</inertia_yz>
<!--Joint that connects this body with the parent body.-->
e.g.<axis>-0.05889802 0.0023 0.99826136</axis> of coordinates "r_shoulder_elev"
Code: Select all
<Joint>
<CustomJoint name="r_shoulder">
<!--Defines how the child body moves with respect to the parent as a function of the generalized coordinates.-->
<SpatialTransform>
<!--3 Axes for rotations are listed first.-->
<TransformAxis name="rotation1">
<!--Names of the coordinates that serve as the independent variables of the transform function.-->
<coordinates>r_shoulder_elev</coordinates>
<!--Rotation or translation axis for the transform.-->
<axis>-0.05889802 0.0023 0.99826136</axis>