Hi, I’m currently trying to make a simple pedal movement based on the sitting position of a Formula style car. However whenever I try to run it, the whole position moves. I’ve used the base tutorial for the pedal in this test.
Please update your personal page so includes your affiliation.
Please describe how you have modified the standard model.
Please note that the loaded position may change when you try to run the model, this is normal. This happens if the initial load position is different from the position in the first frame. The load position can be changed in the mannequin.any file.
I’ve changed the location of the hpoint and the location for the hinge. I have also changed the direction in which the hinge pivots. However, whenever i run it, the model reverts back to the position before i modified it and the hinge seems to be acting in a strange way.
I have ran the kinematics it works if i leave the pedals as is but when i change the pedal to be depressed the same way you would in a formula style car it just breaks itself.
In the environment.any file you are using the same location for the Hinge and the FootNode. So the location of the hinge and the location of the contact between foot and pedal is the same, this is not meaningful it will run kinematically but inverse dynamic analysis will, for natural reasons.
If you change the hinge point to be
AnyRefNode Hinge = {
sRel = {0, -0.15, 0}; //Pedal hinge relative to origin
};
I’ve managed to rerun it but i still couldnt get the position to be equivalent to the initial. As the initial loaded model is closer to how a person would sit in a formula style car.
I decided to redo the code which I have provided but am still unable to solve the issue where the pedals wouldnt stay where I want it to and the model doesnt run at all now giving me constraint errors.
All I want to test out is the pedal moving forward in the positive x-axis simulating how the pedal would move while still pivoting on the Z-axis with the human model only moving the foot. I’m still new to this software so I’m slowly trying to understand it.
I have change the model a good deal, please review the two files attached carefully.
The motion looks somewhat real, from what i understood of the description.
I have not tested anything related to forces there are surely reactions in there between foot and pedal which are not yet ok, secondly there are no loads applied to the pedal.
Please delete the zip file you have uploaded in the previous post it contains the entire human model.
I’ve had a play around and am trying to lock the initial position as before running the kinematics bu when I do that the entire body does stay at the set location but ends up rotating and twisting when running the study.
I have looked quickly through the code and spotted these issues:
[ol]
[li]The measureorganizer is wrong it says {0,2,3,2,4,2} should be excluded entirely so that it would do the default {0,1,2,3,4,5} what you have is a driver on linx,linz,rotz,linz,roty,linz please see the manual for explanation on anykinmeasure organizer.
[/li]
[li]The reaction on the pedal driver should be off now there is an engine supplying the force you have added. use Reaction.Type={Off}
[/li]
[li]I would supply the force to the pedal directly nd not to the foot, this would be more in line with reality, though it is not entirely wrong to just put in on the foot
[/li][/ol]