[Rock-dev] LAN communication and WebService

Steffen Planthaber Steffen.Planthaber at dfki.de
Wed May 14 18:29:24 CEST 2014


Hi Eduardo,

 > First I need to stablish a communication
 > between two computers running Rock on a LAN

Rock components are capable of using corba to communicate, thus they can 
run on different machines in a network.

All you need is a naming service, Rock can use the corba naming service 
on a "master" machine:
http://rock-robotics.org/master/documentation/runtime/setup.html

Or use avahi as naming service:
http://www.rock-robotics.org/master/documentation/advanced_tutorials/700_nameservice.html


 > second I want to implement
 > a remote interaction between a Rock component and a Android application,
 > my first approach would be via WebService.

Alex already told you about our plans. In case you don't want to wait, 
there is a "not so nice" but working solution using ruby 
websocket-eventmachine-server on the rock side and html5 websockets in a 
browser.

But all the marshalling and parsing has to be defined manually in ruby 
and Javascript. The usability depends on the task you want to solve.
I can provide you some more information in case this is an option


Another Idea (untested and not well invertigated) is to use the rock-ros 
bridge 
(http://www.rock-robotics.org/master/documentation/ros/index.html) and 
ROS for android (http://wiki.ros.org/android).

But i have no idea whether ROS for android is compatible to the normal 
ROS used by the bridge.


Best, Steffen





Am 14.05.2014 17:46, schrieb Eduardo Elael:
> Hi,
>
> I've actually two questions. First I need to stablish a communication
> between two computers running Rock on a LAN, second I want to implement
> a remote interaction between a Rock component and a Android application,
> my first approach would be via WebService.
>
> I've searched Rock libraries and components that implement these
> features, but I wasn't able to find any.
>
> Before developing my own component, I would like to know if there is a
> "standard" way of doing.
>
> Thanks in advance,
> Eduardo Elael
>
> Coppetec/LEAD
>
>
> _______________________________________________
> Rock-dev mailing list
> Rock-dev at dfki.de
> http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
>


-- 
  Steffen Planthaber
  Weltraumrobotik

  Besuchsadresse der Nebengeschäftstelle:
  DFKI GmbH
  Robotics Innovation Center
  Robert-Hooke-Straße 5
  28359 Bremen, Germany

  Postadresse der Hauptgeschäftsstelle Standort Bremen:
  DFKI GmbH
  Robotics Innovation Center
  Robert-Hooke-Straße 1
  28359 Bremen, Germany

  Tel.:     +49 421 178 45-4125
  Zentrale: +49 421 178 45-0
  Fax:      +49 421 178 45-4150 (Faxe bitte namentlich kennzeichnen)
  E-Mail:   Steffen.Planthaber at dfki.de

  Weitere Informationen: http://www.dfki.de/robotik
  -----------------------------------------------------------------------
  Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
  Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
  Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
  (Vorsitzender) Dr. Walter Olthoff
  Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
  Amtsgericht Kaiserslautern, HRB 2313
  Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
  USt-Id.Nr.:    DE 148646973
  Steuernummer:  19/673/0060/3
  -----------------------------------------------------------------------



More information about the Rock-dev mailing list