File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11# Total planning attempts
2- planning_attempts : 10
2+ max_solutions : 10
33
44# Planning group and link names
55arm_group_name : " panda_arm"
Original file line number Diff line number Diff line change @@ -419,10 +419,10 @@ void PickPlaceTask::init() {
419419bool PickPlaceTask::plan () {
420420 ROS_INFO_NAMED (LOGNAME, " Start searching for task solutions" );
421421 ros::NodeHandle pnh (" ~" );
422- int planning_attempts = pnh.param <int >(" planning_attempts " , 10 );
422+ int max_solutions = pnh.param <int >(" max_solutions " , 10 );
423423
424424 try {
425- task_->plan (planning_attempts );
425+ task_->plan (max_solutions );
426426 } catch (InitStageException& e) {
427427 ROS_ERROR_STREAM_NAMED (LOGNAME, " Initialization failed: " << e);
428428 return false ;
You can’t perform that action at this time.
0 commit comments