Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision |
buzz_kh4 [2018/03/21 00:12] – [Sensors] root | buzz_kh4 [2019/03/31 19:39] – [Sensors] ilpincy |
---|
| |
* **Light sensors** | * **Light sensors** |
* The Khepera IV proximity sensor is a set of 8 infrared emitter/receiver pairs distributed regularly in a ring around the robot. The sensors are numbered 0 to 7. Sensor 0 looks straight ahead, and the numbers increase counterclockwise when looking at the robot from above. | * The Khepera IV light sensor is a set of 8 infrared emitter/receiver pairs distributed regularly in a ring around the robot. The sensors are numbered 0 to 7. Sensor 0 looks straight ahead, and the numbers increase counterclockwise when looking at the robot from above. |
* ''light'' is the Buzz table that contains the light readings. Each element of this table (e.g., ''light[0]'', ''light[1]'', ...) is in turn a table that contains two elements: | * ''light'' is the Buzz table that contains the light readings. Each element of this table (e.g., ''light[0]'', ''light[1]'', ...) is in turn a table that contains two elements: |
* ''angle'', which corresponds to the angle (expressed in radians) at which the sensor is located on the body of the robot | * ''angle'', which corresponds to the angle (expressed in radians) at which the sensor is located on the body of the robot |
* ''value'', which is the actual distance of the detected obstacle in cm. Each individual sensor is saturated by objects closer than 25 cm; the maximum range of the sensor is 200 cm. | * ''value'', which is the actual distance of the detected obstacle in cm. Each individual sensor is saturated by objects closer than 25 cm; the maximum range of the sensor is 200 cm. |
* To activate this sensor in ARGoS, use the ''kheperaiv_ultrasound'' sensor. | * To activate this sensor in ARGoS, use the ''kheperaiv_ultrasound'' sensor. |
| |
| * **LIDAR sensor** |
| * The Khepera IV LIDAR sensor returns 682 readings in a 270 degrees arc (if not configured to return less readings in the ''.argos'' file). |
| * ''lidar'' is the Buzz table that contains the LIDAR readings. Each element of this table (e.g., ''lidar[0]'', ''lidar[1]'', ...) is the distance of the object detected by a specific laser beam. |
| * To activate this sensor in ARGoS, use the ''kheperaiv_lidar'' sensor. |
| |
* **Battery sensor** | * **Battery sensor** |