ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A answers.ros.org

RCL implementation in go


#1

Hi there,

A couple of months ago I saw the RCL concept for wrapping ROS2 in different languages. As I recently started learning go, I thought it would be great to have that library available in this language.

Unfortunately, there weren’t any repositories on github doing that so I decided to do it by myself:

https://github.com/juaruipav/rclgo

Current implementation covers approximately 75% of the rcl functionality (it is not totally functional yet). The most difficult part is the type binding. I plan to use a code generator to bind directly the C types definitions.

Any thoughts about it? Any suggestions? There are many good features from go (goroutines, reflection, interfaces…) that could result really interesting when working on robotics.

Best Regards!