Ignore:
Timestamp:
06/22/23 17:25:06 (11 months ago)
Author:
Maciej Komosinski
Message:

Disabled mutating joint stiffness in fH and fB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/genetics/fH/fH_general.cpp

    r1257 r1261  
    1818const char *fH_part_names[FH_PART_PROPS_COUNT] = { "fr" }; // , "dn", "ing", "as" };
    1919
    20 const char *fH_joint_names[FH_JOINT_PROPS_COUNT] = { "stif", "rotstif" }; //, "stam" };
     20const char *fH_joint_names[FH_JOINT_PROPS_COUNT] = { "rotstif" }; //"stif", "stam" }; //actually we would want to disable "rotstif" too (we assume the default value is the best, lower values are good to test technical abilities of phenotypes, but in most cases not useful for evolution - the structures and muscles get weaker and even more elastic), but having no joint properties was never tested, so better leave at least one
    2121
    2222void fH_Handle::loadProperties(Param par)
     
    397397        model->addJoint(newjoint);
    398398
    399         newjoint->stif = par.getDoubleById("stif");
    400399        newjoint->rotstif = par.getDoubleById("rotstif");
     400        //newjoint->stif = par.getDoubleById("stif");
    401401        //newjoint->stamina = par.getDoubleById("stam");
    402402        newjoint->attachToParts(firstpart, secondpart);
Note: See TracChangeset for help on using the changeset viewer.