|
MIRA
|
This toolbox provides graphical tools to create maps of the environment from sensor data, as well as tools to edit and load these maps.
The mapping process comes down to gathering sensor measurements of the environment's structure while driving around with the robot. This sensor data, combined with the corresponding measurement positions, yields a set of discrete obstacle positions in global coordinates, which can easily be converted to the occupancy grid map representation used.
However, the robot's odometry is inherently erroneous, so that we cannot rely on the measurement positions returned by the odometry. There are two ways implemented to solve this problem:
For further information, please read the page Introduction to the mapping process.
Before you can start to create maps, you'll have to make certain that you meet some prerequisites. The mapping tool Simple Mapper needs to be started in an instance of miracenter that is running a sufficient configuration for mapping.
What does this mean, exactly?
It means that the following data needs to be present when starting the mapping:
mira::robot::Odometry<2>. mira::robot::RangeScan. Where do I get such a configuration?
Please have a look at the SCITOSConfigs package. It provides a configuration file SCITOS-mapping.xml that loads the required SCITOS- and range finder drivers for your robot.
The tool Simple Mapper provides an easy to use interface to create occupancy grid maps from laser range finder measurements and rectified odometry data. Simply load the tool in an appropriate instance of miracenter (see Prerequisites for mapping) by pressing CTRL+D and selecting Simple Mapper.
You should see a window like the one below:
The typical mapping process is as follows:
Using reference points:
Using SLAM:
For further information, please read the page Simple Mapper.
The tool Simple Map Editor provides an easy to use interface to edit maps created with the Simple Mapper tool. Simply load the tool in any instance of miracenter (the Prerequisites for mapping do not apply here) by pressing CTRL+D and selecting Simple Map Editor.
You should see a window like the one below:
The typical map editing process is as follows:
For further information, please read the page Simple Map Editor.
Both Simple Mapper and Simple Map Editor use a file format called MCF, as in map configuration file. When saving the built map with Simple Mapper, seven files are created: The MCF file itself as well as PNG and XML files for the static, nogo and speed map. A folder containing a valid mapping structure should look similar to this:
The MCF file stores the path to the static, nogo and speed map XML files, as well as the descriptive primitives of the nogo and speed areas. The PNG files store the actual map information, while the corresponding XML files describe the map information contained in the PNG files.
For further information, please read the page Map Configuration Files (MCF).
1.8.14