avoid_wall()
#
DescriptionA looped method that makes the drone fly forward until it reaches a desired distance based on the front range sensor. The range of front sensor is from 0cm-100cm
#
Syntaxavoid_wall()
avoid_wall(timeout)
avoid_wall(distance)
avoid_wall(timeout, distance)
#
Parameterstimeout: timeout is an optional paramaeter that is the duration in seconds that the function will run. the default value is 2
distance: distance is an optional parameter that is the distance in centimeters the drone will stop at in front of an object. the default value is 70
#
ReturnsNone