model motion

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
hamed kouchebaghi
Posts: 47
Joined: Thu Nov 14, 2019 12:11 pm

model motion

Post by hamed kouchebaghi » 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

Tags:

User avatar
hamed kouchebaghi
Posts: 47
Joined: Thu Nov 14, 2019 12:11 pm

Re: model motion

Post by hamed kouchebaghi » 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

User avatar
hamed kouchebaghi
Posts: 47
Joined: Thu Nov 14, 2019 12:11 pm

Re: model motion

Post by hamed kouchebaghi » Tue Oct 13, 2020 11:12 pm

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

User avatar
Thomas Uchida
Posts: 1793
Joined: Wed May 16, 2012 11:40 am

Re: model motion

Post by Thomas Uchida » Wed Oct 14, 2020 3:00 pm

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.

POST REPLY