local2world

Convert local coordinates to world coordinates

Description

xyWorld = local2world(map,xy) converts an array of local coordinates to world coordinates.

Input Arguments

collapse all

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.

Data Types: double

Output Arguments

collapse all

World coordinates, specified as an n-by-2 matrix of [x y] pairs, where n is the number of world coordinates.

Data Types: double

See Also

| | | (Navigation Toolbox)

Introduced in R2019b