MocoOutputTracking Goal Problems:
Posted: Fri Apr 12, 2024 8:09 am
Hi,
We have two questions that we hope someone can help us with:
Q.1. We want to track the trajectory of a particular body segment (such as the toes) with MocoOutputTrackingGoal. We defined the output path for the body as: "FootGoal->setOutputPath("/bodyset/ltoes|position");". Is this the correct way? We are not acquainted with that pipe (|) operation to set a path. Are there other ways to capturing the position of a body segment via the path definition?
Q.2. The path or trajectory we want to track is a function of time from time t0 to time tf. We also want to make tf in the overall problem an unknown to be determined via MocoFinalTimeGoal. How can we make the tf in the definition of the trajectory adjust for the varying tf in the Moco solution?
Thanks for any insight.
We have two questions that we hope someone can help us with:
Q.1. We want to track the trajectory of a particular body segment (such as the toes) with MocoOutputTrackingGoal. We defined the output path for the body as: "FootGoal->setOutputPath("/bodyset/ltoes|position");". Is this the correct way? We are not acquainted with that pipe (|) operation to set a path. Are there other ways to capturing the position of a body segment via the path definition?
Q.2. The path or trajectory we want to track is a function of time from time t0 to time tf. We also want to make tf in the overall problem an unknown to be determined via MocoFinalTimeGoal. How can we make the tf in the definition of the trajectory adjust for the varying tf in the Moco solution?
Thanks for any insight.