Skip to content

Commit

Permalink
Merge branch 'main' into fix-tutorial-docker-build
Browse files Browse the repository at this point in the history
  • Loading branch information
sjahr authored Aug 6, 2024
2 parents 23e0889 + 38c1fd0 commit 530577b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions moveit_core/planning_scene/src/planning_scene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,12 +212,12 @@ PlanningScene::PlanningScene(const PlanningSceneConstPtr& parent) : parent_(pare

setStateFeasibilityPredicate(parent->getStateFeasibilityPredicate());
setMotionFeasibilityPredicate(parent->getMotionFeasibilityPredicate());
setCollisionObjectUpdateCallback(parent_->current_world_object_update_callback_);

// maintain a separate world. Copy on write ensures that most of the object
// info is shared until it is modified.
world_ = std::make_shared<collision_detection::World>(*parent_->world_);
world_const_ = world_;
setCollisionObjectUpdateCallback(parent_->current_world_object_update_callback_);

// record changes to the world
world_diff_ = std::make_shared<collision_detection::WorldDiff>(world_);
Expand Down Expand Up @@ -1214,9 +1214,6 @@ void PlanningScene::decoupleParent()
(object_types_.value())[it->first] = it->second;
}
}

setCollisionObjectUpdateCallback(nullptr);

parent_.reset();
}

Expand Down
2 changes: 1 addition & 1 deletion moveit_py/src/moveit/moveit_ros/moveit_cpp/moveit_cpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ void initMoveitPy(py::module& m)
Returns the planning scene monitor.
)")

.def("get_trajactory_execution_manager", &moveit_cpp::MoveItCpp::getTrajectoryExecutionManagerNonConst,
.def("get_trajectory_execution_manager", &moveit_cpp::MoveItCpp::getTrajectoryExecutionManagerNonConst,
py::return_value_policy::reference,
R"(
Returns the trajectory execution manager.
Expand Down

0 comments on commit 530577b

Please sign in to comment.