Skip to content
Snippets Groups Projects
Commit 77a96225 authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Added clearEvaluation(). Made getEvaluation() const.

parent c303796b
No related branches found
No related tags found
No related merge requests found
......@@ -21,8 +21,13 @@ namespace GraspStudio
return plannedGrasps;
}
GraspPlannerEvaluation GraspPlanner::getEvaluation()
GraspPlannerEvaluation GraspPlanner::getEvaluation() const
{
return eval;
}
void GraspPlanner::clearEvaluation()
{
this->eval = {};
}
}
......@@ -69,9 +69,13 @@ namespace GraspStudio
* \brief getEvaluation
* \return The current evaluation of the grasp planner.
*/
GraspPlannerEvaluation getEvaluation();
GraspPlannerEvaluation getEvaluation() const;
/// Clear the evaluation.
void clearEvaluation();
protected:
bool verbose;
VirtualRobot::GraspSetPtr graspSet;
std::vector<VirtualRobot::GraspPtr> plannedGrasps;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment