Ok, after hours I found by myself the way...
--Configure OmiORB4 ---
On a LAN network is necessary to configure the machine.
server1 (DNS server)
On /etc/omniORB4.cfg of every machine search the "Client Configuration"
section and put the line:
InitRef = NameService=corbaname::server1
Now, on server, do:
/etc/init.d/omniorb4-nameserver start (o restart)
the IOR of nameserver is possible to found in
is very long but for the example we say:
Now is possible to create a component1.xml which look like:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE properties SYSTEM "cpf.dtd">
<struct name="Component1" type="TaskContext">
<simple name="Server" type="boolean"><value>1</value></simple>
and launch it with:
cdeployer-gnulinux -s component1.xml --\
this command create a Component1.ior with the identification of this
trough this file is possible to use the component and connect with
others trough an orocos script
as explained on section 2.6 of "The Deployment Component" manual.
I hope that I didn't write bullshits :)
On Thu, 2011-05-05 at 12:00 +0200, Fabrizio Boriero wrote:
> Hi all,
> I'm trying to understand how to use omniORB to use the .ops scripts...
> I have a server (also DNS), called "caronte", where I lunched
> "/etc/init.d/omniorb4-nameserver start"
> On a client, I made a file like:
> loadComponent("IOR:.....", "IOR")
> following some documentation but:
> 1.What I need to put into .ior file?
> 2.Where I can find this IOR?
> 3.what's the correct command line? (deployer-corba-gnulinux -s