Robotics StackExchange | Archived questions

simple navigation goal

I am trying to compile the simplenavigationgoals.cpp file from this tutorial.

http://wiki.ros.org/navigation/Tutorials/SendingSimpleGoals

Steps i took:-

1) catkincreatepkg simplenavigationgoals movebasemsgs actionlib roscpp

2) put the code in src folder

3) addexecutable(simplenavigationgoals src/simplenavigationgoals.cpp) targetlinklibraries(simplenavigationgoals ${catkinLIBRARIES})

4) catkin_make

Running command: "make -j4 -l4" in "/home/administrator/catkin_ws/build"

Scanning dependencies of target simplenavigationgoals [100%] Building CXX object simplenavigationgoals/CMakeFiles/simplenavigationgoals.dir/src/simplenavigationgoals.cpp.o Linking CXX executable /home/administrator/catkinws/devel/lib/simplenavigationgoals/simplenavigationgoals [100%] Built target simplenavigation_goals

After that i did source catkin_ws/devel/setup.bash

rosrun couldn't find my simplenavigationgoals package

Any help ??

Answer:- i need to set the source of catkin workspace

Asked by rohit.ros on 2015-07-17 14:19:31 UTC

Comments

If you close the question with this reason, plase actually accept an answer ;-)

Asked by mgruhler on 2015-07-21 00:56:52 UTC

Answers

Worth trying rospack trouble shooting. http://wiki.ros.org/rospack/Troubleshooting#rospack_is_unable_to_find_packages_that_are_added_recently

Asked by 130s on 2015-07-19 07:47:12 UTC

Comments

is roscore running?

Asked by vinjk on 2015-07-20 04:29:56 UTC

Comments

yes it is running. i figured out though.i need to set the source to my setup.bash.

Asked by rohit.ros on 2015-07-20 10:06:12 UTC

Comments