Velocity vectors
- Misha Patel
- Posts: 17
- Joined: Mon Jun 05, 2017 2:07 am
Velocity vectors
If I have a model and it is moving, is there any way to see the vector or velocity at a point on that model?
Re: Velocity vectors
You can run a point kinematics analysis;
http://simtk-confluence.stanford.edu:80 ... m+Workflow
There is a point kinematics tutorial that you can run through;
http://simtk-confluence.stanford.edu:80 ... cs+Example
http://simtk-confluence.stanford.edu:80 ... m+Workflow
There is a point kinematics tutorial that you can run through;
http://simtk-confluence.stanford.edu:80 ... cs+Example
- Misha Patel
- Posts: 17
- Joined: Mon Jun 05, 2017 2:07 am
Re: Velocity vectors
Thanks for the link to the tutorial.
Is there any more explanation on how to actually do point kinematics... the download file only seems to contain models and motions but not really an explanation of what to do
Is there any more explanation on how to actually do point kinematics... the download file only seems to contain models and motions but not really an explanation of what to do
- Thomas Uchida
- Posts: 1804
- Joined: Wed May 16, 2012 11:40 am
Re: Velocity vectors
It works like the other analyses. I suggest looking through the documentation on Confluence (http://simtk-confluence.stanford.edu:80 ... h+Analyses) and trying it on a simple model first.Is there any more explanation on how to actually do point kinematics... the download file only seems to contain models and motions but not really an explanation of what to do
- Misha Patel
- Posts: 17
- Joined: Mon Jun 05, 2017 2:07 am
Re: Velocity vectors
Thanks, the link was very useful.
When it comes to the 'input' section of the analyze tool, what does the 'control' file do?
When it comes to the 'input' section of the analyze tool, what does the 'control' file do?
- Thomas Uchida
- Posts: 1804
- Joined: Wed May 16, 2012 11:40 am
Re: Velocity vectors
Please read the documentation. See, in particular, the controls section on the "Getting Started with Analyses" page (http://simtk-confluence.stanford.edu:80 ... h+Analyses).When it comes to the 'input' section of the analyze tool, what does the 'control' file do?
- Misha Patel
- Posts: 17
- Joined: Mon Jun 05, 2017 2:07 am
Re: Velocity vectors
So is it necessary to have controls or can you do point kinematics without it?
- Thomas Uchida
- Posts: 1804
- Joined: Wed May 16, 2012 11:40 am
Re: Velocity vectors
From the "How to Use the Analysis Tool" page (http://simtk-confluence.stanford.edu:80 ... lysis+Tool): "If you are running an analysis on an existing simulation, you will most often specify a set of controls and states output by that simulation." For what simulation results are you running an analysis?So is it necessary to have controls or can you do point kinematics without it?
- Misha Patel
- Posts: 17
- Joined: Mon Jun 05, 2017 2:07 am
Re: Velocity vectors
I am trying to run the point kinematics on the 'leg6dof9musc.osim' model... I have loaded a motion and so I have selected loaded motion.
But I am unsure what file to load for the controls, I seem to be getting all 0's when I don't have a control file.\
When I copy this example and use all the same files I still don't get non-0 results:
http://simtk-confluence.stanford.edu:80 ... lysis+Tool
I'm using a code in MATLAB to process the data.
But I am unsure what file to load for the controls, I seem to be getting all 0's when I don't have a control file.\
When I copy this example and use all the same files I still don't get non-0 results:
http://simtk-confluence.stanford.edu:80 ... lysis+Tool
I'm using a code in MATLAB to process the data.
- Thomas Uchida
- Posts: 1804
- Joined: Wed May 16, 2012 11:40 am
Re: Velocity vectors
Thank you for the explanation. The zeros have nothing to do with whether you have provided a controls file. I suspect the issue is that you have not properly configured the PointKinematics analysis. Here is an example:I am trying to run the point kinematics on the 'leg6dof9musc.osim' model... I have loaded a motion and so I have selected loaded motion. But I am unsure what file to load for the controls, I seem to be getting all 0's when I don't have a control file.\
- open leg6dof9musc.osim
- load Swing\leg69_IK_swing.mot
- select Analyze… from the Tools menu
- in the Analyses tab, click Add and select PointKinematics
- select PointKinematics (the item that now appears at the top of the list)
- click the Edit button at the bottom of the window
- beside "body_name", double-click "ground", type "toes_r", and press <Enter>
- beside "relative_to_body_name", double-click "none", type "ground", and press <Enter>
- click OK and then Run