MATLAB File Help: HebiUtils.loadRobotConfig
HebiUtils.loadRobotConfig
  loadRobotConfig loads a robot configuration from a yaml file
 
    Example:
      % Load a robot configuration file
      configFile = 'A-2085-06G.yaml';
      config = HebiUtils.loadRobotConfig(configFile);
      group = HebiLookup.newGroupFromNames(config.families, config.names);
      kin = HebiKinematics(config.hrdf);
      userData = config.userData;
      
      % Initialize the default gains
      defaultGains = HebiUtils.loadGains(config.gains.default);
      HebiUtils.sendWithRetry(group, 'gains', defaultGains);
      
      % Create the arm wrapper
      arm = HebiArm(group, kin);
      arm.plugins = HebiArmPlugin.createFromConfigMap(config.plugins);
See also
Method Details
Access public
Sealed false
Static true