ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

integrating a c# dll in ROS

asked 2017-06-29 11:29:51 -0500

knxa gravatar image

updated 2017-06-29 11:30:10 -0500

I am forced to integrate a .NET assembly in a ROS node (kinetic). I have tested the .NET assembly with mono and it works just fine.

What are my chances of creating a succesful ROS node purely in C#? For example, I would need to subscribe to a topic for receiving image data. Or would you recommend to wrap the .NET assembly in c++ and use c++ for ROS integration?

I have never done any of the two...

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-06-30 09:16:31 -0500

knxa gravatar image

I have decided to wrap the dot net assembly in c++. After a look at how to embed mono in a c++ application it does not look that difficult. I expect the .NET dll to be quite static and the interface to be quite limited. So there is no need to involve C# in accessing the ROS API, for example worry about how ROS messages are parsed and generated.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2017-06-29 11:29:51 -0500

Seen: 347 times

Last updated: Jun 30 '17