ROS library and Visual C#

206 views
Skip to first unread message

dimitris katikaridis

unread,
Feb 16, 2016, 2:30:20 PM2/16/16
to Ros on Windows
good evening everyone..
i would like to ask you , if i could ,somehow,import ros compiled libraries to visual C# studio.
my main target is ,to build an executable like openTCS .(an interface where i will be able to simulate the motion of some AGVs)

Thanks!

Eric McCann

unread,
Feb 17, 2016, 12:11:50 PM2/17/16
to Ros on Windows
Importing compiled libraries from ROS on linux to visual studio is not exactly possible... but there are a few options to accomplish a similar thing.

https://github.com/uml-robotics/ROS.NET allows you to rewrite the ROS code in C#, and communicate with other ROS nodes.
If you leave the ROS nodes running on linux (in a virtual machine, maybe), and control/communicate with them using ROS.NET, then you can minimize the amount of reengineering required.

If the ros simulation code is just a wrapper around a non-ros library (hopefully one that can be compiled for windows), then you could use P/Invoke to call functions to make the simulation work from C# code, without rewriting all of it in C#.
Reply all
Reply to author
Forward
0 new messages