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

simple navigation goal [closed]

asked 2015-07-17 14:19:31 -0600

rohit.ros gravatar image

updated 2015-07-20 11:34:53 -0600

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

Steps i took:-

1) catkin_create_pkg simple_navigation_goals move_base_msgs actionlib roscpp

2) put the code in src folder

3) add_executable(simple_navigation_goals src/simple_navigation_goals.cpp) target_link_libraries(simple_navigation_goals ${catkin_LIBRARIES})

4) catkin_make


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

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

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

rosrun couldn't find my simple_navigation_goals package

Any help ??

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

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by rohit.ros
close date 2015-07-20 11:35:08.552785


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

mgruhler gravatar image mgruhler  ( 2015-07-21 00:56:52 -0600 )edit

3 Answers

Sort by ยป oldest newest most voted

answered 2015-07-20 04:29:56 -0600

vinjk gravatar image

is roscore running?

edit flag offensive delete link more

answered 2015-07-20 10:06:12 -0600

rohit.ros gravatar image

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

edit flag offensive delete link more

answered 2015-07-19 07:47:12 -0600

130s gravatar image

Worth trying rospack trouble shooting.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-07-17 14:19:31 -0600

Seen: 181 times

Last updated: Jul 20 '15