Ask Your Question
0

Call service from outside of ROS

asked 2015-07-02 07:31:23 -0600

Borob gravatar image

Hey guys,

I have a programm, that is supposed to work in a ROS environment. This programm has been written in a multi-platform framework and will most likely be run on a mobile OS, but should be OS-independent after all.

It should be able to send messages to a ROS service and receive messages from that service. I wanted to ask how that could be achieved since there is no ROS environment set up on the app itself.

I would need some kind of wrapper that sends stuff that looks like propper messages on ROS. I couln't find anything but maybe there is already a framework or you could point me to do it and where I should start.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2015-07-02 10:30:52 -0600

Borob gravatar image

updated 2015-07-02 10:31:26 -0600

I found what I was searching for with rosbridge. It allows to send out json messages via UDP proxy to access ROS functionality: http://wiki.ros.org/rosbridge_suite

edit flag offensive delete link more
0

answered 2015-07-02 10:06:06 -0600

dornhege gravatar image

The framework is called ROS. ;) More specifically you only need the appropriate client library, e.g., roscpp running, but not any of the tools like rviz, etc. The client library implements exactly what you need, handling out messages, serializing, etc. For whatever your system supports, you should look for a ROS client library.

If none of what is implemented as part of ROS works for you, you can still implement that yourself on the network directly. There is documentation, but this is probably not necessary for most languages.

edit flag offensive delete link more

Comments

The framework I used, or rather the environment, is Unity ;) And the way I see it, there is no C# implementation of ROS' client library.

Borob gravatar imageBorob ( 2015-07-02 10:29:24 -0600 )edit

There is/was http://wiki.ros.org/roscs . It doesn't seem updated any more, but might still work.

dornhege gravatar imagedornhege ( 2015-07-03 03:32:51 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2015-07-02 07:31:23 -0600

Seen: 134 times

Last updated: Jul 02 '15