Skip to content

Commit

Permalink
added search energy type to result of plan grasp
Browse files Browse the repository at this point in the history
  • Loading branch information
jvarley committed Jul 9, 2016
1 parent 339d7f0 commit 3ea0c79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions action/PlanGrasps.action
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ int32 max_steps
# Result
Grasp[] grasps
float64[] energies
uint8 search_energy
SearchEnergy search_energy
---
# Feedback
Grasp[] grasps
float64[] energies
uint8 search_energy
SearchEnergy search_energy
2 changes: 1 addition & 1 deletion src/graspit_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ void GraspitInterface::PlanGraspsCB(const graspit_interface::PlanGraspsGoalConst
ROS_INFO("Pushing back grasp");
result_.grasps.push_back(g);
result_.energies.push_back(gps->getEnergy());
//result_.search_energy = goal->search_energy;
result_.search_energy = goal->search_energy;
}

ROS_INFO("Showing Grasp 0");
Expand Down

0 comments on commit 3ea0c79

Please sign in to comment.