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

Repeated calls to rosjava parameter server produce unexpected results.

asked 2012-09-10 06:08:59 -0500

stevefturner gravatar image

During repeated runs with a rosjava master mixing java and C++ nodes (all on Windows, compiled with MSVC), it appeared that a socket connection was dying within the Java code. After some period of time one or more of the C++ nodes would appear to block somewhere down in OS code. Was unable to debug effectively. However, it was noted that the C++ nodes affected were making multiple default parameter calls at 1HZ to the rosjava master:

nh.param<std::string>("default_param", default_param, "default_value");

After removing these calls, the nodes worked reliably. It seems like repeated calls to the java implementation of the parameter server was causing some kind of hang up. Anyone experienced this? I'll try to debug more and get a stack trace as time allows.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-09-12 03:23:56 -0500

damonkohler gravatar image

I haven't heard of this issue. Please file an issue and include as much detail (e.g. sample code) as possible so that I may reproduce the issue. http://code.google.com/p/rosjava/issues/list

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-09-10 06:08:59 -0500

Seen: 138 times

Last updated: Sep 10 '12