[openrtm-users 01422] Re: Regarding connecting OpenRTM components in windows on computer with 2 interfaces

Geoffrey Biggs geoffrey.biggs @ aist.go.jp
2010年 9月 28日 (火) 12:51:55 JST


On 28/09/10 12:30, Tony Kuo wrote:
> Hi Geoff:
> Thank you for your answer!!
> It's very useful!
> 
> The first or second option is probably what i will go for.
> 
> I was testing my components, and actually just found out that,
> if you put a copy of rtc.conf in the same directory as the component to run,
> the component will use that configuration in the conf file to initiailise.

Yes, they will. When a manager starts (starting a component in
stand-alone mode starts a manager just for that component
automatically), it looks through a chain of places for a configuration file:

1) The file specified on the command line using the -c option.
2) An rtc.conf file in the current working directory.
3) etc/ under the install prefix.
4) /etc

> My components could connect to the nameserver
> if I specify the right nameserver IP in the conf (via corba.nameservers)
> Do they work in the same way as corba.endpoints?

The endpoints setting is for other objects to connect to the component's
ORB in order to make remote procedure calls. It is only needed when the
ORB cannot figure out for itself which interfaces/addresses to bind to.
It does not tell the component which name server to connect to.

Geoff



openrtm-users メーリングリストの案内