orca-robotics INTRODUCTION Overview Download and Install Quick Start Documentation Publications REPOSITORY Interfaces Components Libraries Utilities Software Map DEVELOPER Tutorials Examples Dev Guide Dashboard Wiki login/pass: orca/orca PEOPLE Contributors Users Project Download Mailing lists
|
Connecting components without the Registry
![]() The client will connect to the server using so called direct connection method. This is equivalent to reaching a web server without the Domain Name Service (by using an IP address instead of a URL). You may want to do this if you do not want to use the IceGrid Registry for some reason. Start Up the InfrastructureStart the IceStorm server but make sure that the IceGrid Registry is NOT running (See Quick-Start Guide for instructions).Modify the global configuration file ~/.orcarc to disable adapter registration (we comment out the line corresponding to the Locator info). # Standard Ice Configuration for Orca #Ice.Default.Locator=IceGrid/Locator:default -p 12000 Connect Two ComponentsFirst, copy default configuration files for the Laser2d and LaserMon components.$ mkdir -p ~/sys/tutedirect; cd ~/sys/tutedirect $ cp [ORCA-INSTALL]/share/orca/cfg/laser2d.cfg . $ cp [ORCA-INSTALL]/share/orca/cfg/lasermon.cfg .
laser2d.cfg file:
The config file should now contain the following lines: Laser2d.Endpoints=tcp -t 5000 -p 15000 ... Laser2d.Config.DriverLib=libHydroLaserScanner2dFake.so ... Orca.RequireRegistry=0 Start the server.
$ laser2d
lasermon.cfg file should contain these lines: LaserMon.Requires.LaserScanner2d.Proxy=laserscanner2d:tcp -p 15000 ... Orca.RequireRegistry=0
$ lasermon You should see the scans scroll by on the screen, just as in the Quick-Start Guide tutorial. What's NextIf everything works, check out more Orca Tutorials. |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)