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

is ROS navigation on C# possible?

asked 2012-01-18 04:37:31 -0500

Robotp38 gravatar image

updated 2012-02-27 13:26:33 -0500

kwc gravatar image

Hi ROS team. Congratulations for all your work on ROS. I’m currently developing some software in Windows using an iRobot Create and a Kinect. I’m particularly interested in the navigation methods that you have included on ROS. However I’m using Microsoft Visual Studio 2010 with C#. I was wondering if I could add some .dll to my program to reuse the two steps of your navigation. Those would be:

  1. Building a 2D map.
  2. Use that 2D map to navigate my robot to a certain location.

Best regards, Antonio

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2012-01-18 14:30:56 -0500

kwc gravatar image

ROS currently is not compatible with C#

edit flag offensive delete link more


As long as you only need a few message types exposed, it should be possible to write a wrapper DLL in C++ that could be loaded in a C# application, shouldn't it? Or is there some incompatibility somewhere? We're currently trying to do this at my company, so I'd love to know if that's the case.
raahlb gravatar image raahlb  ( 2012-01-18 19:09:31 -0500 )edit
If you're willing to wrap the code yourself, it's possible in theory. But the question was "can I add a .dll to my program" and use it in a C# program; the answer to that is no, because no one has written C# adapters for ROS, let alone the navigation stack.
kwc gravatar image kwc  ( 2012-01-19 04:09:08 -0500 )edit

answered 2013-04-22 20:16:02 -0500

Carpe Noctem gravatar image

updated 2013-04-22 22:56:15 -0500

130s gravatar image

There exists a c# wrapper for ros. It is called roscs. Have a look at

edit flag offensive delete link more

Question Tools


Asked: 2012-01-18 04:37:31 -0500

Seen: 880 times

Last updated: Apr 22 '13