Constraint-Based Generation of Trajectories for single-Arm Robots