MATLAB 도움말 센터
Import octree or binary tree file as 3-D occupancy map
map3D = importOccupancyMap3D(mapPath)
map3D = importOccupancyMap3D(mapPath) imports the octree file (.ot) or binary tree file (.bt) specified at the relative or absolute file path, mapPath
map3D
mapPath
.ot
.bt
example
collapse all
Import a 3-D occupancy map.
map3D = importOccupancyMap3D("citymap.ot")
map3D = occupancyMap3D with properties: ProbabilitySaturation: [1.0000e-03 0.9990] Resolution: 1 OccupiedThreshold: 0.6500 FreeThreshold: 0.2000
Display the map.
show(map3D)
Check the occupancy statuses of different locations and get their occupancy values.
iOccVal1 = checkOccupancy(map3D,[50 15 0])
iOccVal1 = 0
OccVal1 = getOccupancy(map3D,[50 15 0])
OccVal1 = 0.0019
iOccVal2 = checkOccupancy(map3D,[50 15 15])
iOccVal2 = 1
OccVal2 = getOccupancy(map3D,[50 15 15])
OccVal2 = 0.6500
iOccVal3 = checkOccupancy(map3D,[50 15 45])
iOccVal3 = -1
OccVal3 = getOccupancy(map3D,[50 15 45])
OccVal3 = 0.5000
Absolute or relative path to octree file (.ot) or binary tree file (.bt) , specified as a string scalar or character vector.
Example: "path/to/file/map.ot"
"path/to/file/map.ot"
Data Types: char | string
char
string
occupancyMap3D
3-D occupancy map, specified as a occupancyMap3D object.
Introduced in R2020a
lidarSLAM
occupancyMap
insertPointCloud
inflate
setOccupancy
show
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
유럽
아시아 태평양
지역별 지사에 문의