Change path of rosrun. Couldn't find executables?
I am following tutorials of ROS at the ROS wiki
//www.ros.org/wiki/ROS/Tutorials/ExaminingPublisherSubscriber.
When I try to run rosrun beginner_tutorials talker
. It tells me that:
[rosrun] Couldn't find executable named talker below /home/maverick/catkin_ws/install/share/beginner_tutorials
I know that the executable is not in the install folder but rather in devel. How can I make it search for rosrun beginner_tutorial talker in
devel/lib/beginner_tutorials/talker
Additional information: When I ran find -executable -type f the output is given as below:
*./devel/lib/beginner_tutorials/add_two_ints_client
./devel/lib/beginner_tutorials/talker
./devel/lib/beginner_tutorials/add_two_ints_server
./devel/lib/beginner_tutorials/listener
./devel/_setup_util.py
./devel/env.sh
./install/_setup_util.py
./install/env.sh
./build/CMakeFiles/CompilerIdC/a.out
./build/CMakeFiles/CompilerIdCXX/a.out
./build/CMakeFiles/CMakeDetermineCompilerABI_C.bin
./build/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin
./build/catkin_generated/installspace/_setup_util.py
./build/catkin_generated/installspace/env.sh
./build/catkin_generated/setup_cached.sh
./build/catkin_generated/env_cached.sh*
After using the env | grep ROS_PACKAGE_PATH
I get:
ROS_PACKAGE_PATH=/opt/ros/groovy/share:/opt/ros/groovy/stacks
and I have sourced the file using the following command:
source ./devel/setup.bash
Please post more info, i.e. output of
$ env | grep ROS_PACKAGE_PATH
. Also check whether you did source appropriatesetup.bash
file or not.I have edited my question up there and have posted my output to $ env| grep ROS_PACKAGE_PATH . Also I have sourced the file using the command source ./devel/setup.bash
Something doesn't match. Did you source the setup.bash after the ROS_PACKAGE_PATH display? Did you run catkin_make?
Yes I did all of this. Even after this I am still getting the same errors. When I do roscd beginner_tutorials I get /catkin_ws/install/share/beginner_tutorials$. Why is roscd checking always in the install folder. It should check in the devel because my executables are there. How can I change this.
I had the same error and this is same of the things I did. 1.Delete the build and devel folder with our your working directory. 2.Make sure that all that you have followed the overall order and structure with in you CMakeList http://wiki.ros.org/catkin/CMakeLists... 3.Include all the package needed
I'm still having a problem saying
I followed the installation guide in here ! https://github.com/uzh-rpg/rpg_emvs