File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33// MoveitCpp
44#include < moveit/moveit_cpp/moveit_cpp.h>
55#include < moveit/moveit_cpp/planning_component.h>
6+ #include < moveit/robot_state/conversions.h>
67
78#include < geometry_msgs/PointStamped.h>
89
@@ -30,11 +31,10 @@ int main(int argc, char** argv)
3031
3132 ROS_INFO_STREAM_NAMED (LOGNAME, " Starting MoveIt Tutorials..." );
3233
33- auto moveit_cpp_ptr = std::make_shared<moveit::planning_interface ::MoveItCpp>(nh);
34+ auto moveit_cpp_ptr = std::make_shared<moveit_cpp ::MoveItCpp>(nh);
3435 moveit_cpp_ptr->getPlanningSceneMonitor ()->providePlanningSceneService ();
3536
36- auto planning_components =
37- std::make_shared<moveit::planning_interface::PlanningComponent>(PLANNING_GROUP, moveit_cpp_ptr);
37+ auto planning_components = std::make_shared<moveit_cpp::PlanningComponent>(PLANNING_GROUP, moveit_cpp_ptr);
3838 auto robot_model_ptr = moveit_cpp_ptr->getRobotModel ();
3939 auto robot_start_state = planning_components->getStartState ();
4040 auto joint_model_group_ptr = robot_model_ptr->getJointModelGroup (PLANNING_GROUP);
You can’t perform that action at this time.
0 commit comments