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

Aracanid's profile - activity

2020-08-07 02:37:56 -0500 received badge  Famous Question (source)
2020-08-07 02:37:56 -0500 received badge  Notable Question (source)
2016-10-15 09:30:05 -0500 marked best answer rosdep initialisation error

Hi, I've tried both today and yesterday incase it was a temporary thing, however I constantly recieve this error when trying to initialise rosdep:

ERROR: cannot download default sources list from:
https://raw.github.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.list
Website may be down.

The other solutions I've seen assume that it's a proxy that is causing this but I am not using a proxy and I am able to ping github successfully as well as view the actual link it returns. I apologise if I have missed something simple here but I've been banging my head trying everything so far. Any help you could give would be greatly appreciated.

I'm running Ubuntu 14.04 LTS and using the Indigo Igloo version of ROS and my rosdep version is 0.10.30. If there is any further information you need just let me know.

2016-10-15 09:30:05 -0500 received badge  Self-Learner (source)
2016-10-15 09:30:05 -0500 received badge  Teacher (source)
2016-03-03 00:33:41 -0500 received badge  Famous Question (source)
2016-02-14 07:30:13 -0500 received badge  Famous Question (source)
2015-10-08 08:01:56 -0500 received badge  Popular Question (source)
2015-03-11 13:07:10 -0500 received badge  Student (source)
2015-03-09 18:58:09 -0500 commented question ROS not running roscore

I typed it up so it's a typo, my bad :/

2015-03-05 21:20:21 -0500 received badge  Notable Question (source)
2015-03-05 09:30:26 -0500 received badge  Popular Question (source)
2015-03-05 09:13:06 -0500 commented question ROS not running roscore

Sorry for the delay in replying, I've added the output to env | grep ROS

2015-03-05 09:12:46 -0500 received badge  Editor (source)
2015-03-04 08:48:50 -0500 asked a question ROS not running roscore

I've recently installed indigo on a Raspberry Pi 2. When I try to use roslaunch or rosrun, although it finds the launch file or executable, nothing happens. It doesn't give an error, it just hangs there. I've tried to launch just roscore as well and it produces the same result.

If anyone has any thoughts on what might be causing this I'd appreciate the help :)

Edit: Output of env | grep ROS

ROS_BOOT=/home/pi/ros_catkin_ws/install_isolated/share/ros

ROS_PACKAFE_PATH=/home/pi/ros_catkin_ws/src/offloadable_face_recognition/:/home/pi/ros_catkin_ws/src/usb_cam:/home/pi/ros_catkin_ws/install_isolated//home/pi/ros_catkin_ws/install_isolated/stacks

ROS_MASTER_URI=http://localhost:11311

ROS_TEST_RESULTS_DIR=/home/pi/ros_catkin_ws/build_isolated/usb_cam/test_results

ROS_ETC_DIR=/home/pi/ros_catkin_ws/install_isolated/etc/ros

2015-02-26 12:43:45 -0500 commented question Unsubscribing from topics

Setting it to None also seems to do the trick but still no reflection on the node graph. I suppose editing the node graph source code will be the solution. Thanks for your help guys :)

2015-02-25 10:07:56 -0500 commented question Unsubscribing from topics

Thanks for your responses guys. I do actually need to unsubscribe the node because the program is meant to simulate computational offloading by doing so. shutdown() doesn't seem to do anything for me :/ The terminal outputs seem to show that the unsubscribing works, but the Node_Graph doesn't.

2015-02-25 08:12:12 -0500 received badge  Notable Question (source)
2015-02-25 00:13:10 -0500 received badge  Popular Question (source)
2015-02-24 15:11:22 -0500 asked a question Unsubscribing from topics

Hi there. I'm trying to implement a feature that would allow me to unsubscribe and stop publishing messages to certain topics, this is so that another node may begin publishing and subscribing to said topics. However when attempting this I am able to subscribe without a problem, but the nodes are never able unsubscribe and instead every node ends up publishing, causing unwanted messages to be sent and received. Below is an example of the code I am using to unsubcribe from the topics.

def unsubscribe_node(self):
    # Function to unsubscribe a node from its topics and stop publishing data
    with self.subscriber_lock:
        self.is_offloaded = True
        self.face_box_sub.unregister()
        self.output_image_pub.unregister()
        self.motor_commands_pub.unregister()

And here is the resubscribe function:

def resubscribe_node(self):
    # Function to resubscribe and republish the nodes data
    with self.subscriber_lock:
        self.is_offloaded = False
        self.output_image_pub = rospy.Publisher(self.output_image, Image, queue_size=self.queue_size)
        self.face_box_sub = rospy.Subscriber(self.face_box_coordinates, FaceBox, self.update_face_box, queue_size=self.queue_size)
        self.motor_commands_pub = rospy.Publisher(self.motor_commands, MotorCommand, queue_size=self.queue_size)

Is there anything I am doing wrong that I have missed?

Any help you guys can give would be great.

2015-02-04 00:26:11 -0500 answered a question Calling a multiplexer select from a node

Just incase anyone ever has a similar question I finally realised what I had been doing wrong while going through the source code for mux_select and it appears to be working now. Simply follow their example here:

https://github.com/ros/ros_comm/blob/...

2015-02-04 00:13:11 -0500 received badge  Enthusiast
2015-02-03 22:02:00 -0500 commented question Problems with compiling Beginner Tutorials [Solved]

Do you have std_msgs installed? http://wiki.ros.org/std_msgs

2015-02-03 14:58:17 -0500 asked a question Calling a multiplexer select from a node

Hi I'm wondering how I would go about calling the multiplexer select from inside a node instead of using the command line tool. Are there any examples on how to accomplish this as I cannot find any?

Thanks in advance for any help you can give.

2014-12-04 11:22:22 -0500 received badge  Famous Question (source)
2014-09-29 06:39:21 -0500 received badge  Notable Question (source)
2014-09-27 14:47:15 -0500 answered a question error in rosdep initialization

Manually creating each file and pointing to them using file:// and their path instead of the web URL as tfoote suggested has solved this problem but hasn't improved my situation much.

If you just open the raw github link that it returns in your error code (i.e. //raw.github.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.list) and copy its contents into a file called 20-default.list in /etc/ros/rosdep/sources.list.d/ then you should be able to skip the rosdep init step and proceed to rosdep update.

As you'll see after this you will have to indivdually do this for each link inside 20-default.list so I'm still stuck but slowly working through my problems. Hopefully this helps you and thank tfoote for suggesting the fix. If I manage to figure out anything else I'll let you know

2014-09-27 11:37:16 -0500 received badge  Popular Question (source)
2014-09-26 14:20:26 -0500 answered a question rosdep initialisation error

I'm adding this edit in case others run into similar problems. The entire root of my problem seems to have been Virgin Media. Although it doesn't come up when you check for proxies or IP filtering, they do employ something in the background to filter for DMCA infringing sites so that they can block them. When I tethered my PC to my phone and used my phones data to initialise and update rosdep everything worked perfectly first time around.

Not sure if this will help everyone who had this problem but hopefully it does.

///// Manually adding the files has thankfully fixed this but I now get this error: reading in sources list data from /etc/ros/rosdep/sources.list.d ERROR: unable to process source [https://github.com/ros/rosdistro/raw/master/rosdep/osx-homebrew.yaml]: (https://github.com/ros/rosdistro/raw/...) Anyone got any ideas? ////