Class for producing smooth sinusoidal movements between two points.
(Object)
input parameters.
Name | Description |
---|---|
o.xf number
|
end position (m). |
o.a number
|
maximum acceleration (m/s^2). |
o.x0 number
(default 0 )
|
starting position (m). |
o.v0 number
(default 0 )
|
starting velocity (m/s). |
o.v_min number
(default null )
|
lower velocity limit (m/s). |
o.v_max number
(default null )
|
upper velocity limit (m/s). |