trapezoid_move
Move a servomotor to an absolute angle with smooth acceleration and deceleration over a set duration, preventing jerky motion in mechanisms like arms or plotters.
Instructions
Move to an absolute angle with smooth acceleration/deceleration over duration_s.
Prefer this over move_to for arms, plotters, or anything where a sudden move would
jerk the mechanism. Good for choreographed motion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| motor | Yes | ||
| degrees | Yes | ||
| duration_s | Yes |