Setpoint vs trajectory: a critical distinction
A setpoint is a static target: "go to 90°." The controller's job is to get there, and it doesn't matter much how — the feedback loop will handle the rest.
A trajectory is a time-parameterized path: specifies the desired position and velocity at every instant. The controller must track a moving reference, not just settle to a fixed one.
Why does this matter? Consider a pick-and-place arm. If you just command the final position, the arm might lunge at full speed, slam into the hard stop, and shatter the gripper. A trajectory generator plans the motion: accelerate smoothly, reach peak velocity, decelerate to rest exactly at the target. The physical result is the same final position — but the path there respects velocity, acceleration, and jerk limits. For any robot that moves fast or carries fragile payloads, trajectory generation is not optional.
