## void MAP_Pos (PositionType temp, int dist, float offset_, int *x, int *y)

> Obtains the array index for a particular grid cell

## Documentation

> Obtains the array index for a particular grid cell. Given a particular robot position, returns the cell that represents the robot position.

Parameters:
  temp - Current position of the robot
  dist - Distance received from the PSD sensor
  offset_ - The angle offset (Depends on which PSD used)
  x - The array index
  y - The array index
Author:
  Nicholas Tay, CIIPS 1998
See Also:
  MAP_Locate MAP_Location

alphabetic index hierarchy of classes

this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de