validatorOccupancyMap
State validator based on 2-D grid map
Description
The validatorOccupancyMap
object validates states and discretized
motions based on the value in a 2-D occupancy map. If the state location in the map is
occupied or unknown, validatorOccupancyMap
considers the state invalid. Only free space
is considered valid.
Creation
Syntax
Description
creates
a 2-D occupancy map validator associated with an SE2 state space with default
settings.validator
= validatorOccupancyMap
creates a validator in the given state space definition derived from validator
= validatorOccupancyMap(stateSpace
)nav.StateSpace
.
specifies the validator
= validatorOccupancyMap(stateSpace
,Name,Value
)Map
or XYIndices
properties
using Name,Value
pair arguments.
Properties
Object Functions
copy | Create deep copy of state validator object |
isStateValid | Check if state is valid |
isMotionValid | Check if path between states is valid |
Examples
Extended Capabilities
Version History
Introduced in R2019b