def __init__(self,io):						#Initialisation
      
	Sensors.__init__(self, io )
        self.X_difference = 0.0						#Reading difference of light sensors in X-axis
	self.Y_difference = 0.0						#Reading difference of light sensors in X-axis
	self.current_reading_of_light_sensors = [0.0, 0.0, 0.0, 0.0]	#Variable for collecting current readings of Light sensors
        self.X_diff_normalised = 0.0
	self.Y_diff_normalised = 0.0
    def __init__(self,io):
      
	Sensors.__init__(self, io )
        #self.IO = io
        self.BR = (0,0)
        self.BL = (0,0)
        self.button_1_pressed = False
        self.button_2_pressed = False
        self.button_3_pressed = False
    def __init__(self, io):

        Sensors.__init__(self, io)

        # Collision to the left IR
        self.LeftIRcollision = (0, 0)

        # Collision to the right IR
        self.RightIRcollision = (0, 0)

        # Collision to the Sonar
        self.SonarCollison = (0, 0)

        # Thresholds of its sensor
        self.left_IR_limit = 414  # 15 #480
        self.right_IR_limit = 414
        self.sonar_limit = 22  # 22
        self.turn = 1