1. What Is a Sensor?
  2. How To Call Sensors

What Is a Sensor?

A sensor is the mechanism by which the user can get information about the bot and the bot's environment. For example, the behavior programmer might call the get_left_distance() sensor to determine the distance to the nearest object in the left portion of the bot's field of vision.

How To Call Sensors

Called from within the behavior DLL, the sensors link to functions in the FlexBot "black box" DLL. The following sensors are available to the bot programmer: