Installation of SmartSLAM
- openCV 2.x
- player (recent stable version) only if player wrapper is wanted
- smartSoft only if smartSoft wrapper is wanted
- mrpt (0.7.1) http://mrpt.org/
Get SmartSLAM from http://sourceforge.net/projects/smartslam/:
svn co https://smartslam.svn.sourceforge.net/svnroot/smartslam smartSlam
Build SmartSLAM using Eclipse(CDT)
To build the SmartSLAM application, an eclipse project file is included.
There are three different build targets:
- Simulation wrapper => Uses files from previous runs as data input
- SmartSoft wrapper => Uses the SmartSoft framework and the smartPioneerBaseServer, smartImageSever as data in-/output. The smartSoft wrapper is delivered in the main SVN repository of smartSoft, available via sourceforge!
- Player wrapper => Uses player as data input.
For evaluation purposes we recommend using the simulation wrapper together with an ready to use dataset which is available under (take a look at manual contained in the dataset file!): http://sourceforge.net/projects/smartslam/files/
To use the algorithm on a real robot we recommend using the smartSoft wrapper and the SmartSoft framework!
Import SmartSlam into eclipse:
- Open a recent version of eclipse, containing the CDT plug-in.
- Select "Import" in the "File" menu.
- Select "Existing Project into Workspace"
- Select the "smartslam/trunk/BearingOnlySLAM" directory, that has been previously checked out.
- You should now get "BearingOnlySLAM" as Project to import in the list.
- confirm with "Finish".
If everything worked all right so far, there should be the BearingOnlySLAM project in the Navigator of eclipse.
Now you are ready to build the application. Before hand it might be necessary to select the build configuration depending on the target you want to build:
- Click right on the "BearingOnlySLAM" project in the Navigator, and select "Build Configurations", "Set active" and BUILD_CONFIGURATION.
- Click right on the "BearingOnlySLAM" project in the Navigator, select "Build Project".
If everything worked all right there should new be a directory with an executable matching the build configuration you choose, within the BearingOnlySlam checkout.
configure SmartSLAM using the *BearingOnlySlam.ini files, depending on the wanted target: Special care has to be taken for those values containing an absolute path.
To start the application execute the compiled algorithm with the previously configured ini file as parameter:
An instruction how to run the BearingOnlySlam application in an simulated mode with files based data source, is available together with an complete dataset under: http://sourceforge.net/projects/smartslam/files/