Function stomp_moveit::setJointPositions

Function Documentation

void stomp_moveit::setJointPositions(const Eigen::VectorXd &values, const Joints &joints, moveit::core::RobotState &state)

Writes the provided position values into a robot state.

This function requires the dimension of values and joints to be equal!

Parameters:
  • values – The joint position values to copy from

  • joints – The joints that should be considered

  • state – The robot state to update with the new joint values