wiki:fc

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(). You may expect them to always be non-negative. (So a pitch of 273 is actually 87 degrees up from the horizontal.)

Reports:

  • done when the task completes.
  • popped if popped by po.
  • forgotten if deleted by fa or fm.
  • replaced if replaced by a command scheduled with 'r'.

Example:

  • User sends: "n fc 512"
  • Bot replies "rs fc 512 135.000000 15.000000 0.000000"
  • Bot replies "cp fc 512 done"
Last modified 13 years ago Last modified on Jun 21, 2011 1:52:34 PM