mapscale
[Drivers]

Collaboration diagram for mapscale:

The mapscale driver reads a occupancy grid map from another map device and scales it to produce a new map with a different resolution. The scaling is accomplished with the gdk_pixbuf_scale_simple() function, using the GDK_INTERP_HYPER algorithm.

Compile-time dependencies

Provides

Requires

Configuration requests

Configuration file options

Example
driver
(
  name "mapfile"
  provides ["map:0"]
  filename "mymap.pgm"
  resolution 0.1  # 10cm per pixel
)
driver
(
  name "mapscale"
  requires ["map:0"]  # read from map:0
  provides ["map:1"]  # output scaled map on map:1
  resolution 0.5 # scale to 50cm per pixel
)

Author:
Brian Gerkey


Last updated 12 September 2005 21:38:45