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
|
Running components inside the IceBox server
Compiling ServicesBecause IceBox services are not used by everyone, their compilation is disabled by default. To turn it on, useccmake utitilty (or the GUI equivalent). Find the option is BUILD_SERVICES , hit Enter to toggle, hit C to configure), then G to generate. Recompile and install.Start Up the InfrastructureMake sure the IceGrid Registry is running and the IceStorm server is NOT (See Quick-Start Guide for instructions).Connect Two ComponentsFirst, copy default configuration files for the SickLaser and LaserMon components.$ cd ~/sys; mkdir tuteicebox; cd tuteicebox $ cp [ORCA-INSTALL]/share/orca/cfg/laser2d.cfg . $ cp [ORCA-INSTALL]/share/orca/cfg/lasermon.cfg . Also, copy the IceBox configuration files for this tutorial, which are included with your Orca distribution. $ cp [ORCA-SRC]/scripts/ice/icebox_laser.cfg . $ cp [ORCA-SRC]/scripts/ice/icestorm.cfg . $ mkdir stormdb
The laser config file needs to be changed to
Laser2d.Config.DriverLib=libHydroLaserScanner2dFake.so Start the IceBox.
$ icebox --Ice.Config=icebox_laser.cfg
lasermon.cfg .
$ lasermon
You should see the scans scroll by on the screen, just as in the Starting Up the Infrastructure tutorial. To stop the IceBox or the component, type What's NextIf everything works, check out more Orca Tutorials. |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)