Lesson 1: Using the standing model

The model repository contains a number of applications that are generic in nature and can serve dual purposes: Either they can be used with minor modifications or they can with minor modifications become a model of something else. The Standing Model is one of these general applications, and we shall use it here by virtue of its first ability, i.e. pretty much as it is.

The standing model can be found in the repository under ARep/Aalborg. This position indicates that it is an application as opposed to merely a body part, and that it was developed by the AnyBody Research Group at Aalborg University. The model comprises most of the available body parts in the library. The main file is called StandingModel.Main.any, and this is the one you must load.

You can open the file with the file manager in AnyBody or by Windows Explorer, but it can be recommend that you use the demo files installed together with AnyBody. In this case, you can take the shortcut via the the Demo tab of the AnyBody Assistant dialog box. The Demo tab will contain links to many interesting models including the Standing Model.

Before you hit the load button, please have a look at the structure of the main file. The first part of it should look like this:

Main = {

  #include "DrawSettings.any"

  AnyFolder Model={

    AnyFolder HumanModel={

      //This model is only for kinematic analysis and should be used when playing
      //around with the kinematics of the model since leaving the muscles out, makes
      //the model run much faster
      #include "..\..\..\BRep\Aalborg\BodyModels\FullBodyModel\BodyModel_NoMuscles.any"

      //This model uses the simple constant force muscles
      //#include  "..\..\..\BRep\Aalborg\BodyModels\FullBodyModel\BodyModel.any"

      //This model uses the simple constant force muscles for shoulder-arm and spine
      //but the 3 element Hill-type model for the legs
      //Remember to calibrate the legs before running the inverse anlysis
      //This is done by pressing Main.Bike3D.Model.humanModel.CalibrationSequence in the
      //operationtree(lower left corner of screen)
      //#include  "..\..\..\BRep\Aalborg\BodyModels\FullBodyModel\BodyModel_Mus3E.any"

      AnyFolder StrengthParameters={
        AnyVar SpecificMuscleTensionSpine= 90; //N/cm^2
        AnyVar StrengthIndexLeg= 1;
        AnyVar SpecificMuscleTensionShoulderArm= 90; //N/cm^2
      };


      //Pick one of the scaling laws
      //Do not scale
      #include "..\..\..\BRep\Aalborg\Scaling\ScalingStandard.any"
      //Scaling unifoRmly in all directions to macth segments lengths
      //#include "..\..\..\BRep\Aalborg\Scaling\ScalingUniform.any"
      //Scaling taking length and mass of the segments into account
      //#include "..\..\..\BRep\Aalborg\Scaling\ScalingLengthMass.any"
      //Scaling taking length, mass and fat of the segments into account
      //#include "..\..\..\BRep\Aalborg\Scaling\ScalingLengthMassFat.any"

      //      Scaling={
      //        #include "..\..\..\BRep\Aalborg\Scaling\AnyFamilyAnyJack.any"
      //      };
    };
 

Please notice that depending on who touched the file last, the choice of body model and scaling option as defined by the lines commented in or out may be different for you than shown above. Please make sure that you have chosen the BodyModel_NoMuscles and the ScalingStandard options, and that the Scaling folder is commented out.

The standing model has a few things, which are predefined, and some that you can modify. Here is a short list:

  • The model is supported by having both its feet rigidly connected to ground. This conditon applied no matter what posture the model is put into.
  • The posture of the model is controlled via angles for all major joints except the ankles. So the model has a place where joint angles can be specified directly, and the model will assume the posture defined by the joint angles. We shall return to this topic shortly.
  • The model automatically balances its posture by means of the ankle angles such that its collective center of mass remains vertically above the ankle joints. For instance, if the model extends the arms in front of it, then the ankles will adjust and move the entire model slightly backwards to maintain the balance.
  • The model has a set of predefined points to which can be applied three-dimensional external forces simply defined as spatial vectors. When doing so, the muscles of the model will be recruited to balance the extrnal forces. Please notice that it is possible to apply an external force large enough to require tension between the feet and the floor. Because of the rounding condition of the feet such a tension will be provided by the model but the situation may not be realistic because real feet rarely stick to the ground.

It is time to load the model. You do this by pressing one of the Load Model buttons that look like this  and are located in left hand side of the toolbar of the AnyScript Editor windows and on the main frame toolbar. F7 is a convenient shortcut when reloading the same model many times. Since the model currently has no muscles, it should load very quickly. Pressing the menus Window -> Model View (new) should produce the following result: 

The icons in the toolbar at the top of the Model View window allows you to modify the image, zoom, pan, rotate, etc. They should be mostly self explanatory. Now is a good time to play a bit around with them and familiarize yourself with the options.

Having loaded the model it is time to proceed to lesson 2: Controlling the posture.

AnyBody Technology A/S · Niels Jernes Vej 10 · DK-9220 Aalborg Ø · Denmark · Tel. +45 9635 4286 · Fax. +45 9635 4599
Copyright (c) AnyBody Technology A/S · 2006 · All rights reserved · Email webmaster@anybodytech.com