hey all, i'm following the ROS tutorial 3 in which it teaches how to create a new package which has dependencies. when i enter the following: $ roscreate-pkg beginner_tutorials roscpp rospy std_msgs terminal shoots back: ERROR: dependency [roscpp] cannot be found
note : i've updated the ROS_PACKAGE_PATH variable. i have verified manually and (with rospack find also) that roscpp actually exists in my filesystem. its just that roscreate cant seem to find it.
any help would be greatly appreciated.
I suppose your ROS_PACKAGE_PATH is not set accordingly.
1) Close your terminal and open again which will reload your ~/.ros to default one. 2) Run the following again $ cd ~/ $ mkdir ros_tutorials $ export ROS_PACKAGE_PATH=~/ros_tutorials:$ROS_PACKAGE_PATH
3) To verify whether your PATH set correctly, try 'roscd roscpp'. If it changes to the roscpp folder then path file is set correctly.
4) Now try creating package with dependencies you wish.
Hope this would help you. Note: I am a newbie in ROS, please let me know if there is something wrong.
If you installed diamondback via deb packages, to setup your environment use:
. /opt/ros/diamondback/setup.bash
Asked: 2011-06-13 14:59:04 -0500
Seen: 767 times
Last updated: Jun 27 '11
Couldn't find source file src/talker.cpp(Tutorials\WritingPublisherSubscriber(c++))
after running the Publisher and subcriber, .h file is not being made
Subscriber and Publisher node at once in cpp
how does second term of advertise
How do I test the ROS version in C++ code?
Getting all parameter names using C++
Are there any other signal interrupts with roscpp besides the default ctrl+c sigint handler
ROS Answers is licensed under Creative Commons Attribution 3.0 Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.