anki_vector.nav_map

A 2D navigation memory map of the world around Vector.

Vector builds a memory map of the navigable world around him as he drives around. This is mostly based on where objects are seen (the cubes, charger, and any custom objects), and also includes where Vector detects cliffs/drops, and visible edges (e.g. sudden changes in color).

This differs from a standard occupancy map in that it doesn’t deal with probabilities of occupancy, but instead encodes what type of content is there.

To use the map you must first call anki_vector.nav_map.NavMapComponent.init_nav_map_feed() with a positive frequency so that the data is streamed to the SDK.

Classes

EvtNavMapUpdate(nav_map)

Dispatched when a new nav map is received.

NavMapComponent(robot)

Represents Vector's navigation memory map.

NavMapGrid(msg, logger)

A navigation memory map, stored as a quad-tree.

NavMapGridNode(depth, size, center, parent, ...)

A node in a NavMapGrid.

NavNodeContentTypes(value[, names, module, ...])

The content types for a NavMapGridNode.