def activate_axes(self, axes):
        '''
        Sets motors to a high current, for when they are moving
        and/or must hold position

        Activating XYZABC axes before both HOMING and MOVING

        axes:
            String containing the axes to set to high current (eg: 'XYZABC')
        '''
        axes = ''.join(set(axes) & set(AXES) - set(DISABLE_AXES))
        active_currents = {
            ax: self._active_current_settings['now'][ax]
            for ax in axes
            if self._active_axes[ax] is False
        }
        if active_currents:
            self._save_current(active_currents, axes_active=True)
def activate_axes ( self , axes ) : axes = '' . join ( set ( axes ) & set ( AXES ) - set ( DISABLE_AXES ) ) active_currents = { ax : self . _active_current_settings [ 'now' ] [ ax ] for ax in axes if self . _active_axes [ ax ] is False } if active_currents : self . _save_current ( active_currents , axes_active = True )
Sets motors to a high current, for when they are moving
        and/or must hold position

        Activating XYZABC axes before both HOMING and MOVING

        axes:
            String containing the axes to set to high current (eg: 'XYZABC')