On Apr 6, 2007, at 4:04 AM, Vaibhav Ghadiok wrote:
> name "mapfile"
> provides ["map:0"]
> resolution 0.05
> filename "simple.pgm"
> name "amcl"
> provides ["localize:0"]
> requires ["odometry:::position2d:0" "laser:0" "laser:::map:0"]
> 2. Player dosn't seem to care whatever file I give it using the
> mapfile driver in the .cfg file. I misspelled the file name and it
> didn't generate any error message saying that ot has not found this
That's because you haven't subscribed to the mapfile driver and so it
has not attempted to load the bitmap file. If you were to use, for
example, playernav, it would subscribe to map:0 and get an error.
> It doesn't display this either. It only displays the environment
> bitmap given in the world file.
Stage is displaying the bitmap as specified in the .world file.
Think of that map as the "real world." You can supply the same or a
different map in the .cfg file for use in localization (and planning,
and whatever else). You can also get the map directly from stage, if
> 3. Lastly, should the environment bitmap and the map given through
> te mapfile driver be the same for implementing amcl.
In general, yes.
> 4. When I comment the anvironment bitmap in the world file, the bot
> just goes on and does not detect any obstacles and rightly so as
> nomap is displayed.