Skip to content

Instantly share code, notes, and snippets.

@tfoote
Created June 29, 2017 22:15
Show Gist options
  • Save tfoote/9145d1285e3a9a9f36b15f9228ed2ecd to your computer and use it in GitHub Desktop.
Save tfoote/9145d1285e3a9a9f36b15f9228ed2ecd to your computer and use it in GitHub Desktop.
C:\dev\ros2>ros2 service call /add_two_ints example_interfaces/AddTwoInts "{a: 2, b: 3}"
RTI Data Distribution Service Evaluation License issued to OSRF - OSRF01 dthomas@osrfoundation.org For non-production use only.
Expires on 05-may-2018 See www.rti.com for more information.
requester: making request: example_interfaces.srv.AddTwoInts_Request(a=2, b=3)
Exception ignored in: <bound method Node.__del__ of <rclpy.node.Node object at 0x0000006BB0AAF4A8>>
Traceback (most recent call last):
File "C:\dev\ros2\install\Lib\site-packages\rclpy\node.py", line 255, in __del__
self.destroy_node()
File "C:\dev\ros2\install\Lib\site-packages\rclpy\node.py", line 224, in destroy_node
'client', cli.client_handle, self.handle)
RuntimeError: Failed to fini 'client': rcl node is invalid, rcl instance id does not match, at C:\dev\ros2\src\ros2\rcl\rcl\src\rcl\node.c:346
Failed to fini 'client': rcl node is invalid, rcl instance id does not match, at C:\dev\ros2\src\ros2\rcl\rcl\src\rcl\node.c:346
C:\dev\ros2>
C:\dev\ros2>ros2 service call /add_two_ints example_interfaces/AddTwoInts "{a: 2, b: 3}"
RTI Data Distribution Service Evaluation License issued to OSRF - OSRF01 dthomas@osrfoundation.org For non-production use only.
Expires on 05-may-2018 See www.rti.com for more information.
requester: making request: example_interfaces.srv.AddTwoInts_Request(a=2, b=3)
Exception ignored in: <bound method Node.__del__ of <rclpy.node.Node object at 0x000000A8137FF4A8>>
Traceback (most recent call last):
File "C:\dev\ros2\install\Lib\site-packages\rclpy\node.py", line 255, in __del__
self.destroy_node()
File "C:\dev\ros2\install\Lib\site-packages\rclpy\node.py", line 224, in destroy_node
'client', cli.client_handle, self.handle)
RuntimeError: Failed to fini 'client': rcl node is invalid, rcl instance id does not match, at C:\dev\ros2\src\ros2\rcl\rcl\src\rcl\node.c:346
Failed to fini 'client': rcl node is invalid, rcl instance id does not match, at C:\dev\ros2\src\ros2\rcl\rcl\src\rcl\node.c:346
C:\dev\ros2>ros2 service call /add_two_ints example_interfaces/AddTwoInts "{a: 2, b: 3}"
RTI Data Distribution Service Evaluation License issued to OSRF - OSRF01 dthomas@osrfoundation.org For non-production use only.
Expires on 05-may-2018 See www.rti.com for more information.
requester: making request: example_interfaces.srv.AddTwoInts_Request(a=2, b=3)
Exception ignored in: <bound method Node.__del__ of <rclpy.node.Node object at 0x0000000E0096F4A8>>
Traceback (most recent call last):
File "C:\dev\ros2\install\Lib\site-packages\rclpy\node.py", line 255, in __del__
self.destroy_node()
File "C:\dev\ros2\install\Lib\site-packages\rclpy\node.py", line 224, in destroy_node
'client', cli.client_handle, self.handle)
RuntimeError: Failed to fini 'client': rcl node is invalid, rcl instance id does not match, at C:\dev\ros2\src\ros2\rcl\rcl\src\rcl\node.c:346
Failed to fini 'client': rcl node is invalid, rcl instance id does not match, at C:\dev\ros2\src\ros2\rcl\rcl\src\rcl\node.c:346
C:\dev\ros2>
C:\dev\ros2>
C:\dev\ros2>
C:\dev\ros2>ros2 run demo_nodes_cpp add_two_ints_client
RTI Data Distribution Service Evaluation License issued to OSRF - OSRF01 dthomas@osrfoundation.org For non-production use only.
Expires on 05-may-2018 See www.rti.com for more information.
signal_handler(2)
add_two_ints_client was interrupted. Exiting.
C:\dev\ros2>ros2 run demo_nodes_cpp add_two_ints_client
RTI Data Distribution Service Evaluation License issued to OSRF - OSRF01 dthomas@osrfoundation.org For non-production use only.
Expires on 05-may-2018 See www.rti.com for more information.
signal_handler(2)
add_two_ints_client was interrupted. Exiting.
C:\dev\ros2>
C:\dev\ros2>
C:\dev\ros2>
C:\dev\ros2>
C:\dev\ros2>
C:\dev\ros2>
C:\dev\ros2>ros2 run demo_nodes_cpp add_two_ints_client
RTI Data Distribution Service Evaluation License issued to OSRF - OSRF01 dthomas@osrfoundation.org For non-production use only.
Expires on 05-may-2018 See www.rti.com for more information.
signal_handler(2)
add_two_ints_client was interrupted. Exiting.
C:\dev\ros2>
C:\dev\ros2>ros2 run demo_nodes_py add_two_ints_client
RTI Data Distribution Service Evaluation License issued to OSRF - OSRF01 dthomas@osrfoundation.org For non-production use only.
Expires on 05-may-2018 See www.rti.com for more information.
Traceback (most recent call last):
File "C:\dev\ros2\install\lib\demo_nodes_py\add_two_ints_client-script.py", line 11, in <module>
load_entry_point('demo-nodes-py==0.0.0', 'console_scripts', 'add_two_ints_client')()
File "C:\dev\ros2\install\Lib\site-packages\services\add_two_ints_client.py", line 34, in main
print('Result of add_two_ints: %d' % cli.response.sum)
AttributeError: 'NoneType' object has no attribute 'sum'
Exception ignored in: <bound method Node.__del__ of <rclpy.node.Node object at 0x000000829E30FB00>>
Traceback (most recent call last):
File "C:\dev\ros2\install\Lib\site-packages\rclpy\node.py", line 255, in __del__
self.destroy_node()
File "C:\dev\ros2\install\Lib\site-packages\rclpy\node.py", line 224, in destroy_node
'client', cli.client_handle, self.handle)
RuntimeError: Failed to fini 'client': rcl node is invalid, rcl instance id does not match, at C:\dev\ros2\src\ros2\rcl\rcl\src\rcl\node.c:346
C:\dev\ros2>
C:\dev\ros2>
C:\dev\ros2>
C:\dev\ros2>ros2 run demo_nodes_py add_two_ints_client
RTI Data Distribution Service Evaluation License issued to OSRF - OSRF01 dthomas@osrfoundation.org For non-production use only.
Expires on 05-may-2018 See www.rti.com for more information.
Traceback (most recent call last):
File "C:\dev\ros2\install\lib\demo_nodes_py\add_two_ints_client-script.py", line 11, in <module>
load_entry_point('demo-nodes-py==0.0.0', 'console_scripts', 'add_two_ints_client')()
File "C:\dev\ros2\install\Lib\site-packages\services\add_two_ints_client.py", line 34, in main
print('Result of add_two_ints: %d' % cli.response.sum)
AttributeError: 'NoneType' object has no attribute 'sum'
Exception ignored in: <bound method Node.__del__ of <rclpy.node.Node object at 0x000000011DAFFB00>>
Traceback (most recent call last):
File "C:\dev\ros2\install\Lib\site-packages\rclpy\node.py", line 255, in __del__
self.destroy_node()
File "C:\dev\ros2\install\Lib\site-packages\rclpy\node.py", line 224, in destroy_node
'client', cli.client_handle, self.handle)
RuntimeError: Failed to fini 'client': rcl node is invalid, rcl instance id does not match, at C:\dev\ros2\src\ros2\rcl\rcl\src\rcl\node.c:346
C:\dev\ros2>
C:\dev\ros2>
C:\dev\ros2>ros2 run demo_nodes_py add_two_ints_client
RTI Data Distribution Service Evaluation License issued to OSRF - OSRF01 dthomas@osrfoundation.org For non-production use only.
Expires on 05-may-2018 See www.rti.com for more information.
Traceback (most recent call last):
File "C:\dev\ros2\install\lib\demo_nodes_py\add_two_ints_client-script.py", line 11, in <module>
load_entry_point('demo-nodes-py==0.0.0', 'console_scripts', 'add_two_ints_client')()
File "C:\dev\ros2\install\Lib\site-packages\services\add_two_ints_client.py", line 34, in main
print('Result of add_two_ints: %d' % cli.response.sum)
AttributeError: 'NoneType' object has no attribute 'sum'
Exception ignored in: <bound method Node.__del__ of <rclpy.node.Node object at 0x000000C6B973FB00>>
Traceback (most recent call last):
File "C:\dev\ros2\install\Lib\site-packages\rclpy\node.py", line 255, in __del__
self.destroy_node()
File "C:\dev\ros2\install\Lib\site-packages\rclpy\node.py", line 224, in destroy_node
'client', cli.client_handle, self.handle)
RuntimeError: Failed to fini 'client': rcl node is invalid, rcl instance id does not match, at C:\dev\ros2\src\ros2\rcl\rcl\src\rcl\node.c:346
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment