def move_car(self, direction):
        """
        Move car by declaring the direction where to go
        :param direction: |Enum| CAR_DIRECTION - directions
        """
        if direction is CAR_DIRECTION.FWD:
            self.BP.set_motor_power(self.BP.PORT_A + self.BP.PORT_D, self.speed)

        elif direction is CAR_DIRECTION.REVERSE:
            self.BP.set_motor_power(self.BP.PORT_A + self.BP.PORT_D, -self.speed)

        elif direction is CAR_DIRECTION.STOP:
            self.BP.set_motor_power(self.BP.PORT_A + self.BP.PORT_D, 0)

        elif direction is CAR_DIRECTION.RIGHT:
            self.BP.set_motor_power(self.BP.PORT_A, -self.speed / 1.5)
            self.BP.set_motor_power(self.BP.PORT_D, self.speed)

        elif direction is CAR_DIRECTION.LEFT:
            self.BP.set_motor_power(self.BP.PORT_A, self.speed)
            self.BP.set_motor_power(self.BP.PORT_D, -self.speed / 1.5)

        Move car by declaring the direction where to go
        :param direction: |Enum| CAR_DIRECTION - directions
        
apps/driving_pi/car_pi.py