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

Pourya's profile - activity

2022-02-10 01:34:30 -0500 received badge  Nice Question (source)
2021-08-23 19:54:32 -0500 received badge  Taxonomist
2020-05-31 23:43:30 -0500 received badge  Famous Question (source)
2020-05-24 14:47:18 -0500 marked best answer Missing packages after installing rosdep based on python3-rosdep2 in Noetic

After the installation of Noetic on ubuntu 20.04, I started to redo the tutorials. When I wanted to see the dependencies of beginner_tutorials package, I couldn't use the #rosdep command!

pourya@pourya:~/catkin_ws$ rospack depends beginner_tutorials 
[rospack] Error: the rosdep view is empty: call 'sudo rosdep init' and 'rosdep update'

pourya@pourya:~/catkin_ws$ rosdep init
Command 'rosdep' not found, but can be installed with:

sudo apt install python3-rosdep2

pourya@pourya:~/catkin_ws$ sudo apt install python3-rosdep2
pourya@pourya:~/catkin_ws$ rosdep init

ERROR: Rosdep experienced an error: The read operation timed out
Please go to the rosdep page [1] and file a bug report with the stack trace below.
[1] : http://www.ros.org/wiki/rosdep

rosdep version: 0.18.0

Traceback (most recent call last):
  File '/usr/lib/python3/dist-packages/rosdep2/main.py', line 144, in rosdep_main
    exit_code = _rosdep_main(args)
  File '/usr/lib/python3/dist-packages/rosdep2/main.py', line 426, in _rosdep_main
    return _no_args_handler(command, parser, options, args)
  File '/usr/lib/python3/dist-packages/rosdep2/main.py', line 435, in _no_args_handler
    return command_handlers[command](options)
  File '/usr/lib/python3/dist-packages/rosdep2/main.py', line 579, in command_init
    data = download_default_sources_list()
  File '/usr/lib/python3/dist-packages/rosdep2/sources_list.py', line 331, in download_default_sources_list
    f = urlopen(url, timeout=DOWNLOAD_TIMEOUT)
  File '/usr/lib/python3.8/urllib/request.py', line 222, in urlopen
    return opener.open(url, data, timeout)
  File '/usr/lib/python3.8/urllib/request.py', line 525, in open
    response = self._open(req, data)
  File '/usr/lib/python3.8/urllib/request.py', line 542, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File '/usr/lib/python3.8/urllib/request.py', line 502, in _call_chain
    result = func(*args)
  File '/usr/lib/python3.8/urllib/request.py', line 1369, in https_open
    return self.do_open(http.client.HTTPSConnection, req,
  File '/usr/lib/python3.8/urllib/request.py', line 1330, in do_open
    r = h.getresponse()
  File '/usr/lib/python3.8/http/client.py', line 1332, in getresponse
    response.begin()
  File '/usr/lib/python3.8/http/client.py', line 303, in begin
    version, status, reason = self._read_status()
  File '/usr/lib/python3.8/http/client.py', line 264, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), 'iso-8859-1')
  File '/usr/lib/python3.8/socket.py', line 669, in readinto
    return self._sock.recv_into(b)
  File '/usr/lib/python3.8/ssl.py', line 1241, in recv_into
    return self.read(nbytes, buffer)
  File '/usr/lib/python3.8/ssl.py', line 1099, in read
    return self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out


pourya@pourya:~/catkin_ws$ rosdep init
ERROR: default sources list file already exists:
    /etc/ros/rosdep/sources.list.d/20-default.list
Please delete if you wish to re-initialize

Regarding the message in the terminal, I installed the rosdep. Now, it seems a lots of packages are missed such as rospy and ...

pourya@pourya:~/catkin_ws/src$ catkin_create_pkg beginner_tutorials rospython roscpp 
Created file beginner_tutorials/package.xml
Created file beginner_tutorials/CMakeLists.txt
Created folder beginner_tutorials/include/beginner_tutorials
Created folder beginner_tutorials/src
Successfully created files in /home/pourya/catkin_ws ...
(more)
2020-05-24 14:47:18 -0500 received badge  Scholar (source)
2020-05-24 14:46:58 -0500 commented answer Missing packages after installing rosdep based on python3-rosdep2 in Noetic

Exactly: https://wiki.ros.org/UpstreamPackages

2020-05-24 05:41:30 -0500 received badge  Notable Question (source)
2020-05-24 04:30:12 -0500 received badge  Popular Question (source)
2020-05-23 19:14:34 -0500 commented answer Missing packages after installing rosdep based on python3-rosdep2 in Noetic

I didn't use rosdep in the installation step; but after installation, I went through the beginner tutorials. Yes, it was

2020-05-23 18:35:14 -0500 commented answer Missing packages after installing rosdep based on python3-rosdep2 in Noetic

Thank you. That's right. Maybe it was a suggestion from Ubuntu and doesn't solve the ROS command missing in Noetic eg.

2020-05-23 18:34:46 -0500 commented answer Missing packages after installing rosdep based on python3-rosdep2 in Noetic

Thank you. That's right. Maybe it was a suggestion from Ubuntu and doesn't solve the ROS command missing in Noetic ie.

2020-05-23 14:49:42 -0500 received badge  Student (source)
2020-05-23 14:35:08 -0500 asked a question Missing packages after installing rosdep based on python3-rosdep2 in Noetic

Missing packages after installing #rosdep based on #python3-rosdep2 in Noetic After the installation of Noetic on ubuntu

2020-05-23 01:05:46 -0500 answered a question Error installing Ros Noetic in Debian Buster

Hello Today is May 23 and Noetic is not released yet! Does anyone know the reason?

2016-06-15 01:57:54 -0500 received badge  Famous Question (source)
2016-04-20 03:46:22 -0500 received badge  Enthusiast
2016-04-19 10:56:54 -0500 asked a question How can I connect to NAO in webots or gazebo by ROS?

How can I connect to NAO in Webots or Gazebo by nao_bringup in ROS? I can connect to NAO in Webots by Choregraphe but, I can't connect by ROS! Anyone can help me?

2016-04-19 10:51:08 -0500 answered a question nao bringup error

Hi How can I connect to webots or gazebo by ROS? How can I address nao_bringup by port?

2016-02-04 11:38:49 -0500 received badge  Notable Question (source)
2016-02-04 11:38:49 -0500 received badge  Popular Question (source)
2016-01-06 08:17:12 -0500 received badge  Editor (source)
2016-01-06 08:08:54 -0500 received badge  Organizer (source)
2016-01-06 08:05:35 -0500 asked a question Imitation of Human Motion (Tele-Operating) the NAO Using a Kinect in ROS-Indigo and Ubuntu14.04 64bit

Hi my Friends :)

I decided for working on imitation of human's motion by a NAO robot using a Microsoft Kinect as my master thesis. I want to develop some algorithms and implement them by ROS on NAO. As first step I want to run this ROS tutorial:

http://wiki.ros.org/nao/Tutorials/Usi...

My OS is ubuntu 14.04.3 LTS 64bit. I use ROS Indigo with catkin work space.

As this tutorial I get these packages successfully:

  • Nao respository
  • USC code
  • Yale code

Also I had faced with a problem in accessing #USC code that was solved by changing the svn directory to:

# USC code - svn: uri: https://svn.code.sf.net/p/usc-ros-pkg... local-name: stacks/usc-ros-pkg


Then I use this command for making the packages:

rosmake tf_to_pose bandit_to_nao openni_skeleton openni_tracker_yale fake_nao humanoid_nav_msgs nao_teleop nao_remote

I get this messages:

Failed to invoke /opt/ros/indigo/bin/rospack deps-manifests tf_to_pose
  [rospack] Error: package 'tf_to_pose' depends on non-existent package 'kdl' and rosdep claims that it is not a system dependency. Check the ROS_PACKAGE_PATH or try calling 'rosdep update
  CMake Error at /opt/ros/indigo/share/ros/core/rosbuild/public.cmake:129 (message):
    Failed to invoke rospack to get compile flags for package 'tf_to_pose'.
    Look above for errors from rospack itself.  Aborting.  Please fix the
    broken dependency!

and

  Failed to invoke /opt/ros/indigo/bin/rospack deps-manifests openni_tracker_yale
  [rospack] Error: package 'openni_tracker_yale' depends on non-existent package 'openni' and rosdep claims that it is not a system dependency. Check the ROS_PACKAGE_PATH or try calling 'rosdep update'
   CMake Error at /opt/ros/indigo/share/ros/core/rosbuild/public.cmake:129 (message): 
    Failed to invoke rospack to get compile flags for package
    'openni_tracker_yale'.  Look above for errors from rospack itself.
    Aborting.  Please fix the broken dependency!

for two tf_to_pose and openni_tracker_yale

My problem in compile is that these packages have some dependencies:

  • tf_to_pose ---> kdl
  • openni_tracker_yale ---> openni

kdl and openni libraries are related to former ROS versions. How can I make some configs on these packages in order to run in Indigo?

Thanks a'lot ;)

2016-01-02 04:12:36 -0500 received badge  Supporter (source)
2015-03-08 14:01:57 -0500 commented question Skeleton Tracking in ROS Indigo using Kinect

I have a same problem with skeleton tracker package and ros indigo. Is there anyone to help?

2015-03-03 09:59:40 -0500 answered a question Skeleton Tracking in ROS Indigo using Kinect

I have a same problem with skeleton tracker package and ros indigo. Is there anyone to help?