WalkerTurn

Turns walker to the right or left

Syntax: WalkerTurn(w,step=TURN_RIGHT)

  • w walker to be turned step type of turn to proceed

Returns: This function always returns 0.

Notes: The step parameter may be one of these:

  • TURN_RIGHT turns walker to the right

  • TURN_LEFT turns walker to the left

Example:

  • WalkerTurn(walk)turns walk to the right

  • WalkerTurn(walk),TURN LEFT)turns walk to the left

See also: WalkerMove

Last updated

Was this helpful?