Page 1 of 1

model motion

Posted: Sat Oct 10, 2020 11:57 pm
by hamed1994
Hello

I was able to build the motion model using the "prescribeMotionInModel.m" file.
Now I want to move the model to the desired coordinates. I mean when the model starts to move and lastly stops I want it to stop at the coordinates which I give to the model. What should I do ?

Thank you,
Hamed

Re: model motion

Posted: Mon Oct 12, 2020 1:15 am
by hamed1994
hamed1994 wrote:
Sat Oct 10, 2020 11:57 pm
Hello

I was able to build the motion model using the "prescribeMotionInModel.m" file.
Now I want to move the model to the desired coordinates. I mean when the model starts to move and lastly stops I want it to stop at the coordinates which I give to the model. What should I do ?

Thank you,
Hamed
hello,

I want to add a controller to the model which I mentioned above to control the arm motion. This is the all thing I want to do.
Since now I have been able to visualize the arm model and move it.
I'll be thankful for your help.

Thanks and Best,
Hamed

Re: model motion

Posted: Tue Oct 13, 2020 11:12 pm
by hamed1994
hamed1994 wrote:
Mon Oct 12, 2020 1:15 am
hamed1994 wrote:
Sat Oct 10, 2020 11:57 pm
Hello

I was able to build the motion model using the "prescribeMotionInModel.m" file.
Now I want to move the model to the desired coordinates. I mean when the model starts to move and lastly stops I want it to stop at the coordinates which I give to the model. What should I do ?

Thank you,
Hamed
hello,

I want to add a controller to the model which I mentioned above to control the arm motion. This is the all thing I want to do.
Since now I have been able to visualize the arm model and move it.
I'll be thankful for your help.

Thanks and Best,
Hamed
hello

Could you help me with this please Mr. Uchida that what I should do?

thanks,
Hamed

Re: model motion

Posted: Wed Oct 14, 2020 3:00 pm
by tkuchida
It sounds like you need to add a controller to the model. See, for example, the PrescribedController class: https://simtk.org/api_docs/opensim/api_ ... oller.html.