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

multi-threaded rospy.get_param() crashes: CannotSendRequest and ResponseNotReady

asked 2012-06-19 07:07:31 -0600

Andy gravatar image

Hi all,

I work with the sushi repository from the ICRA Mobile Manipulation Challenge. When instantiating the ArmMover I get "CannotSendRequest" and "ResponseNotReady" exceptions. The ArmMover class creates multiple ArmMoverWorker, which run their own threads. The reason for the crash seems to be requests to the parameter server from multiple threads.

Can the parameter server process multiple requests from different threads running on the same node?

As a workaround I moved the parameter requests into the constructor of the ArmMoverWorker (before the thread is started) and then it works fine.

edit retag flag offensive close merge delete

Comments

Can anyone else using the Sushi code verify this? Running move_arms_to_side.py with simulation causes this.

dornhege gravatar image dornhege  ( 2012-06-21 02:08:34 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-06-19 23:56:28 -0600

Lorenz gravatar image

To me this looks like a bug in rospy. You should probably file a ticket at https://code.ros.org/trac/ros/.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-06-19 07:07:31 -0600

Seen: 1,089 times

Last updated: Jun 19 '12