Ask Your Question
3

catkin build error for moveit workspace setup

asked 2018-11-07 04:02:28 -0500

mvish7 gravatar image

updated 2018-11-07 06:17:32 -0500

gvdhoorn gravatar image

I'm trying to setup workspace for moveit. I'm following the steps mentioned in below link.

Tutorial steps:- http://docs.ros.org/kinetic/api/movei...

I'm receiving the below error when i run the catkin build.

Error - 
error: ‘class moveit::planning_interface::MoveGroupInterface’ has no member named ‘getJointModelGroupNames’
   std::copy(move_group.getJointModelGroupNames().begin(), move_group.getJointModelGroupNames().end(),

I have followed every step from those tutorial and i have no idea how can i solve this error. any kind of help is appreciated.

edit retag flag offensive close merge delete

Comments

I got same errors too ...

Robotics Intelligence gravatar imageRobotics Intelligence ( 2018-11-09 01:27:59 -0500 )edit

3 Answers

Sort by » oldest newest most voted
0

answered 2018-11-07 05:51:00 -0500

mvish7 gravatar image

installing moveit from source and then building solves this problem. After building (approx 27 packages) you can clone the tutorials in the src folder of your workspace and run catkin build again.

edit flag offensive delete link more
4

answered 2018-11-09 07:10:58 -0500

denbys gravatar image

I faced the same issue. Try checking out the kinetic-devel branch of git repo kinetic_tutorials and then build again and might want to do the same for the panda_moveit_config repo if you need it.

cd ~/ws_moveit/moveit_tutorials
git checkout kinetic-devel
cd ~/ws_moveit
catkin build
edit flag offensive delete link more

Comments

This should be the accepted answer.

It's likely that @mvish7 built the Melodic version of MoveIt from sources on Kinetic. That is not needed, as long as the tutorials are checked out as the Kinetic version.

gvdhoorn gravatar imagegvdhoorn ( 2018-11-09 07:15:52 -0500 )edit

Thank you, it helped !!

vasko gravatar imagevasko ( 2018-11-12 07:48:23 -0500 )edit

I use Kinetic, and meet this error. To change git devel is the correct answer.

qq95538 gravatar imageqq95538 ( 2018-12-17 02:04:48 -0500 )edit
0

answered 2018-11-09 04:29:32 -0500

vasko gravatar image

I have the same problem with kinetic, looking in the source code: https://github.com/ros-planning/movei...

There is no getJointModelGroupNames in branch kinetic-devel.However, there is one in branch melodic-devel.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

3 followers

Stats

Asked: 2018-11-07 04:02:28 -0500

Seen: 723 times

Last updated: Nov 09 '18