The include files from binary and source install

asked 2019-10-25 06:25:20 -0600

A_YIng gravatar image

updated 2019-10-25 08:49:03 -0600


I install the moveit package from binary before, but now I found the some newer APIs needs to be install from source.

So, I use the autoremove to unstall the old moveit package and install the new moveit package from source. However, I found the VScode IDE includes the same .h file from two different path.

For example:

#include <moveit_msgs/CollisionObject.h>

It has two include path devel/include/moveit_msgs/CollisionObject.h and /opt/ros/kinetic/include/moveit_msgs/CollisionObject.h.

image description

I would like to know how to delete the include files which from binary completely and correctly?

Thanks for you guys!

edit retag flag offensive close merge delete


Have you tried doingroscd moveit_msgs, which directory does it take you to?

Choco93 gravatar image Choco93  ( 2019-10-25 07:38:58 -0600 )edit

I got these, any suggestion?

cyc639@cyc639:~$ roscd moveit_msgs
A_YIng gravatar image A_YIng  ( 2019-10-25 08:30:28 -0600 )edit

Since it's showing your catkin_ws this means things should work fine. If you want to remove whole moveit stack you can do sudo apt remove ros-kinetic-moveit* or sudo apt remove ros-kinetic-moveit-package_name to remove specific moveit package.

Choco93 gravatar image Choco93  ( 2019-10-25 08:47:45 -0600 )edit

I update the image, sorry for previous poor resolution.

A_YIng gravatar image A_YIng  ( 2019-10-25 08:50:08 -0600 )edit

I tried sudo apt remove ros-kinetic-moveit* and nothing changed. :(

A_YIng gravatar image A_YIng  ( 2019-10-25 09:11:09 -0600 )edit