MATLAB File Help: HebiLookup
HebiLookup
  HebiLookup searches the network for modules and forms groups
 
    HebiLookup periodically searches the network for modules. Available
    modules can be combined into groups, which are the basic way to
    send commands and retrieve feedback.
 
    By default, the periodic lookup broadcasts on all local interfaces.
    If your network does not allow broadcasts or you want to only poll
    on certain ip address, you can manually set them, or modify the
    default behavior in the config script.
 
    HebiLookup Methods (configuration):
    setLookupAddresses                - sets the lookup target address [ipv4]
    setLookupFrequency                - sets the lookup request rate [Hz]
    setInitialGroupFeedbackFrequency  - sets the group feedback rate [Hz]
    setInitialGroupCommandLifetime    - sets the command lifetime [s]
    clearModuleList                   - clears device list (including stale)
 
    HebiLookup Methods (group creation):
    newGroupFromNames                 - groups by user defined names
    newGroupFromSerialNumbers         - groups by hardware serial numbers
    newGroupFromFamily                - groups by family and sorts by name
    newGroupFromMacs                  - groups by hardware mac addresses
    newConnectedGroupFromName         - groups by connectivity
    newConnectedGroupFromSerialNumber - groups by connectivity
    newConnectedGroupFromMac          - groups by connectivity
 
    Generally there are two ways to address modules, either by their
    user-configurable name, or by their hardware defined mac address or
    serial number. Some modules (e.g. 'Fieldable' types) have knowledge 
    of their neighbors, which enables grouping based on their connectivity.
 
    Example
       % Show devices on the network
       display(HebiLookup);
 
    Example
       % Create group using names
       family = 'Arm';
       names = {'Base'; 'Shoulder'; 'Elbow'};
       group = HebiLookup.newGroupFromNames(family, names);
 
       % Create group using serial numbers
       serials = {'SA023'; 'SA032'; 'SA025'};
       group = HebiLookup.newGroupFromSerialNumbers(serials);
 
       % Create alphabetically ordered group of all modules
       group = HebiLookup.newGroupFromFamily('*');
 
       % Create group using mac addresses
       macs = {'08:00:7F:9B:67:09'; '08:00:7F:50:BF:45'};
       group = HebiLookup.newGroupFromMacs(macs);
 
       % Create a group of connected modules sorted by connectivity
       group = HebiLookup.newConnectedGroupFromName('Arm', 'Base');
       group = HebiLookup.newConnectedGroupFromSerialNumber('SA023');
       group = HebiLookup.newConnectedGroupFromMac('08:00:7F:9B:67:09');
See also
Class Details
Sealed true
Construct on load false
Method Summary
Static   clearGroups disposes all existing groups 
Static   clearModuleList clears list of available modules 
Static   getLookupAddresses gets the lookup target address [ipv4] 
Static   getLookupFrequency gets the lookup request rate in [Hz] 
Static   newConnectedGroupFromMac groups by connectivity 
Static   newConnectedGroupFromName groups by connectivity 
Static   newConnectedGroupFromSerialNumber groups by connectivity 
Static   newGroupFromFamily groups by family and sorts by name 
Static   newGroupFromMacs groups by hardware mac addresses 
Static   newGroupFromNames groups by user defined names 
Static   newGroupFromSerialNumbers groups by hardware serial numbers 
Static   setInitialGroupCommandLifetime sets the group command lifetime [s] 
Static   setInitialGroupFeedbackFrequency sets the group feedback rate [Hz] 
Static   setLookupAddresses sets the lookup target address [ipv4] 
Static   setLookupFrequency sets the lookup request rate in [Hz]