Skip to content
Snippets Groups Projects
Commit 5c4bf8cf authored by Fabian Paus's avatar Fabian Paus
Browse files

VirtualRobot: Made RobotNodeSet::setJointValues a virtual method.

This allows derived classes to set depending joint values of other nodes.
parent d3bb61cd
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment