ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Looks like you have both the binary version (in /opt/ros/indigo/...) and the source version (in /home/hjt/catkin_ws/src/...) installed. So make sure you build using catkin so the source version can correctly override the binary version.

cd /home/hjt/catkin_ws source /opt/ros/indigo/setup.bash catkin_make

Looks like you have both the binary version (in /opt/ros/indigo/...) and the source version (in /home/hjt/catkin_ws/src/...) installed. So make sure you build using catkin so the source version can correctly override the binary version.

cd /home/hjt/catkin_ws
source /opt/ros/indigo/setup.bash
catkin_make

catkin_make

Looks like you have both the binary version (in /opt/ros/indigo/...) and the source version (in /home/hjt/catkin_ws/src/...) installed. So make sure you build using catkin so the source version can correctly override the binary version.

cd /home/hjt/catkin_ws
source /opt/ros/indigo/setup.bash
catkin_make
source /home/hjt/catkin_ws/devel/setup.bash

Now after you build your workspace, you always have to source the setup.bash from this workspace in order to use it, not the one from /opt/ros/... Try this first, because as far as I know it should be no problem to have a package both as binary and source installed. Only if it doesn't work, try uninstalling the nav2d-binaries.

And yes, you shouldn't manually change anything in /opt/ros/.... But it is no problem to remove packages using the package manager of your choice (e.g. Synaptic) or just apt-get on the command line:

sudo apt-get remove ros-indigo-nav2d