Hello,
I am running into errors whilst attempting to run
client = ros.ServiceClient(n,'/iiwa_1/controller_manager/list_controller_types','DataFormat','struct');
with external services. In this case i am attempting to get the type for a gazebo service.
I get the error:
Input must be a structure.
Error in ros.internal.NetworkIntrospection.getServiceType (line 519)
Error in ros.ServiceClient (line 200)
serviceType = ros.internal.NetworkIntrospection.getServiceType(serviceName, masterURI);
I think there are two issues here. One is that the internal NetworkInspection class should be
instead of
However there is still the issue in why this is triggering an exception. The rosservice definelty exists and calling the "rosservice type /iiwa_1/controller_manager/list_controller_types" command works as expected.
The exception ex is:
MException with properties:
identifier: 'ros:internal:transport:TransportError'
message: 'Connection to server timed out. Server Unreachable'