|
computeIdealReadings(worldPath,
xMin,
xMax,
y,
numStates,
numObs)
Returns:
list of numStates values, each of which is between 0 and
numObs-1 , which lists the ideal discretized sonar
reading that the robot would receive if it were at the midpoint of
each of the x bins. |
|
|
|
idealSonarReading(robotPose,
sensorPose,
world)
Returns:
length of ideal sonar reading; if the distance is longer than
sonarDist.sonarMax or there is no hit at all, then
sonarDist.sonarMax is returned. |
|
|
|
discreteSonar(d,
numBins)
Returns:
number of the bin into which this sonar reading should fall; any
reading greater than or equal to c{sonarDist.sonarMax} is put into
bin numBins - 1 . |
|
|
|
discreteSonarValue(d,
numBins)
Returns:
number of the bin into which this sonar reading should fall; any
reading greater than or equal to c{sonarDist.sonarMax} is put into
bin numBins - 1 . |
|
|