Main Content

Mapping

2-D and 3-D occupancy maps, egocentric maps, raycasting

Occupancy maps are used to represent obstacles in an environment and define limits of your world. You can build maps and update obstacle locations from sensor readings using raycasting. Sync with existing maps and move local frames to create egocentric maps that follow your vehicle. Maps support binary and probabilistic values for 2-D maps and a probabilistic representation for 3-D maps.

Use these maps along with Motion Planning to plan paths in a map, or use Localization and Pose Estimation algorithms to estimate your vehicle pose in an environment.

Objects

binaryOccupancyMapCreate occupancy grid with binary values
occupancyMapCreate 2-D occupancy map
occupancyMap3D Create 3-D occupancy map
occupancyMap3DCollisionOptionsCollision-checking options between 3-D occupancy map and collision geometries
mapLayerCreate map layer for N-dimensional data
multiLayerMapManage multiple map layers

Functions

buildMapBuild occupancy map from lidar scans
checkMapCollisionCheck for collision between 3-D occupancy map and geometry
checkOccupancyCheck if locations are free or occupied
exportOccupancyMap3DImport an octree file as 3D occupancy map
getOccupancyGet occupancy probability of locations
getMapDataRetrieve data from map layer
importOccupancyMap3DImport an octree file as 3D occupancy map
inflateInflate each occupied location
insertRayInsert ray from laser scan observation
insertPointCloudInsert 3-D points or point cloud observation into map
mapClutterGenerate map with randomly scattered obstacles
mapMazeGenerate random 2-D maze map
moveMove map in world frame
occupancyMatrixConvert occupancy map to matrix
raycastCompute cell indices along a ray
rayIntersectionFind intersection points of rays and occupied map cells
setOccupancySet occupancy probability of locations
setMapDataAssign data to map layer
syncWithSync map with overlapping map
updateOccupancyUpdate occupancy probability at locations

Topics