Modify make_named_trajectory so that it inserts an initial point with the current position.
This should avoid this type of moveit error.
[ERROR] [1489076046.737936403]:
Invalid Trajectory: start point deviates from current robot state more than 0.03
joint 'ra_wrist_3_joint': expected: 0.366418, current: 2.16414
[ INFO] [1489076046.737998257]: Execution completed: ABORTED