Convert world coordinates to local coordinates
xyLocal = world2local(map,xy)
xyLocal = world2local(map,xy) converts an array of world coordinates to local coordinates.
xyLocal
map
xy
collapse all
occupancyMap
Map representation, specified as a occupancyMap object.
World coordinates, specified as an n-by-2 vertical array of [x y] pairs, where n is the number of world coordinates.
[x y]
Local coordinates, specified as an n-by-2 vertical array of [x y] pairs, where n is the number of local coordinates.
binaryOccupancyMap | grid2world | local2world | occupancyMap
binaryOccupancyMap
grid2world
local2world