Trajectory planning method with built-in trade-off mechanism for robot systems with an extended axis | Synapse