State validator based on 2-D grid map
The validatorOccupancyMap
object validates states and discretized
motions based on the value in a 2-D occupancy map. An occupied map location is interpreted as
an invalid state.
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.
copy | Create deep copy of state validator object |
isStateValid | Check if state is valid |
isMotionValid | Check if path between states is valid |