Switch to unified view

a b/Application/Examples/BikeModel2D/Model/BikeFrameGroundConnection.any
1
/// This is the joint which connecting the Pelvis segment to the bike.
2
AnyRevoluteJoint BikeGroundJoint ={
3
  Axis = z;
4
  AnyRefNode & crank  = .BikeModel.BikeFrame.SaddelPos;
5
  AnyRefNode & ground = .GroundNode;
6
};
7
8
AnyKinEqSimpleDriver BikeGroundRotation = {
9
  AnyRevoluteJoint &Jnt = .BikeGroundJoint;
10
  DriverPos = {0};
11
  DriverVel = {0};
12
  //Setting Reaction.Type=1 means that the joint will generate the moment it will 
13
  //need to balance this DOF, setting it to 0 which is default will mean that muscles 
14
  //forces will be used for balancing the joint
15
  Reaction.Type = {On}; 
16
};