Consider the case where I want to move up a link by using the setMinMaxDistance API with the same distance for min and max. (Normally for such a case, we would not set the min/max distance and just set the direction accordingly)
auto stage = std::make_unique<moveit::task_constructor::stages::MoveRelative>("lift up", solver);
stage->setMinMaxDistance(0.06, 0.06);
// Set upward direction
geometry_msgs::Vector3Stamped vec;
vec.header.frame_id = from_object;
vec.vector.x = -1.0;
stage->setDirection(vec);
In some cases, I get the error below:
I think we should add a min_distance_tolerance property. What do you think ?
Consider the case where I want to move up a link by using the
setMinMaxDistance
API with the same distance for min and max. (Normally for such a case, we would not set the min/max distance and just set the direction accordingly)In some cases, I get the error below:
I think we should add a
min_distance_tolerance
property. What do you think ?