Function stomp_moveit::getPositions

Function Documentation

std::vector<double> stomp_moveit::getPositions(const moveit::core::RobotState &state, const Joints &joints)

Copies the position values of a robot state filtered by the provided joints.

Parameters:
  • state – The RobotState to copy the values from

  • joints – The joints that should be considered

Returns:

The vector containing the joint values