94bfdd11f123d2f39d936d7c73fc35bc9a26e242,Software/Python/easygopigo3.py,,LineFollower,#Any#Any#Any#,1175

Before Change


    
    Use :py:class:`easysensors.LineFollower` instead
    
    if not isinstance(gpg, gopigo3.GoPiGo3):
        raise TypeError("Use a GoPiGo3 object for the gpg parameter.")
    return old_instantiation(gpg.init_line_follower, "line follower", port, gpg, use_mutex)

def Servo(port="SERVO1", gpg=None, use_mutex=False):
    

After Change


    
    Use :py:class:`di_sensors.easy_line_follower.EasyLineFollower` instead
    
    if di_sensors_available is False:
        raise ImportError("di_sensors library not available")

    lf = easy_line_follower.EasyLineFollower(port, use_mutex=use_mutex)
    if lf._sensor_id == 0:
        raise OSError("line follower is not reachable")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: DexterInd/GoPiGo3
Commit Name: 94bfdd11f123d2f39d936d7c73fc35bc9a26e242
Time: 2019-03-08
Author: robert.lucian.chiriac@gmail.com
File Name: Software/Python/easygopigo3.py
Class Name:
Method Name: LineFollower


Project Name: matplotlib/matplotlib
Commit Name: a54c2c7a53e75917d3b21aa52acfc7e8d0250e97
Time: 2018-05-06
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/backends/backend_gtk3agg.py
Class Name:
Method Name:


Project Name: hmmlearn/hmmlearn
Commit Name: 1f60373d28c427a2a05c9ea26231c717772066dc
Time: 2018-10-22
Author: anntzer.lee@gmail.com
File Name: setup.py
Class Name:
Method Name: