Exwayz SLAM, Map cleaner and Ground classification works with a profile mechanism, making it easier to add and select configurations depending on the environment of the dataset.

<aside> πŸ’‘

In the following, we will only talk about SLAM profile but the mechanism is generic for the other executables, only the prefix in the name of the YAML file needs to be adapted.

</aside>

General mechanism

In the Structure of the package, a cfg directory contains multiple configuration files

Untitled

The SLAM profiles will be automatically detected as files with .yaml extension and starting with slam_ : at start, exwayz_slam lists all available profiles in this directory and uses the one input by the user, specifying the profile name.

<aside> πŸ’‘ The profile name must be edited in the file itself, and is identified by the special key β€œprofile_name” For instance, the name of the profile slam_00_wide.yaml is β€œwide” because it is the value of the key β€œprofile_name” in the YAML file

Untitled

</aside>

Adding a new profile

For adding a new profile, you can simply copy-paste one of the pre-defined profile and modifying the profile_name.

Using a new profile

Let’s assume you’ve created a new profile and you have put it in the cfg directory of you Exwayz 3D Mapping install directory.

__profile_name__: my_profile

You can use it by simply specifying the profile name in exwayz_slam.exe commandline option:

exwayz_slam **-p** my_profile <other_cli_options>

Using a configuration file

You can also use a configuration file located anywhere on your computer, as long as it contain the YAML key odometry with structure and values (see SLAM parameters). You just have to specify the path to configuration file in

exwayz_slam **-p** <path/to/configuration/file.yaml> <other_cli_options>