Debug Coord Transform

Debug tool: Transform coordinates between agent-relative and world-relative

bdambrosio f381463 3 files · 5.0 KB Updated

File contents

debug-coord-transform

Debug tool for testing coordinate transformations. Converts between agent-relative and world-relative coordinates.

Input

  • dx: float - X coordinate
  • dy: float - Y coordinate (unchanged, always vertical)
  • dz: float - Z coordinate
  • yaw: float - Agent yaw in degrees (default: from current status)
  • direction: string - "agent-to-world" or "world-to-agent" (default: "agent-to-world")

Output

Returns uniform return format with:

  • value: Summary text
  • data: Dict with:
    • input: {dx, dy, dz, yaw, direction}
    • output: {dx, dy, dz} (transformed coordinates)

Notes

  • Hidden from planner catalog (debug/testing only)
  • Useful for validating coordinate transformations
  • Accessible via direct {"type": "debug-coord-transform"} invocation

bdambrosio/cognitive_workbench/tree/main/src/world-tools/minecraft/debug-coord-transform commit f381463832

Frequently asked questions

npx skillmds@latest add bdambrosio/debug-coord-transform