Monty.Frameworks.Actions.SetYaw (ExTbpMonty.Core v0.1.0)

Copy Markdown View Source

Set the agent body's yaw, in degrees.

Mirrors tbp/monty/frameworks/actions/actions.py::SetYaw. Unlike ...Actions.TurnLeft and ...Actions.TurnRight this names the heading rather than the change, so it cannot drift: asking twice for the same heading leaves the agent where it was.

Summary

Types

t()

@type t() :: %Monty.Frameworks.Actions.SetYaw{
  agent_id: atom() | String.t(),
  rotation_degrees: float()
}