ROS2 and OROCOS Integration


I am currently working on a project that requires integrating ROS2 with OROCOS, and I am seeking your recommendations. I would appreciate any information or code examples you can provide, as well as the pros and cons of using this integration.

To give you some context, our project involves developing a complex robotic system that requires the real-time capabilities provided by OROCOS, while leveraging the extensive middleware and ecosystem of ROS2. We believe that combining the strengths of these frameworks we can show how to enhance development process and how to build a more robust and versatile system.

With that in mind, I have a few specific questions regarding the integration of ROS2 and OROCOS:

  • Code Examples: If any of you have successfully integrated ROS2 with OROCOS, I would greatly appreciate it if you could share some code examples or provide guidance on how to approach this integration. Examples related to data exchange, communication mechanisms, and synchronization between the two frameworks would be particularly helpful. If you have integrated OROCOS with ROS 1, I would also love to see this project!

  • Pros and Cons: In your experience, what are the main advantages and disadvantages of using ROS2 and OROCOS together? Are there any particular challenges or limitations you encountered during the integration process? It would be fantastic to gain insights into the trade-offs involved.

  • Best Practices and Recommendations: Are there any best practices or recommendations you can share when integrating ROS2 with OROCOS? This could include considerations for system architecture, deployment strategies, performance optimizations, or any other aspects that you found crucial for a successful integration.

  • Community and Resources: Lastly, I would love to hear about any resources, tutorials, or publications that you found valuable for learning about the ROS2 and OROCOS integration. Are there any communities or forums where I can find more information or connect with experts in this area?

If it can be of any help - my dive through the posts and other sources showed me these:

Looking forward to your responses!

Łukasz Janiec

1 Like

Hi Lukasz,

We have been integrating Orocos and ROS 1/2 for many years in different robotic projects. Could you contact us on Book a meeting with us — Intermodalics ?

Thanks !

Hello @Peter_Soetens, I will gladly schedule a meeting.

Just to be clear and not disappoint you, this project is a part of the university course I am helping to update to newer version (from ROS 1 to 2 etc.). Funding such support by an external consultancy will not be possible. If it’s an immediate dealbreaker, let me know about it before.


Hi Lukasz,

No problem at all, if we can help by pointing you in the right direction, that could be a win-win in the end !


1 Like

ATTENTION: biasd answer since I am maintaner of ros2_control

Hi Lukasz,

Since you are already porting everything to ROS 2, maybe it is also time to reconsider the use of OROCOS, and use ros2_control instead. I understand that they are not the same – but it might be that all the features you need, you can also get with ros2_control.

If you like to get more info about what you need and where it can help you, feel free to joint our Control WG meeting this Wednesday, 2023-10-04T17:00:00Z2023-10-04T18:00:00Z. (Meeting is every second Wednesday, but on 18th will be skipped because of ROSCon Workshop we have)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.