Main Content
stateSamplerUniform
Description
The stateSamplerUniform
object generates uniformly distributed state
samples using the sampleUniform
object function of the state space
object. Path planners like plannerRRT
, plannerRRTStar
, and
plannerBiRRT
use
stateSamplerUniform
object as the default sampler.
Creation
Description
creates a
state sampler associated with a sampler
= stateSamplerUniformstateSpaceSE2
object with default settings.
creates a state sampler associated with the specified state space object. The sampler
supports all state space objects derived using the sampler
= stateSamplerUniform(stateSpace
)nav.StateSpace
class.
Properties
Object Functions
Examples
Version History
Introduced in R2023b