Dear Sirs,
I need to build an Orocos system
with modules spread on multiple machines.
I am using Toolchain 2.3.1 with omniorb .
I am trying to use orogen to develop components.
I developed two deployments one on host A and one on host B.
On host A in my .bashrc file I inserted the following configuration line
export ORBInitRef="NameService=corbaname::192.168.2.12"
where 192.168.2.12 is the IP address of host A.
I tried to write a roby script to load and run the network of components following the instruction I found on
http://www.rock-robotics.org/runtime/setup.html
The roby file is the following
require 'orocos'
include Orocos
Orocos::CORBA.name_service = "192.168.2.12"
Orocos.initialize
Orocos.run do 'RViever'
viewer = TaskContext.get 'v1'
behaviorActivation = TaskContext.get 'behDefArm1'
behaviorActivation.ActivatedBehaviour.connect_to viewer.ActivatedBehaviour
viewer.start
end
When I try to run it on Host B I get the following error:
ruby rviewer.rb
IOR:010000001f00000049444c3a5254542f636f7262612f435461736b436f6e746578743a312e300000010000000000000064000000010102000d0000003139322e3136382e322e31310000bfa30e000000fe130fac4d00000a87000000000000000200000000000000080000000100000000545441010000001c00000001000000010001000100000001000105090101000100000009010100
/usr/src/rock/tools/orocos.rb/lib/orocos/task_context.rb:309:in `do_get': task context 'v1' does not exist (Orocos::NotFound)
from /usr/src/rock/tools/orocos.rb/lib/orocos/task_context.rb:309:in `get'
from /usr/src/rock/tools/orocos.rb/lib/orocos/corba.rb:99:in `refine_exceptions'
from /usr/src/rock/tools/orocos.rb/lib/orocos/task_context.rb:308:in `get'
from rviewer.rb:10
from /usr/src/rock/tools/orocos.rb/lib/orocos/process.rb:225:in `spawn'
from /usr/src/rock/tools/orocos.rb/lib/orocos/process.rb:520:in `guard'
from /usr/src/rock/tools/orocos.rb/lib/orocos/process.rb:224:in `spawn'
from /usr/src/rock/tools/orocos.rb/lib/orocos/process.rb:33:in `run'
from rviewer.rb:8
I am not able to select the remote name server.
How can I change the ruby file to point to the remote name server?
Is it possible on host B to set ORBInitRef
whit the instruction
export ORBInitRef="NameService=corbaname::192.168.2.12"
so that Hosta A becomes the nameServer for my network?
Have I missed other configuration steps?
Thank you in advance for your support.
G. Rizzi
connecting modules on different hosts using orogen and ruby scri
From your other questions on the ML, I gather that you deploy the
components using the orocos deployer, is that right ?
Which component runs on which machine ?
Once you have started the components, can you do
$ orops 192.168.2.12
If everything is fine, it should list both the v1 and behDefArm1
components with a STOPPED state
--
Sylvain Joyeux (Dr.Ing.)
Space & Security Robotics
!!! Achtung, neue Telefonnummer!!!
Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany
Phone: +49 (0)421 178-454136
Fax: +49 (0)421 218-454150
E-Mail: robotik [..] ...
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
-----------------------------------------------------------------------
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users