*SetMotionIC() - symmetric motion pair
Sets the initial conditions of a symmetric motion pair.
Syntax
*SetMotionIC(motion_name, LEFT|RIGHT,
ic_disp,
ic_vel)
Arguments
- motion_name
- The variable name of an existing motion pair.
- LEFT RIGHT
- If LEFT is specified, the properties are assigned to the left motion, and the right motion properties are made symmetric to the left motion.
- ic_disp
- The initial displacement of the specified side of the motion pair.
- ic_vel
- The initial velocity of the specified side of the motion pair.
Example
*SetMotionIC(wheel_motion, LEFT, 5, 1)
Context
Comments
The initial conditions for motions are required only if the applied motion is of type velocity or acceleration.
ic_disp is required if applied motion is of type velocity.
ic_disp and ic_vel are required if motion is of type acceleration.