jlrandulfe / AI_sokoban

MIT License
0 stars 0 forks source link

header file sensor values #10

Closed shschi closed 6 years ago

shschi commented 6 years ago

have to be included: #include "read_sensors.h"

calls the function from the header file "read_sensors.h" //Call of the sensorWB function which has 3 inputs: //sensor input raw, the sensor threshold, sensor bool to change what the //sensor see sensorsWB(sensor_raw.middle, sensor_thresholds.middle, sensor_bool.middle); sensorsWB(sensor_raw.right, sensor_thresholds.right, sensor_bool.right); sensorsWB(sensor_raw.left, sensor_thresholds.left, sensor_bool.left);