Eurobot: Sensor Filtering Algorithm
This week we wrote an algorithm for our ultrasonic sensors to remove some noise from the sensor. This is important because the sensors aren’t always quite accurate, so we must filter the values. In the algorithm, we have a variable “a” to adjust the graph. If we make “a” smaller … Weiterlesen …