When creating a ROS2 service in a non-threaded script:
Code: Select all
service = simROS2.advertiseService(proxy_node..'/service', 'std_srvs/Empty', 'service_callback')
I am using CoppeliaSim Pro V4.0.0. (rev. 4) with ROS2 Eloquent Elusor on Ubuntu 18.04. The ROS2 plugin for the simulator loads properly since I've been able to communicate in publisher-subscriber manner with no issues - only services lead to crashing. The same problem occurs when calling simROS2.createService.libsimExtROS2Interface.so: undefined symbol: _ZN22rosidl_typesupport_cpp31get_service_type_support_handleIN8std_srvs3srv5EmptyEEEPK29rosidl_service_type_support_tv
Any ideas how to fix it?
All the best,