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);
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);