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

TIAGo Installation-Dependencies Issue [closed]

asked 2020-02-16 02:23:02 -0500

Reaper151 gravatar image

updated 2022-01-22 16:10:20 -0500

Evgeny gravatar image

I'm using Ubuntu 18.04.4 LTS with ROS melodic

  • ros-melodic-desktop-full is already the newest version (1.4.1-0bionic.20200130.024635
  • ros-melodic-ros-core is already the newest version (1.4.1-0bionic.20191211.035951)

I followed tutorials to install TIAGo, When I ran this command

rosdep install --from-paths src --ignore-src --rosdistro melodic --skip-keys="opencv2 opencv2-nonfree pal_laser_filters speed_limit_node sensor_to_cloud hokuyo_node libdw-dev python-graphitesend-pip python-statsd pal_filters pal_vo_server pal_usb_utils pal_pcl pal_pcl_points_throttle_and_filter pal_karto pal_local_joint_control camera_calibration_files pal_startup_msgs pal-orbbec-openni2 dummy_actuators_manager pal_local_planner gravity_compensation_controller current_limit_controller dynamic_footprint dynamixel_cpp tf_lookup opencv3"

I got this error

ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
pal_navigation_cfg_ari: Cannot locate rosdep definition for [polycost_layer]

Ps. git repo of pal_naviation_cfg_ari is below

https://github.com/pal-robotics/pal_n...

Updated : Problem solved with reinstall Ubuntu and all the things work like charms!!!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Procópio
close date 2020-03-09 10:48:59.331173

Comments

This polycost_layer dependency should be added to the --skip-keys list, once you do it, it should work out of the box.

rosdep install --from-paths src --ignore-src --rosdistro melodic --skip-keys="opencv2 opencv2-nonfree pal_laser_filters speed_limit_node sensor_to_cloud hokuyo_node libdw-dev python-graphitesend-pip python-statsd pal_filters pal_vo_server pal_usb_utils pal_pcl pal_pcl_points_throttle_and_filter pal_karto pal_local_joint_control camera_calibration_files pal_startup_msgs pal-orbbec-openni2 dummy_actuators_manager pal_local_planner gravity_compensation_controller current_limit_controller dynamic_footprint dynamixel_cpp tf_lookup opencv3 polycost_layer"

saikishor gravatar image saikishor  ( 2020-02-16 04:46:17 -0500 )edit

I use your command but result is

> pal_navigation_cfg_ari: Cannot locate rosdep definition for [visited_recovery] >

then, I add it to --skip-keys list but then the error change to

> ERROR: the following rosdeps failed to install apt: command [sudo -H apt-get install ros-melodic-teb-local-planner] failed >

then, I ran the command below

> sudo -H apt-get install ros-melodic-teb-local-planner >

and the result is > E: Unable to locate package ros-melodic-teb-local-planner >

Reaper151 gravatar image Reaper151  ( 2020-02-16 04:53:31 -0500 )edit

Ok, then try to simply remove the pal_naviation_cfg_ari package and clean your workspace and do it again. It should work.

saikishor gravatar image saikishor  ( 2020-02-16 04:55:37 -0500 )edit

Could you tell me what command to clean workspace?

Reaper151 gravatar image Reaper151  ( 2020-02-16 05:50:50 -0500 )edit

You are having the issue at the rosdep install stage, so try running the command again. and see whats the issue. Make sure that you run apt-get update before

saikishor gravatar image saikishor  ( 2020-02-16 05:57:31 -0500 )edit

I delete pal_navigation_cfg_ari folder and I also ran apt list --installed and didn't see ros-melodic-pal_navigation_cfg_ari.

I ran sudo apt-get update then rosdep install and get this

ERROR: the following rosdeps failed to install apt: command [sudo -H apt-get install ros-melodic-teb-local-planner] failed

Reaper151 gravatar image Reaper151  ( 2020-02-16 06:07:28 -0500 )edit

I'm having the exact same error. It would be very helpful if someone knows how to solve it.

roshc2 gravatar image roshc2  ( 2020-02-16 12:45:46 -0500 )edit

@roshc2 which error do you have?

Procópio gravatar image Procópio  ( 2020-04-06 04:48:38 -0500 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2020-02-16 15:38:52 -0500

Procópio gravatar image

updated 2020-02-17 14:48:15 -0500

This issue has been fixed upstream, just need to update your repo, and clean it.

This is a bug. Please create an issue in the repository https://github.com/pal-robotics/pal_n...

While the bug is not fixed, as mentioned by @saikishor, you can have a workaround by editing this file: https://github.com/pal-robotics/pal_n...

remove the lines 24 and 26:

  <exec_depend>visited_recovery</exec_depend>

  <exec_depend>polycost_layer</exec_depend>

then do a catkin clean -b to clean your workspace and then run the rosdep command again.

edit flag offensive delete link more

Comments

  1. I did your procedure
    1. I got this >ERROR: the following rosdeps failed to install apt: command [sudo -H apt-get install ros-melodic-teb-local-planner] failed
    2. I clone link text
    3. I got this >ERROR: the following rosdeps failed to install apt: command [sudo -H apt-get install ros-melodic-robot-localization] failed
    4. I clone link text
    5. I got >ERROR: the following rosdeps failed to install apt: command [sudo -H apt-get install ros-melodic-urdf-test] failed
    6. BUT this time I don\t know which repo should I clone
Reaper151 gravatar image Reaper151  ( 2020-02-17 01:13:11 -0500 )edit

The errors that you are having now are related to installing debian packages that should exist. You do not need to clone each of this repos, as they are released under ROS. Did you correctly set up your ROS repositories? Did you do a sudo apt-get update before running the rosdep command?

Procópio gravatar image Procópio  ( 2020-02-17 02:34:56 -0500 )edit

@Reaper151 run this command apt-cache search ros-melodic-robot-localization and let us know what you see (or) apt-cache search melodic and see if you can see other melodic packages. Better run apt-get update before running the above commands

saikishor gravatar image saikishor  ( 2020-02-17 02:39:43 -0500 )edit
Reaper151 gravatar image Reaper151  ( 2020-02-17 02:51:06 -0500 )edit

@saikishor

apt-cache search ros-melodic-robot-localization

Ignoring file 'realsense-public.list ' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension

apt-cache search melodic

solfege tinyeartrainer ros-melodic-kdl-parser-py ros-melodic-visualization-marker-tutorials ros-melodic-rqt-logger-level ros-melodic-warehouse-ros ros-melodic-cpp-common ros-melodic-navfn ros-melodic-moveit-commander ros-melodic-rqt-topic ros-melodic-sound-play ros-melodic-roscpp-tutorials ros-melodic-moveit-ros-manipulation ros-melodic-forward-command-controller ros-melodic-rosconsole-bridge ros-melodic-visualization-msgs ros-melodic-gazebo-ros ros-melodic-teleop-tools-msgs ros-melodic-geometry-msgs ros-melodic-rqt-srv ros-melodic-rostest ros-melodic-twist-mux ros-melodic-catkin ros-melodic-rqt-shell ...and so on

Reaper151 gravatar image Reaper151  ( 2020-02-17 02:56:17 -0500 )edit

@Reaper151 It seems the problem is not with the TIAGo simulation packages, it has something to do with your ROS setup, try to do the same using a ROS Melodic Docker and check what's happening (or) try to reinstall your ROS and check again.

saikishor gravatar image saikishor  ( 2020-02-17 03:37:45 -0500 )edit

@Reaper151, as @saikishor mentioned, it seems there is something wrong with your repositories configuration. The packages that you cannot install do exist (check here: http://packages.ros.org/ros/ubuntu/po...).

What happens if you execute the following? sudo apt-get update && sudo apt-get install ros-melodic-teb-local-planner ros-melodic-urdf-test ros-melodic-robot-localization

Nevertheless, I'd suggest you to open a new question, as this problem is unrelated with the original issue you were encountering.

Procópio gravatar image Procópio  ( 2020-02-17 04:15:12 -0500 )edit

@Procópio I ran your command and got ten some warning about "Target ... is configured multiple times" and 3 error "unable to locate package ros-melodic-teb-local-planner / ros-melodic-urdf-test / ros-melodic-robot-localization"

Reaper151 gravatar image Reaper151  ( 2020-02-17 05:06:13 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2020-02-16 02:23:02 -0500

Seen: 680 times

Last updated: Feb 19 '20