nav.StateSampler Class
Namespace: nav
Description
The nav.StateSampler class is an interface for state samplers used in sampling-based path
planners like plannerRRT, plannerRRTStar,
plannerBiRRT, and
plannerPRM. This
representation allows for implementing sampling strategies on top of existing functions like
sampleUniform and sampleGaussian available in the
StateSpace interface.
To create a sample template for generating your own state sampler class, call createPlanningTemplate.
The nav.StateSampler class is a handle class.
Creation
Description
creates a state sampler object using the specified state space object.sampler = nav.StateSampler(StateSpace)
Properties
Methods
Extended Capabilities
Version History
Introduced in R2023b