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

Revision history [back]

click to hide/show revision 1
initial version

Thanks for your reply, Actually I have read the tutorial about making ROS package at : http://www.ros.org/wiki/ROS/Tutorials/BuildingPackages

when I have put something like:

$ roscd mypackage
$ cat manifest.xml

Then it's ok, and it gives me list of dependent packages,

<package>
  <description brief="mypackage">

     mypackage

  </description>
    ...
      <depend package="roscpp"/>
      <depend package="sensor_msgs"/>
      <depend package="cv_bridge"/>
      <depend package="image_transport"/>
      <depend package="std_msgs"/>
      <depend package="mypackage2"/>

    </package>

but when I put

rosdep install mypackage

it gives me an error:

[rosstack] opendir error [No such file or directory] while crawling /opt/ros/stacks
Failed to find stack for package [sensor_msgs]
Failed to load rosdep.yaml for package [sensor_msgs]:Cannot locate installation of package sensor_msgs: [rospack] opendir error [No such file or directory] while crawling /opt/ros/stacks
[rospack] couldn't find package [sensor_msgs]. ROS_ROOT[/opt/ros/cturtle/ros] ROS_PACKAGE_PATH[/opt/ros/stacks:/home/sandbox/mypackagefolder:/home/sandbox/mypackagefolder/mypackage]
Failed to find stack for package [image_transport]
Failed to load rosdep.yaml for package [image_transport]:Cannot locate installation of package image_transport: [rospack] opendir error [No such file or directory] while crawling /opt/ros/stacks
[rospack] couldn't find package [image_transport]. ROS_ROOT[/opt/ros/cturtle/ros] ROS_PACKAGE_PATH[/opt/ros/stacks:/home/sandbox/mypackagefolder:/home/sandbox/mypackagefolder/mypackage]
Failed to find stack for package [geometry_msgs]
Failed to load rosdep.yaml for package [geometry_msgs]:Cannot locate installation of package geometry_msgs: [rospack] opendir error [No such file or directory] while crawling /opt/ros/stacks
[rospack] couldn't find package [geometry_msgs]. ROS_ROOT[/opt/ros/cturtle/ros] ROS_PACKAGE_PATH[/opt/ros/stacks:/home/sandbox/mypackagefolder:/home/sandbox/mypackagefolder/mypackage]
Failed to find stack for package [cv_bridge]
Failed to load rosdep.yaml for package [cv_bridge]:Cannot locate installation of package cv_bridge: [rospack] opendir error [No such file or directory] while crawling /opt/ros/stacks
[rospack] couldn't find package [cv_bridge]. ROS_ROOT[/opt/ros/cturtle/ros] ROS_PACKAGE_PATH[/opt/ros/stacks:/home/sandbox/mypackagefolder:/home/sandbox/mypackagefolder/mypackage]]
executing this script:
 set -o errexit
#No Packages to install
sanfbox@sandbox:~/mypackagefolder/mypackage$ rosdep install[rospack] couldn't find package [image_transport]. ROS_ROOT[/opt/ros/cturtle/ros] ROS_PACKAGE_PATH[/opt/ros/stacks:/home/sandbox/mypackagefolder:/home/sandbox/mypackagefolder/mypackage]]