Convert local coordinates to world coordinates
xyWorld = local2world(map,xy)
xyWorld = local2world(map,xy) converts an array of local coordinates to world coordinates.
xyWorld
map
xy
collapse all
binaryOccupancyMap
Map representation, specified as a binaryOccupancyMap object. This object represents the environment of the vehicle.
Local coordinates, specified as an n-by-2 matrix of [x y] pairs, where n is the number of local coordinates.
[x y]
Data Types: double
double
World coordinates, specified as an n-by-2 matrix of [x y] pairs, where n is the number of world coordinates.
binaryOccupancyMap | grid2world | world2local | occupancyMap (Navigation Toolbox)
grid2world
world2local
occupancyMap