I want to use the initial condition information of a model as a kinematic constraint for a motion.
I mean, the initial pose of the model which is determined by InitialConditions operation should be fixed while other body segments are moving. So I need to retrieve initial condition info and make it as a kinematic constraint.
How can I do this?
First, I would recommend you to define an AnyKinLinear and AnyKinRotatioal kinematic measure between the global coordinate system and the target segment which you are interested in.
Then you can run the InitialConditions operation. After that you can read the values of the kinematic measures that you defined.
Finally, you can define your drivers of 6 DOFs for that segment.