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

Communicate with ros through XML-RPC

asked 2016-08-19 06:20:39 -0600

ghkraju gravatar image

I am working on a project where i need to communicate to ROS from Windows PC. I found that XML-RPC is the best way to do it. Any other suggestions would be much appreciated.

My question is, can we communicate using different protocols like SOAP request to XML-RPC? Will that be feasible? I know this is a kind of weird idea but I am facing issues in linking XML-RPC libraries for C++.

Can I get the video feed from rviz(Simulation of the Robot) through XML-RPC request response procedure in order to display in Windows PC?

edit retag flag offensive close merge delete

Comments

1

Some clarification: XML-RPC is only used in ROS to communicate with the master, not with individual nodes. Data exchange between nodes is a 1-to-1 affair, and uses TCPROS (or its UDP variant).

gvdhoorn gravatar image gvdhoorn  ( 2016-08-20 03:17:44 -0600 )edit
1

Can I get the video feed from rviz(Simulation of the Robot) [..]

and a bit pedantic maybe (my apologies), but RViz is not a simulator, it's only a visualisation tool. Any 'video feed' you visualise in it must come from another node, so to retrieve it, contact that node.

gvdhoorn gravatar image gvdhoorn  ( 2016-08-20 03:19:01 -0600 )edit

Thank you for the comment. I have used rosbridge_server and made a connection with ROS Master (websocket and tcp). In both cases i am able to connect to ROS master with a url(http://192.168.xx.xx:9090/) but i am not sure how to call a service/node after successful connection.

ghkraju gravatar image ghkraju  ( 2016-08-20 04:19:44 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-08-22 13:17:56 -0600

ghkraju gravatar image

I made a successful connection between windows and Virtualbox Ubuntu using rosserial_server(http://wiki.ros.org/rosserial). This looks pretty good and I hope this suits my requirement. For video feed as suggested by gvdhoorn I will try to subscribe to that node.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2016-08-19 06:20:39 -0600

Seen: 1,178 times

Last updated: Aug 22 '16