I'm working on a simulation where I need to prescribe the kinematics (position, velocity, and acceleration) of a ChBody one timestep ahead, rather than at the current time. I understand that SetPos(), SetVel(), and related methods can be used to prescribe the current position and velocity of a body. However, I'm looking for functionality more similar to the rheonomic constraints like ChLinkMotor classes that use time-dependent functions to define motion.
My questions are the following:
Is there currently a way to specify kinematics of a ChBody at the next time step? I have been unable to find it thus far.
If this functionality doesn’t exist, do you have any recommendations for how to implement it? Would extending an existing ChLinkMotor or using a custom constraint be appropriate?
Hi Matt,
Look at ChLinkMotionImposed and demos such as demo_MBS_imposed_motion and demo_ROBOT_Industrial that use it.
--Radu
--
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
projectchron...@googlegroups.com.
To view this discussion visit
https://groups.google.com/d/msgid/projectchrono/08fd8eda-f072-4a46-a770-d8436ed51710n%40googlegroups.com.
On Jul 11, 2025, at 11:46 PM, 'Radu Serban' via ProjectChrono <projec...@googlegroups.com> wrote:
You received this message because you are subscribed to a topic in the Google Groups "ProjectChrono" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/projectchrono/GhBw-4wo0SU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to projectchron...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/projectchrono/CH3PPF46CDC2185ED56777D5DCE92B49A42A74AA%40CH3PPF46CDC2185.namprd06.prod.outlook.com.