UniversalRobots / Universal_Robots_ROS_as_a_Service_URCap

This URCap makes a universal robot part of a ROS system by making ROS calls available inside Polyscope through the rosbridge.
Apache License 2.0
12 stars 3 forks source link

Failure of the connection between Ros and UR caps #46

Closed mymanon2000 closed 3 months ago

mymanon2000 commented 1 year ago

Hello,

I have a problem when I want to add a publication to a topic directly on the UR. I followed the whole tutorial to the letter, but after launching the roslaunch rosbridge_server rosbridge_tcp.launch ,when I try to press on the UR interface the "Publish topic" button or any other one related to the UR caps, an error appears :

[ERROR] [1666083196.581254]: [Client 0] call_service TypeError: send_message() takes from 1 to 2 positional arguments but 3 were given Exception in thread Thread-8: Traceback (most recent call last): File "/home/pcmanon/ur_ros/src/rosbridge_suite-ros1/rosbridge_library/src/rosbridge_library/internal/services.py", line 75, in run self.success(call_service(self.service, self.args)) File "/home/pcmanon/ur_ros/src/rosbridge_suite-ros1/rosbridge_library/src/rosbridge_library/capabilities/call_service.py", line 102, in _success self.protocol.send(outgoing_message) File "/home/pcmanon/ur_ros/src/rosbridge_suite-ros1/rosbridge_library/src/rosbridge_library/protocol.py", line 277, in send self.outgoing(serialized, compression) TypeError: send_message() takes from 1 to 2 positional arguments but 3 were given I work on an UR10e robot whit ros 1

fmauch commented 1 year ago

I haven't been using this for a while now... I'll go ahead and test this.

fmauch commented 1 year ago

I cannot reproduce this using ROS noetic and rosbridge_suite built from source (Since you seem to have done that) from version https://github.com/RobotWebTools/rosbridge_suite/commit/b0d0d711931d8ab7a5f079f948ced8875b4dc5d9.

fmauch commented 3 months ago

I'm going to close this as there were no updates and we couldn't reproduce the error.