Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 1441

Problem with MoveGroup (Moveit)

$
0
0
I'm following the Moveit tutorials, but I can't create the first variable. I found this link([https://groups.google.com/forum/#!msg/moveit-users/JohDfeDhl6U/ZFfFDsDw7W8J](https://groups.google.com/forum/#!msg/moveit-users/JohDfeDhl6U/ZFfFDsDw7W8J)), but I don't understand the answer Code: #include #include #include #include #include #include int main(int argc, char **argv) { ros::init(argc, argv, "moveit_test"); ros::NodeHandle node_handle; ros::AsyncSpinner spinner(1); spinner.start(); sleep(20.0); moveit::planning_interface::MoveGroup group("manipulator"); ros::shutdown(); } Catkin_make: /home/uplow/cworkspace/moveit/src/moveit_test_programming/src/testi.cpp: In function �int main(int, char**)�: /home/uplow/cworkspace/moveit/src/moveit_test_programming/src/testi.cpp:17:39: error: no matching function for call to �moveit::planning_interface::MoveGroup::MoveGroup() /home/uplow/cworkspace/moveit/src/moveit_test_programming/src/testi.cpp:17:39: note: candidates are: /opt/ros/hydro/include/moveit/move_group_interface/move_group.h:122:3: note: moveit::planning_interface::MoveGroup::MoveGroup(const string&, const boost::shared_ptr&, const ros::Duration&) /opt/ros/hydro/include/moveit/move_group_interface/move_group.h:122:3: note: candidate expects 3 arguments, 0 provided /opt/ros/hydro/include/moveit/move_group_interface/move_group.h:116:3: note: moveit::planning_interface::MoveGroup::MoveGroup(const moveit::planning_interface::MoveGroup::Options&, const boost::shared_ptr&, const ros::Duration&) /opt/ros/hydro/include/moveit/move_group_interface/move_group.h:116:3: note: candidate expects 3 arguments, 0 provided /opt/ros/hydro/include/moveit/move_group_interface/move_group.h:69:7: note: moveit::planning_interface::MoveGroup::MoveGroup(const moveit::planning_interface::MoveGroup&) /opt/ros/hydro/include/moveit/move_group_interface/move_group.h:69:7: note: candidate expects 1 argument, 0 provided

Viewing all articles
Browse latest Browse all 1441

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>