Page 1 of 1

how to make a controller which can track trajectory

Posted: Tue Sep 01, 2020 9:27 am
by wzh1433223
I have made an exoskeleton model which can be worn on the thigh and pelvis. It can help patient lift his thigh. Through inverse kinematics, I got the data recording how joint angle changes with time. I want the exoskeleton servo motor to follow this curve and adjust the PID. what should I do? Are there any specific examples about this?

Re: how to make a controller which can track trajectory

Posted: Thu Sep 03, 2020 10:52 am
by ongcf
There's a ControllerExample provided in the OpenSim repository: https://github.com/opensim-org/opensim- ... xample.cpp

Looks like it might just be PD but could be a good place to start.