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

rospy publisher hanging when subscriber drops connection because of wifi - is this normal?

asked 2012-03-08 11:15:29 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I have a visualizer running on a laptop via a wifi connection subscribing to GPS messages. When the wifi is dropped the gps publisher hangs (preventing vehicle control through other subscribers). When the wifi is reestablished the publisher continues where it left off.

Is this normal? - how do ensure the vehicle code runs independently of any wifi based subscribers? Is this rospy specific behavior?

edit retag flag offensive close merge delete

Comments

Are you using a topic, or a service?

Mac gravatar image Mac  ( 2012-03-08 15:32:16 -0600 )edit

topics. I have duplicated my issue with the talker listener tutorials. e.g. start both roscpp and rospy talkers (publishing to the same chatter topic), and on a wirelessly connected pc start a (either) listener, drop the connection, and later (~1 minute) the rospy publisher hangs, roscpp still OK.

Johnny gravatar image Johnny  ( 2012-03-14 12:12:01 -0600 )edit

It might be worth taking this question to ros-users, as it sounds like you might have triggered a real bug. (I was _really_ hoping the answers was services; because services are synchronous, that would explain your problem)

Mac gravatar image Mac  ( 2012-03-15 10:32:23 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-02-07 10:11:13 -0600

Advait Jain gravatar image

updated 2013-02-07 10:11:46 -0600

I have opened a ticket for this: https://github.com/ros/ros_comm/issues/169

edit flag offensive delete link more

Question Tools

3 followers

Stats

Asked: 2012-03-08 11:15:29 -0600

Seen: 1,676 times

Last updated: Mar 08 '12