Forums Anyscript.org  

Go Back   Forums Anyscript.org > Professional Forum > AnyGait

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 06-12-2017, 04:50 PM
So_Any So_Any is offline
Member
 
Join Date: May 2015
Posts: 46
Question AnyGait application with FullBody

Hi everyone,

I have been proceeding my own *.c3d files with the AnyGait application from the AMMR.
I encountered no problems for plotting the desired output, given that information and explanations were clear.

Nevertheless, now I would like to run the model in FullBody because I would like to include additional muscles from the trunk.
Is there a way to do so?

Thank you in advance for your help,
Reply With Quote
  #2  
Old 06-13-2017, 08:33 AM
toerholm's Avatar
toerholm toerholm is offline
AnyBody Support
 
Join Date: Feb 2009
Posts: 924
Default

Hi

The short answer is that this will be much more difficult to make the AnyGait model working for the upper body than using the stanard MocapModel in the repository.

The AnyGait model relies on a specific marker protocol to be present and the model has been derived around this protocol, this has not been done for the upper body.


We also have a new version of the mocap available please see https://github.com/AnyBody/anymocap

This model will replace the MocapModel in AMMR at some point, it contains many improvements compared to the old model, and is better suited for running multiple trials.


Best regards
Søren
__________________
TIP: How to save and load results.
http://wiki.anyscript.org/index.php/All_about_AnyBody_Modeling_System#Save_Load_and_Re play_Results

Subscribe to the forums, click the 'Forum Tools' link above the list of threads then select 'Subscribe to Forum'. You will then have the option to choose the subscription mode for this forum and get an email automatically.
Reply With Quote
  #3  
Old 06-13-2017, 10:50 AM
So_Any So_Any is offline
Member
 
Join Date: May 2015
Posts: 46
Default

Hi,

Thank you for your quick answer.

Allright, I installed the new version of the Mocap and had a look at it.
Nevertheless, it is less intuitive than the AnyGait because of no graphic interface / menu.
In my opinion, running an analysis with AnyGait is rather easy.

Where could I foud a detailled tutorial to applied this Fullbody Model to my own C3D static and dynamics files from trials?
Reply With Quote
  #4  
Old 06-14-2017, 08:18 AM
toerholm's Avatar
toerholm toerholm is offline
AnyBody Support
 
Join Date: Feb 2009
Posts: 924
Default

Hi

Please have a look at this webcast

https://www.youtube.com/watch?v=CdEIDH0jLu4

It displays a few features in the model, please view from around 19 min into the video.

For the standard mocap model available in AMMR we have a detailed description availble for how to use the model, it can be see here
https://github.com/AnyBody/support/w...p-driven-Model

Unfortunately we do not have a similar document for the new model yet, we are working on that. Many of the elements will be somewhat similar like how to add a marker e.g. or defining forceplates, but the structure of the models are different.

Which type of motion are you trying to model?

Best regards
Søren
__________________
TIP: How to save and load results.
http://wiki.anyscript.org/index.php/All_about_AnyBody_Modeling_System#Save_Load_and_Re play_Results

Subscribe to the forums, click the 'Forum Tools' link above the list of threads then select 'Subscribe to Forum'. You will then have the option to choose the subscription mode for this forum and get an email automatically.
Reply With Quote
  #5  
Old 06-14-2017, 09:28 AM
So_Any So_Any is offline
Member
 
Join Date: May 2015
Posts: 46
Default

Thank you for your reply, concise and to the point as usual.

I already ran into this github link with detailled description and I already defined the correct markers names in my C3D file and linked it with the Anymocap.
In addition, I also input anthropometrics data of my subject and tried to manually match the markers of the model to my own (shoulders, pelvis, knees and feet).
However, I still have the following error message:
"Kinematic analysis failed in time step0: Indefinite positions"
If I'm not wrong it should be a problem with the initial position.

By the way, isn't it necessary to provide also static C3D file for analysis?

The motion I am trying to model is a normal gait movement.
Nevertheless, I will maybe find an information I am missing in the webcast you advised, let's see.
Reply With Quote
  #6  
Old 06-14-2017, 09:41 AM
toerholm's Avatar
toerholm toerholm is offline
AnyBody Support
 
Join Date: Feb 2009
Posts: 924
Default

Hi

I think this error relates to DOF's in the model which are not driven by either a marker or an extra driver or other constraints. So please ensure you have markers enough to cover all DOF's in the model, you would get this error is you have no markers on the head e.g. There is a file named "extraDrivers.any" in the model, in this file you can enable default drivers joint by joint using BM statements. Typically having a default driver for the SC can be a good idea depending on the number of markers you have on the arm.

This model does not make use of a static trial, in contrast to the AnyGait model it does a paramerter optimization step where the size of the subject and some marker locations (if OptX, OptY or OptZ is set to On in the marker definition) are being optimized to fit in the best way the marker trajectory.

Best regards
Søren
__________________
TIP: How to save and load results.
http://wiki.anyscript.org/index.php/All_about_AnyBody_Modeling_System#Save_Load_and_Re play_Results

Subscribe to the forums, click the 'Forum Tools' link above the list of threads then select 'Subscribe to Forum'. You will then have the option to choose the subscription mode for this forum and get an email automatically.
Reply With Quote
  #7  
Old 06-14-2017, 12:08 PM
So_Any So_Any is offline
Member
 
Join Date: May 2015
Posts: 46
Default

All right, because I used to work with the LowerBody rather than the FullBody I totally forgot the extraDrivers for the parts of the model I do not have motion information about ... thank you for this reminder.

Therefore, I managed to Run "Analysis" under "ParameterIdentification".
However, "Optimization" under the same folder gives me an error message: Optimization failed: zero step length.

Sorry once again for disturbing, but I unfortunately found no information on both the forum and the github link regarding this result.
Reply With Quote
  #8  
Old 06-14-2017, 12:57 PM
toerholm's Avatar
toerholm toerholm is offline
AnyBody Support
 
Join Date: Feb 2009
Posts: 924
Default

Hi

I think this might relate to that you may have design variables in the model with no senstivity, this would happen e.g. if you tried to optimize the length of the upper arm but had no markers on the arm.

If you go in the "labspecific.any" file you can change which of the segments are being optimzed in size.

Best regards
Søren
__________________
TIP: How to save and load results.
http://wiki.anyscript.org/index.php/All_about_AnyBody_Modeling_System#Save_Load_and_Re play_Results

Subscribe to the forums, click the 'Forum Tools' link above the list of threads then select 'Subscribe to Forum'. You will then have the option to choose the subscription mode for this forum and get an email automatically.
Reply With Quote
  #9  
Old 06-14-2017, 02:35 PM
So_Any So_Any is offline
Member
 
Join Date: May 2015
Posts: 46
Default

I thought this could have been the reason, but no changes.

Maybe the attached image of the model with the markers could give ou a clue.
Attached Images
File Type: jpg gait_markers_step0.jpg (60.4 KB, 7 views)
Reply With Quote
  #10  
Old 06-14-2017, 02:42 PM
toerholm's Avatar
toerholm toerholm is offline
AnyBody Support
 
Join Date: Feb 2009
Posts: 924
Default

Hi

Ok so please confirm that all arms are not being optimized and same for head height?

Please also try to set the markers to not optimized their position, this can be essentially same issue. Imagine optimizing foot length and all markers on foot are free to change location. This would also create an unbounded solution.

Best regards
Søren
__________________
TIP: How to save and load results.
http://wiki.anyscript.org/index.php/All_about_AnyBody_Modeling_System#Save_Load_and_Re play_Results

Subscribe to the forums, click the 'Forum Tools' link above the list of threads then select 'Subscribe to Forum'. You will then have the option to choose the subscription mode for this forum and get an email automatically.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:16 PM.