'Reset all axies to the home position with speed (0-255) and wait until arrival (boolean)
WARNING : Reseting all axies at the same time is unstable. suggest using waitArrival = True option.'

def homeReset(self, speed=None, waitArrival=True):

    if (not waitArrival):
        print 'WARNING    :    Reseting    all    axies    at    the    same    time    is    unstable.    suggest    using    waitArrival    =    True    option.'
    if self.z.active:
        if self.z.homeReset(speed=speed, waitArrival=waitArrival):
            print 'Z    Reset'
    if self.x.active:
        if self.x.homeReset(speed=speed, waitArrival=waitArrival):
            print 'X    Reset'
    if self.y.active:
        if self.y.homeReset(speed=speed, waitArrival=waitArrival):
            print 'Y    Reset'
