From 9c6069c1b3f1bafb5b168c978992419edb2e6722 Mon Sep 17 00:00:00 2001 From: Niko Date: Tue, 5 Sep 2023 15:47:19 +0200 Subject: [PATCH] moveit_interface.cpp works --- src/moveit_interface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/moveit_interface.cpp b/src/moveit_interface.cpp index 08261b6..fe1a6ce 100644 --- a/src/moveit_interface.cpp +++ b/src/moveit_interface.cpp @@ -39,7 +39,7 @@ class MoveitInterface : public rclcpp::Node // const moveit::core::JointModelGroup* joint_model_group = robot_state->getJointModelGroup(PLANNING_GROUP); // // planning_scene = std::make_shared(robot_model); -// planning_scene->getCurrentStateNonConst().setToDefaultValues(joint_model_group, "ready") +// planning_scene->getCurrentStateNonConst().setToDefaultValues(joint_model_group, "ready"); move_group_ = std::make_shared(std::shared_ptr(shared_this), PLANNING_GROUP); // const moveit::core::JointModelGroup* joint_model_group = move_group_->getCurrentState()->getJointModelGroup(PLANNING_GROUP);