Robotics StackExchange | Archived questions

The include files from binary and source install

Hello,

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!

Asked by A_YIng on 2019-10-25 06:25:20 UTC

Comments

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

Asked by Choco93 on 2019-10-25 07:38:58 UTC

I got these, any suggestion?

cyc639@cyc639:~$ roscd moveit_msgs
cyc639@cyc639:~/catkin_ws/src/moveit_msgs$

Asked by A_YIng on 2019-10-25 08:30:28 UTC

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.

Asked by Choco93 on 2019-10-25 08:47:45 UTC

I update the image, sorry for previous poor resolution.

Asked by A_YIng on 2019-10-25 08:50:08 UTC

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

Asked by A_YIng on 2019-10-25 09:11:09 UTC

Answers