Skip to content
Snippets Groups Projects
Commit 3cbe1097 authored by Johannes Mey's avatar Johannes Mey
Browse files

update internal "grasped" state setting. still very bad.

parent 10c74535
Branches
Tags
1 merge request!2Feature/public grasp side
......@@ -40,8 +40,6 @@ bool pickObject(panda_grasping::PickObject::Request &req,
if (!grasping_state::object_picked) {
grasping_state::object_picked = true;
EnvironmentUtil env_util;
GraspUtil grasp_util;
......@@ -79,6 +77,7 @@ bool pickObject(panda_grasping::PickObject::Request &req,
return false;
}
grasping_state::object_picked = true;
res.success = true;
return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment