Monty.Frameworks.Models.MotorPolicies.SurfacePolicyTelemetry (ExTbpMonty.Core v0.1.0)

Copy Markdown View Source

Why a surface policy chose the action it chose.

Mirrors tbp/monty/frameworks/models/motor_policies.py::SurfacePolicyTelemetry: which principal curvature the policy headed along, whether the step was one of its moves to get out of a tight spot, and the curvature vectors it used. A policy that is doing something strange is explained here rather than guessed at from the actions alone.

Summary

Types

pc_heading()

@type pc_heading() :: :min | :max | :no | :jump | nil

t()

@type t() :: %Monty.Frameworks.Models.MotorPolicies.SurfacePolicyTelemetry{
  avoidance_heading: boolean() | nil,
  pc_heading: pc_heading(),
  z_defined_pc: term()
}