Monty.Frameworks.Models.Salience.Telemetry.DetailedSalienceSMTelemetry (ExTbpMonty.Core v0.1.0)

Copy Markdown View Source

A recorder that keeps every step of a salience module's reasoning.

Mirrors tbp/monty/frameworks/models/salience/telemetry.py::DetailedSalienceSMTelemetry: the raw observation and the sensor's pose, the salience map the strategy scored, the segmentation mask and the region it proposed, and the goals.

Monty appends to lists; this holds them newest first, which is how a list is cheapest to grow, and state_dict/1 hands them back in the order they were taken.

Summary

Types

pose()

@type pose() :: %{sm_rotation: [float()], sm_location: [float()]}

t()

@type t() :: %Monty.Frameworks.Models.Salience.Telemetry.DetailedSalienceSMTelemetry{
  attention_regions: [Monty.Cmp.AttentionRegion.t()],
  goals: [[Monty.Cmp.Goal.t()]],
  poses: [pose()],
  raw_observations: [map()],
  salience_maps: [[[float()]]],
  segmentation_maps: [[[number()]]]
}

Functions

new()

@spec new() :: t()