discovered there are two types of RobotTrajectory in Moveit, one in robot_trajectory and one in moveit_msgs, and I was using the wrong one.  That is now changed.