Bench-MR
A Motion Planning Benchmark for Wheeled Mobile Robots
Public Attributes | List of all members
PlannerSettings::GlobalSettings::EnvironmentSettings::GridSettings::ImageSettings Struct Reference

Settings for image generator. More...

#include <PlannerSettings.h>

Inheritance diagram for PlannerSettings::GlobalSettings::EnvironmentSettings::GridSettings::ImageSettings:
Inheritance graph
[legend]
Collaboration diagram for PlannerSettings::GlobalSettings::EnvironmentSettings::GridSettings::ImageSettings:
Collaboration graph
[legend]

Public Attributes

Property< std::string > source
 Path of image file to convert to grid map. More...
 
Property< double > occupancy_threshold {0.5, "occupancy_threshold", this}
 Threshold to set a pixel to occupied based of greyscale value in image. More...
 
Property< int > desired_width {0, "desired_width", this}
 Desired width of the grid environment as number of cells after converting image to grid. More...
 
Property< int > desired_height {0, "desired_height", this}
 Desired height of the grid environment as number of cells after converting image to grid. More...
 

Detailed Description

Settings for image generator.

Member Data Documentation

◆ desired_height

Property<int> PlannerSettings::GlobalSettings::EnvironmentSettings::GridSettings::ImageSettings::desired_height {0, "desired_height", this}

Desired height of the grid environment as number of cells after converting image to grid.

See GridMaze::createFromImage for more details.

◆ desired_width

Property<int> PlannerSettings::GlobalSettings::EnvironmentSettings::GridSettings::ImageSettings::desired_width {0, "desired_width", this}

Desired width of the grid environment as number of cells after converting image to grid.

See GridMaze::createFromImage for more details.

◆ occupancy_threshold

Property<double> PlannerSettings::GlobalSettings::EnvironmentSettings::GridSettings::ImageSettings::occupancy_threshold {0.5, "occupancy_threshold", this}

Threshold to set a pixel to occupied based of greyscale value in image.

All pixels with \(p_{ij}\leq t\) will be set to occupied, where \(t\in[0,1]\). That is, the higher \(t\) the more obstacles are in the map.

◆ source

Property<std::string> PlannerSettings::GlobalSettings::EnvironmentSettings::GridSettings::ImageSettings::source
Initial value:
{"image_mazes/intel-lab.png", "source",
this}

Path of image file to convert to grid map.


The documentation for this struct was generated from the following file: