Hi,

I am having a problem: the "ChLinkMotorLinearPosition" fails to serve as a 
prismatic link after some time.

I want to simulate an ellipsoid (blue-ish) hanging on a rod under a slider 
(called LA) that goes to two beams (green), and the slider should push the 
rod forward and constrain it from moving laterally and vertically.

But now, in my simulation, the rod can drop to the ground.
See videos:
At the top left, the robot drops before contacting the beams.
At the top right, I deleted the link between the rod and the robot, and 
this dropping of the rod still happens but is postponed.
At the bottom left, I added a prismatic link to secure this sliding motion, 
but the system is not moving but only shaking, maybe due to over-constraint.

Here is the motor code.
auto motor = chrono_types::make_shared<ChLinkMotorLinearPosition>();
motor->Initialize(LA, rod, ChFrame<>(ChVector<>(0, 0.02, 0), 
Q_from_AngY(CH_C_PI/2)));
motor->SetGuideConstraint(ChLinkMotorLinear::GuideConstraint::PRISMATIC);
motor->SetMotionFunction(f_ramp2);
mphysicalSystem.Add(motor);

Here are the files:
https://www.dropbox.com/scl/fi/uqv0wvjow36n694436w5f/v2_feedback_vis.zip?rlkey=2o8jqw3o3l7p34lnbeza8b9py&dl=0

And here are the videos, on page 3:
https://www.dropbox.com/scl/fi/zadvx4oonw8zp71u7i6gs/Yaqing_20240313_learn_Chrono.pptx?rlkey=3rpnrv9r34k1g0bi3tu847vhw&dl=0

Would anyone help?

Thanks,
Yaqing

-- 
You received this message because you are subscribed to the Google Groups 
"ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/projectchrono/377d4585-3ec1-409f-b684-eaa0d036febcn%40googlegroups.com.

Reply via email to