--- a +++ b/Tools/Templates/Human Standing/Model/GRFPrediction.any @@ -0,0 +1,47 @@ + + //-------- GRFPrediction for the right leg + // See: #include "<ANYBODY_PATH_AMMR>/Tools/GRFPrediction/FootPlateConditionalContact.any" + FootPlateConditionalContact GRF_Prediction_Right( + NORMAL_DIRECTION = "Y", + NUMBER_OF_NODES = 25, + NODES_FOLDER = FootNodes, + PLATE_BASE_FRAME = Main.Model.Environment.GlobalRef, + GLOBAL_REF = Main.Model.Environment.GlobalRef, + SHOW_TRIGGER_VOLUME = ON + ) = + { + CreateFootContactNodes25 FootNodes( + foot_ref=Main.HumanModel.BodyModel.Right.Leg.Seg.Foot + ) = {}; + + // Additional force plate settings + Settings = + { + LimitDistHigh = 0.025; // Vertical height + FrictionCoefficient = 0.8; + }; + }; + + + //-------- GRFPrediction for the right leg + // See: #include "<ANYBODY_PATH_AMMR>/Tools/GRFPrediction/FootPlateConditionalContact.any" + FootPlateConditionalContact GRF_Prediction_Left( + NORMAL_DIRECTION = "Y", + NUMBER_OF_NODES = 25, + NODES_FOLDER = FootNodes, + PLATE_BASE_FRAME = Main.Model.Environment.GlobalRef, + GLOBAL_REF = Main.Model.Environment.GlobalRef, + SHOW_TRIGGER_VOLUME = ON + ) = + { + CreateFootContactNodes25 FootNodes( + foot_ref=Main.HumanModel.BodyModel.Left.Leg.Seg.Foot + ) = {}; + + Settings = + { + LimitDistHigh = 0.025; + FrictionCoefficient = 0.8; + }; + }; +