How do I remove a duplicate package?
I installed the velodyne driver package using
sudo apt-get install ros-indigo-velodyne
But then I realised that the release version didn't support what I needed.
The current master branch however does.
https://github.com/ros-drivers/velodyne
I cloned the repository to my catkin workspace, made it then installed it.
However, when I try to launch it with
roslaunch velodyne_pointcloud VLP16_points.launch
I get the error
[VLP16_points.launch] is neither a launch file in package [velodyne_pointcloud] nor is [velodyne_pointcloud] a launch file name
I think it's referencing the old package.
How do I remove the old package that I installed using sudo apt-get install?
Edit: Ran source command and outputted ROS_PACKAGE_PATH variable
$ source ~/catkin_ws/devel/setup.bash
$ echo $ROS_PACKAGE_PATH
/home/nathan/catkin_ws/src:/opt/ros/indigo/share:/opt/ros/indigo/stacks
rospack find output
nathan:~/catkin_ws$ rospack find velodyne_pointcloud
/opt/ros/indigo/share/velodyne_pointcloud
catkin_make and catkin_install output
nathan:~/catkin_ws$ catkin_make
Base path: /home/nathan/catkin_ws
Source space: /home/nathan/catkin_ws/src
Build space: /home/nathan/catkin_ws/build
Devel space: /home/nathan/catkin_ws/devel
Install space: /home/nathan/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/nathan/catkin_ws/build"
####
####
#### Running command: "make -j4 -l4" in "/home/nathan/catkin_ws/build"
####
[ 0%] Built target std_msgs_generate_messages_cpp
[ 0%] Built target std_msgs_generate_messages_lisp
[ 0%] Built target std_msgs_generate_messages_py
[ 0%] [ 0%] Built target _velodyne_msgs_generate_messages_check_deps_VelodyneScan
Built target _velodyne_msgs_generate_messages_check_deps_VelodynePacket
[ 0%] Built target _beginner_tutorials_generate_messages_check_deps_Num
[ 0%] [ 0%] Built target _beginner_tutorials_generate_messages_check_deps_AddToInts
Built target diagnostic_msgs_generate_messages_lisp
[ 0%] Built target tf2_msgs_generate_messages_py
[ 0%] [ 0%] [ 0%] Built target tf2_msgs_generate_messages_lisp
Built target roscpp_generate_messages_cpp
[ 0%] Built target roscpp_generate_messages_py
Built target roscpp_generate_messages_lisp
[ 0%] Built target tf2_msgs_generate_messages_cpp
[ 0%] [ 0%] Built target rosgraph_msgs_generate_messages_cpp
Built target rosgraph_msgs_generate_messages_lisp
[ 0%] Built target rosgraph_msgs_generate_messages_py
[ 0%] Built target diagnostic_msgs_generate_messages_cpp
[ 0%] Built target diagnostic_msgs_generate_messages_py
[ 0%] [ 0%] Built target bond_generate_messages_lisp
Built target sensor_msgs_generate_messages_py
[ 0%] Built target sensor_msgs_generate_messages_lisp
[ 0%] Built target tf_generate_messages_lisp
[ 0%] [ 0%] [ 0%] Built target geometry_msgs_generate_messages_py
Built target tf_generate_messages_cpp
Built target nodelet_generate_messages_lisp
[ 0%] Built target bond_generate_messages_py
[ 0%] [ 0%] Built target nodelet_generate_messages_cpp
Built target nodelet_generate_messages_py
[ 0%] Built target sensor_msgs_generate_messages_cpp
[ 0%] Built target geometry_msgs_generate_messages_lisp
[ 0%] Built target geometry_msgs_generate_messages_cpp
[ 0%] Built target tf_generate_messages_py
[ 0%] [ 0%] Built target actionlib_generate_messages_lisp
Built target bond_generate_messages_cpp
[ 0%] [ 0%] Built target actionlib_generate_messages_py
Built target actionlib_generate_messages_cpp
[ 0%] [ 0%] [ 0%] Built target actionlib_msgs_generate_messages_py
Built target actionlib_msgs_generate_messages_lisp
Built target actionlib_msgs_generate_messages_cpp
[ 8%] Built target velodyne_msgs_generate_messages_py
[ 11%] Built target velodyne_pointcloud_gencfg
[ 17%] Built target velodyne_msgs_generate_messages_lisp
[ 22%] Built target velodyne_msgs_generate_messages_cpp
[ 28%] Built target beginner_tutorials_generate_messages_cpp
[ 34%] Built target beginner_tutorials_generate_messages_lisp
[ 34%] Built target velodyne_msgs_generate_messages
[ 45%] Built target beginner_tutorials_generate_messages_py
[ 45%] Built target beginner_tutorials_generate_messages
[ 48%] Built target velodyne_input
[ 54%] Built target driver_nodelet
[ 60%] Built target velodyne_node
[ 71%] [ 71%] Built target ringcolors_node
Built target velodyne_rawdata
[ 77%] Built target ringcolors_nodelet
[ 94%] [ 94%] [ 94%] Built target cloud_node
Built target transform_node
[100%] Built target transform_nodelet
Built target cloud_nodelet
nathan:~/catkin_ws$ catkin_make install
Base path: /home/nathan/catkin_ws
Source space: /home/nathan/catkin_ws/src
Build space: /home/nathan/catkin_ws/build
Devel space: /home/nathan/catkin_ws/devel
Install space: /home/nathan/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/nathan/catkin_ws/build"
####
####
#### Running command: "make install -j4 -l4" in "/home/nathan/catkin_ws/build"
####
[ 0%] [ 0%] Built target std_msgs_generate_messages_cpp
Built target std_msgs_generate_messages_lisp
[ 0%] Built target std_msgs_generate_messages_py ...