devel/setup.bash not setting path to src
My rosserial project is progressing but I've hit a problem where sourcing ~/ros_ws/devel/setup.bash doesn't seem to change the path correctly. The symptom of this is that rospack list
shows my custom packages using the path ~/ros_ws/install/share/custom_package
and when running catkin_make, my custom messages are ignored because the packages can't be found (for building rosserial messages). I've tried clearing the workspace by sourcing /opt/ros/indigo/share
but even when sourcing /devel after that, the paths are shown as /install.
I don't really get why it might not be sourcing the path correctly.
EDIT: posted variables as requested
declare -x ROSLISP_PACKAGE_DIRECTORIES="/home/human/ros_ws/devel/share/common-lisp"
declare -x ROS_DISTRO="indigo"
declare -x ROS_ETC_DIR="/opt/ros/indigo/etc/ros"
declare -x ROS_IP="192.168.0.148"
declare -x ROS_MASTER_URI="http://192.168.0.148:11311/"
declare -x ROS_PACKAGE_PATH="/home/human/ros_ws/install/share:/home/human/ros_ws/install/stacks:/home/human/ros_ws/src:/opt/ros/indigo/share:/opt/ros/indigo/stacks"
declare -x ROS_ROOT="/opt/ros/indigo/share/ros"
declare -x ROS_TEST_RESULTS_DIR="/home/human/ros_ws/build/test_results"
Could you post your ROS environment variables in the question above?
Updated the question as requested. That was just after sourcing /opt/ros/indigo/setup.bash and /devel/setup.bash so I find it weird that both /install and /devel are being listed on the package path