-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integration Service instance crashes on wan example when remap is used #115
Comments
I think I'm having a similar issue. |
Good morning, Sorry for the delay, but we've been on vacation since August 7th. I took a look at these and, apparently, my SOSS instance is running out of the box, using the provided YAML files. The only reason for this to happen could be any of the required systemhandles failing during compile/build time. Have you checked out that Also, please notice that downloading both |
Hello Jose, Thank you for response :) I think I must clarify two important points: 1- I don't install anything manually, I just create Docker container from SOSS-DSS Docker file without any changes, I think it must has everything it needed to run examples. 2- It looks Docker container has all components, it can run wan_client_talker.yaml only if "remap" key removed from file. Error message when "remap" is present.
Also, it shows an error message if <discovery_config> node be present in wan_config.xml file.
So I think either Docker file installs something wrong (or old) or "apt-get install -y libyaml-cpp-dev" install wrong version of Yaml parser, "remap" key error is outside of SOSS-DSS domain (I guess). Let me explain my setup in details, I have 2 Docker containers running on separate machines (both has valid static IP), on one instance, I run wan_server_listener.yaml and wan_client_talker.yaml on second machine/Docker container. (modified yaml and xml file as I mentioned in the first post, without "remap" keys) Inside talker instance, I can see SOSS detects ROS2 topic (chatter) and writes on console:
On server instance, SOSS-DDS starts without problem:
I can see RTCP packets reach the Docker instance (when client starts to send, I see many RTCP packets in tcpdump console in server instance), but from here it seems server can't recognize the topic and re-publish it to ROS2 domain. I guess, whole thing is because of missing "remap" key on both side. Would you please verify same example with Docker file? |
Oh, I see. I'm afraid that Docker file is pretty much outdated and only valid for |
Docker file is using SOSS/OSRF source code, that was source of many problems. I have made necessary changes in Docker file and now example WAN files will parse without problem. |
Following wan example, I made two servers one with client talker (ros2_to_dds) and server running server listener profile (dds_to_ros2)
First issue; I used Docker file (without any change), but SOSS fails to run both profiles if "remap" key exists in the YAML files:
chatter: { type: "std_msgs/String", route: ros2_to_dds, remap: { dds: { type: "std_msgs/String", topic: HelloWorldTopicC } } }
I get this error message:
terminate called after throwing an instance of 'YAML::TypedBadConversion<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >'
what(): yaml-cpp: error at line 0, column 0: bad conversion
removing "remap" key solves this problem and I get:
[soss-dds]: subscriber created. topic: chatter, type: std_msgs/String
but next problem is server does not re-publish DDS domain messages into ROS2.
When server profile runs I can see stream of packets (RTCP) is established between 2 machines. I get packets from client machine inside server Docker (SOSS instance), but from here nothing happens.
neither SOSS instance shows any incoming DDS message, nor "ros2 topic echo chatter" shows anything
here is client (talker) YAML file:
and server (listener) YAML file:
and finally wan_config.xml:
Third problem is
<discovery_config>
tag, SOSS does not recognize it, I checked version numbers and it seems Docker is using latest code to compile SOSS, I am not sure what is missing there.The text was updated successfully, but these errors were encountered: