wiki:fc

Version 1 (modified by jpawlick, 13 years ago) (diff)

--

This query asks the agent to tell you its current facing.

Parameters:

  • Takes no parameters.

Responds:

  • X Y Z where X, Y, and Z are the view angles of the bot (X is yaw, Y is pitch, Z is roll). These are double-precision floating point numbers formatted by %ld of sprintf().

Reports:

  • done when the task completes.
  • popped if popped by po.
  • forgotten if deleted by fa.

Example:

  • User sends: "n fc 512"
  • Bot replies "rs fc 512 135.000000 15.000000 0.000000"
  • Bot replies "cp fc 512 done"