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

Copy Markdown View Source

Set how far the agent's body is pitched, in degrees.

Mirrors tbp/monty/frameworks/actions/actions.py::SetAgentPitch. The sensors keep their orientation relative to the agent unless something changes it, so this pitches the agent's sensors too — which is why a policy that wants to pitch only the eye asks ...Actions.SetSensorPitch instead.

Summary

Types

t()

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