Changing the Motion Type¶
The motion type of a driver can change during a simulation. Add one or more modify_motion operators to the
driver_motion_policy batch (nop by default); each one targets a driver by its id.
modify_motion¶
| Parameter | Description |
|---|---|
id |
index of the driver |
motion |
new motion parameters, e.g. { motion_type: STATIONARY } |
time |
simulation time at which the motion changes |
display |
prints the new motion type, default false |
Example: example/polyhedra/rigid_surface/rigid_surface_modify_motion.msp.