Skip to content

Commit

Permalink
Revert moveit#1772
Browse files Browse the repository at this point in the history
Even after reverting, I cannot reproduce the issue mentioned in moveit#1772 anymore.
Reverting fixes moveit#1894 (comment).
  • Loading branch information
rhaschke authored and v4hn committed Mar 31, 2020
1 parent 6cd9108 commit e72f957
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1139,7 +1139,7 @@ void MotionPlanningDisplay::onRobotModelLoaded()
query_robot_start_->load(*getRobotModel()->getURDF());
query_robot_goal_->load(*getRobotModel()->getURDF());

// initialize previous state to current state
// initialize previous state, start state, and goal state to current state
previous_state_ = std::make_shared<robot_state::RobotState>(getPlanningSceneRO()->getCurrentState());
query_start_state_.reset(new robot_interaction::InteractionHandler(robot_interaction_, "start", *previous_state_,
planning_scene_monitor_->getTFClient()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,6 @@ void MotionPlanningFrame::computePlanButtonClicked()
ui_->result_label->setText("Planning...");

configureForPlanning();
// move_group node uses an empty start state to refer to the most recent current state
if (ui_->start_state_combo_box->currentText() == "<current>")
move_group_->setStartStateToCurrentState();
planning_display_->rememberPreviousStartState();
bool success = (ui_->use_cartesian_path->isEnabled() && ui_->use_cartesian_path->checkState()) ?
computeCartesianPlan() :
Expand Down

0 comments on commit e72f957

Please sign in to comment.