diff --git a/VirtualRobot/RobotNodeSet.h b/VirtualRobot/RobotNodeSet.h index 9cbcfe067ffb907f8a3758dc919b1b73614675a0..44a960f8b2099a561925eb2ad99290699d3be93b 100644 --- a/VirtualRobot/RobotNodeSet.h +++ b/VirtualRobot/RobotNodeSet.h @@ -115,18 +115,18 @@ namespace VirtualRobot The subpart of the robot, defined by the start joint (kinematicRoot) of rns, is updated to apply the new joint values. \param jointValues A vector with joint values, size must be equal to number of joints in this RobotNodeSet. */ - void setJointValues(const std::vector<float>& jointValues); + virtual void setJointValues(const std::vector<float>& jointValues); /*! Set joint values [rad]. The subpart of the robot, defined by the start joint (kinematicRoot) of rns, is updated to apply the new joint values. \param jointValues A vector with joint values, size must be equal to number of joints in this RobotNodeSet. */ - void setJointValues(const Eigen::VectorXf& jointValues); + virtual void setJointValues(const Eigen::VectorXf& jointValues); /*! Set joints that are within the given RobotConfig. Joints of this NodeSet that are not stored in jointValues remain untouched. */ - void setJointValues(const RobotConfigPtr jointValues); + virtual void setJointValues(const RobotConfigPtr jointValues); RobotNodePtr& operator[](int i);