The RobotDynamics::ReferenceFrameException is an exception that is thrown when an operation is performed that violates kinematic rules involving reference frames. For example if two FramePoint objects are added together but they are expressed in different frames. This will throw a RobotDynamics::ReferenceFrameException