This namespace includes magic constants used in various places in OMPL. More...
Variables | |
static const double | MAX_MOTION_LENGTH_AS_SPACE_EXTENT_FRACTION = 0.2 |
For planners: if default values are to be used for the maximum length of motions, this constant defines what fraction of the space extent (computed with ompl::base::SpaceInformation::getMaximumExtent()) is to be used as the maximum length of a motion. | |
static const double | PROJECTION_DIMENSION_SPLITS = 20.0 |
When the cell sizes for a projection are automatically computed, this value defines the number of parts into which each dimension is split. | |
static const unsigned int | PROJECTION_EXTENTS_SAMPLES = 100 |
When no cell sizes are specified for a projection, they are inferred like so: 1. approximate extent of projected space by taking a number of samples (the constant below) 2. compute the cell sizes by dividing the extent by PROJECTION_DIMENSION_SPLITS. | |
static const double | STD_DEV_AS_SPACE_EXTENT_FRACTION = 0.1 |
When standard deviation is needed for Gaussian sampling in the state space, by default the value of the standard deviation is computed as a fraction of the extent of the space. | |
static const unsigned int | VALID_SAMPLE_ATTEMPTS = 100 |
When multiple attempts are needed to generate valid samples, this value defines the default number of attempts. |
This namespace includes magic constants used in various places in OMPL.
We strive to minimize the use of constants in the code, but at places, this is necessary. These constants typically do not have to be changed, but we chose to expose their functionality for the more curious user. The constants in this namespace include values typically used in the computation of default settings.
const double ompl::magic::MAX_MOTION_LENGTH_AS_SPACE_EXTENT_FRACTION = 0.2 [static] |
For planners: if default values are to be used for the maximum length of motions, this constant defines what fraction of the space extent (computed with ompl::base::SpaceInformation::getMaximumExtent()) is to be used as the maximum length of a motion.
Definition at line 71 of file MagicConstants.h.
const double ompl::magic::PROJECTION_DIMENSION_SPLITS = 20.0 [static] |
When the cell sizes for a projection are automatically computed, this value defines the number of parts into which each dimension is split.
Definition at line 57 of file MagicConstants.h.
const unsigned int ompl::magic::PROJECTION_EXTENTS_SAMPLES = 100 [static] |
When no cell sizes are specified for a projection, they are inferred like so: 1. approximate extent of projected space by taking a number of samples (the constant below) 2. compute the cell sizes by dividing the extent by PROJECTION_DIMENSION_SPLITS.
Definition at line 63 of file MagicConstants.h.
const double ompl::magic::STD_DEV_AS_SPACE_EXTENT_FRACTION = 0.1 [static] |
When standard deviation is needed for Gaussian sampling in the state space, by default the value of the standard deviation is computed as a fraction of the extent of the space.
Definition at line 77 of file MagicConstants.h.
const unsigned int ompl::magic::VALID_SAMPLE_ATTEMPTS = 100 [static] |
When multiple attempts are needed to generate valid samples, this value defines the default number of attempts.
Definition at line 83 of file MagicConstants.h.