Create a default object of type mobileRobotPropagator, a subclass of nav.StatePropagator.
Load a ternary map matrix from the exampleMaps file, and use the map matrix to create an occupancyMap object. Create the state propagator using the map. By default, the state propagator uses a bicycle kinematic model.
load("exampleMaps","ternaryMap")
map = occupancyMap(ternaryMap,10);
propagator = mobileRobotPropagator(Environment=map); % Bicycle model
Use the mobile robot state propagator object to create a default navPathControl object.
Verify that the copy is a deep copy by checking that the StatePropagator handle properties point to distinct objects in memory. A result of logical 0 confirms they do not share the same underlying data.