[770c98]: / Application / Examples / BikeModel2D / Model / BikeFrameGroundConnection.any

Download this file

17 lines (15 with data), 604 Bytes

/// This is the joint which connecting the Pelvis segment to the bike.
AnyRevoluteJoint BikeGroundJoint ={
  Axis = z;
  AnyRefNode & crank  = .BikeModel.BikeFrame.SaddelPos;
  AnyRefNode & ground = .GroundNode;
};

AnyKinEqSimpleDriver BikeGroundRotation = {
  AnyRevoluteJoint &Jnt = .BikeGroundJoint;
  DriverPos = {0};
  DriverVel = {0};
  //Setting Reaction.Type=1 means that the joint will generate the moment it will 
  //need to balance this DOF, setting it to 0 which is default will mean that muscles 
  //forces will be used for balancing the joint
  Reaction.Type = {On}; 
};