cozmo.nav_memory_map

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

Cozmo 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 Cozmo 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 cozmo.world.World.request_nav_memory_map() with a positive frequency so that the data is streamed to the SDK.

Classes

EvtNewNavMemoryMap(**kwargs)

Dispatched when a new memory map is received.

NavMemoryMapGrid(origin_id, root_depth, ...)

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

NavMemoryMapGridNode(depth, size, center, parent)

A node in a NavMemoryMapGrid.

NodeContentTypes()

The content types for a NavMemoryMapGridNode.