object_avoidance_robot.py contains:
if DEBUG is True:
distance_sensor.enableDebug()
but running the program with DEBUG set to True gives error:
distance_sensor has no enableDebug() method
ps.
(easysensor.py and easygopigo3.py have a debug() method with the construct:
if False:
I’m guessing debug() is intended only for DI Developers.)