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

Copy Markdown View Source

Put the agent at an absolute place, facing an absolute way.

Mirrors tbp/monty/frameworks/actions/actions.py::SetAgentPose. This is the action a goal-reaching policy ends with: everything else is a nudge, and this is the one that says "be exactly here".

The rotation is a wxyz quaternion, which is Monty's order for poses and therefore this port's, as Monty.Geometry.Rotation stores it.

Summary

Types

t()

@type t() :: %Monty.Frameworks.Actions.SetAgentPose{
  agent_id: atom() | String.t(),
  location: [float()],
  rotation_quat: {float(), float(), float(), float()}
}