Object_avoidance_robot: distance_sensor.enableDebug()?

pending

#1

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


#2

Hi @cyclicalobsessive,

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

Thank you!