Rotating Drum / Cylinder¶
The cylinder driver is an infinite cylinder, possibly rotating around its axis. It is defined by its center, axis, radius, velocity and angular velocity.
register_cylinder¶
| Parameter | Description |
|---|---|
id |
driver index |
state |
cylinder state: radius and center (required), axis, vel (default [0,0,0]), vrot (default [0,0,0]), rv, ra |
params |
motion parameters, default { motion_type: STATIONARY } |
axis selects the directions of the cylinder section: [1, 0, 1] gives a cylinder infinite along \(y\).
STATIONARY¶
A rotating drum is a stationary cylinder with an angular velocity, e.g. vrot: [0, 0.5, 0].
SHAKER¶
Example: example/spheres/shaker_cylinder/shaker_cylinder.msp.