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

simple navigation goal [closed]

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

rohit.ros gravatar image

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

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

http://wiki.ros.org/navigation/Tutori...

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

Comments

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

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

3 Answers

Sort by ยป oldest newest most voted
0

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

vinjk gravatar image

is roscore running?

edit flag offensive delete link more
0

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

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
0

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

130s gravatar image

Worth trying rospack trouble shooting. http://wiki.ros.org/rospack/Troublesh...

edit flag offensive delete link more

Question Tools

1 follower

Stats

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

Seen: 183 times

Last updated: Jul 20 '15