Struct base_cache::params

Nested Relationships

This struct is a nested type of Class base_cache.

Struct Documentation

struct params
Param dimension:

The size of the cache. Does not have to be a multiple of the arena resolution, but doing so makes it easier.

Param resolution:

The arena resolution.

Param center:

(X,Y) coordinates of the center of the cache.

Param blocks:

The initial block list for the cache.

Param id:

The ID to assign to the cache; -1 for a new cache, which will generate a new ID, or any positive # to use the same ID as an existing cache (used when cloning a cache into a robot’s perception).

Public Members

const cds::block3D_vectorno &&blocks
rmath::vector2d center
rspatial::euclidean_dist dimension
rtypes::type_uuid id
rtypes::discretize_ratio resolution