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

Package Dependency Rules ?!

asked 2013-02-23 07:46:17 -0500

Amal gravatar image

updated 2014-01-28 17:15:22 -0500

ngrennan gravatar image

Hi all,

I read in this document p05-ros-navigacija.pdf

Create Package with its dependency, then launch folder with launch file to load TurtleBot in simple office environment. Then when run $ roslaunch ros_liv_turtlebot office_turtlebot.launch

get this message

cannot locate [office_turtlebot.launch] in package [ros_liv_turtlebot]

I try to follow error

 amal@amal-HP-G62-Notebook-PC:~/ros/sandbox/ros_liv_turtlebot$ roswtf
Loaded plugin tf.tfwtf
Package: ros_liv_turtlebot
================================================================================
Static checks summary:

Found 1 warning(s).
Warnings are things that may be just fine, but are sometimes at fault

WARNING The following packages have msg/srv-related cflags exports that are no longer necessary
    <export>
        <cpp cflags="..."
    </export>:
 * dynamic_reconfigure: -I${prefix}/msg/cpp -I${prefix}/srv/cpp


Found 1 error(s).

ERROR The following packages have rpath issues in manifest.xml:
 * ros_liv_turtlebot: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
 * rosconsole: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
 * turtlebot_teleop: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
 * actionlib_msgs: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
 * nodelet_topic_tools: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
 * diagnostic_updater: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
 * rotate_recovery: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
 * nav_core: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
 * pcl_ros: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
 * nav_msgs: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
 * laser_geometry: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
 * clear_costmap_recovery: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
 * roscpp: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
 * roslib: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
 * voxel_grid: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
 * rostest: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
 * pcl: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
 * visualization_msgs: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
 * tf: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
 * nodelet: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
 * move_base: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
 * map_server: found flag "-L/opt/ros/fuerte/lib", but no matching "-Wl,-rpath,/opt/ros/fuerte/lib"
 * message_filters: found flag "-L ...
(more)
edit retag flag offensive close merge delete

Comments

Please update your question to show how you currently refer to that package.

joq gravatar image joq  ( 2013-02-24 05:11:17 -0500 )edit

OK, I see now I have to change Q at all

Amal gravatar image Amal  ( 2013-02-24 12:02:21 -0500 )edit

Is your $ROS_PACKAGE_PATH set correctly? What does rospack find ros_liv_turtlebot display?

joq gravatar image joq  ( 2013-02-25 05:10:28 -0500 )edit

amal@amal-HP-G62-Notebook-PC:~$ rospack find ros_liv_turtlebot /home/amal/ros/sandbox/ros_liv_turtlebot : yes, I am sure that package path is set correctly

Amal gravatar image Amal  ( 2013-02-25 05:45:25 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-02-25 20:40:28 -0500

ahendrix gravatar image
  1. This looks like your homework. In general, you should do your own homework.
  2. Re-read pages 5 and 6 carefully.
  3. The error you're seeing indicates that roslaunch can't find a file named office_turtlebot.launch anywhere inside of the ros_liv_turtlebot package.
edit flag offensive delete link more

Comments

1- it is not a homework, ROS is my self study to do my graduation project.. 2- page 5 and 6 where ?! 3- yes, I know that it can not find the launch file, but this file is exist so why it can not find it ?!

Thanks

Amal gravatar image Amal  ( 2013-02-26 01:59:24 -0500 )edit
1

Pages 5 and 6 of the document you linked to describe how to create the appropriate launch file. If the file exists, there's probably something wrong with your directory structure; can you add a recursive directory listing to the question?

ahendrix gravatar image ahendrix  ( 2013-02-27 20:29:49 -0500 )edit

Question Tools

Stats

Asked: 2013-02-23 07:46:17 -0500

Seen: 549 times

Last updated: Feb 25 '13