Object_avoidance_robot: distance_sensor.enableDebug()?

object_avoidance_robot.py contains:

 if DEBUG is True:

but running the program with DEBUG set to True gives error:

distance_sensor has no enableDebug() method

(easysensor.py and easygopigo3.py have a debug() method with the construct:

if False:

I’m guessing debug() is intended only for DI Developers.)

Hi @cyclicalobsessive,

That’s interesting. I’ll check that and fix it if it’s needed.

Thank you!