-
Notifications
You must be signed in to change notification settings - Fork 127
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
implement ROS-TCP-ENDPOINT with C++ #172
Comments
I just made a C++ implementation of the Endpoint for ROS2. I plan to make it available quite soon, as soon as i've cleaned the code. It's currently written for Windows but would be easily ported to any Posix system just by replacing the WinSocks with standard sockets. |
I have finished using C++ to rewrite the endpoint in April, and it works with extremely low cpu usage like 1% in C++ while 60% in python running the same demon code. |
Hi @ketewang, would you mind making the C++ code open source? |
For anyone who may need it, our C++ implementation of the ROS-TCP-Endpoint node is available here : https://github.com/IH2A/ROS-TCP-Endpoint/blob/ros2-cpp/README_CPP.md For the tests i've made so far, it shows improved performances and much better stability than the python version. Publishers, Subscribers, ROS services and Unity services are available. |
I'm trying to rewrite this module with C++ as this python project runs with high and unsteady cpu resource. have you ever considered this thought before? It looks like I'm facing the problem of dynamically deserialize ros2 msg or srv class. Any good suggestion for this? thanks.
The text was updated successfully, but these errors were encountered: