.NET SDK Documentation

    Show / Hide Table of Contents

    Class RobotConfiguration

    The robot configuration information

    Inheritance
    Object
    RobotObject
    RobotConfiguration
    Implements
    INotifyPropertyChanged
    IRobotConfiguration
    IRemoteRobotConfiguration
    Inherited Members
    RobotObject.PropertyChanged
    Namespace: Anki.Vector
    Assembly: Anki.Vector.dll
    Syntax
    public class RobotConfiguration : RobotObject, INotifyPropertyChanged, IRobotConfiguration, IRemoteRobotConfiguration

    Properties

    | Improve this Doc View Source

    Certificate

    Gets or sets the certificate.

    public string Certificate { get; set; }
    Property Type
    String
    | Improve this Doc View Source

    Guid

    Gets or sets the unique identifier.

    public string Guid { get; set; }
    Property Type
    String
    | Improve this Doc View Source

    HasRemoteHost

    Gets a value indicating whether this instance has remote host.

    public bool HasRemoteHost { get; }
    Property Type
    Boolean
    | Improve this Doc View Source

    IPAddress

    Gets or sets the IP address of the robot

    public IPAddress IPAddress { get; set; }
    Property Type
    IPAddress
    | Improve this Doc View Source

    RemoteHost

    Gets or sets the remote vector host name and optional port.

    public string RemoteHost { get; set; }
    Property Type
    String
    | Improve this Doc View Source

    RobotName

    Gets or sets the name of the robot. This is in the form "Vector-XXXX"

    public string RobotName { get; set; }
    Property Type
    String
    | Improve this Doc View Source

    SerialNumber

    Gets or sets the robot serial number.

    public string SerialNumber { get; set; }
    Property Type
    String

    Methods

    | Improve this Doc View Source

    AddOrUpdate(RobotConfiguration)

    Adds the specified robot configuration to the configuration file using the default SDK configuration file path.

    The robot configuration is appended if new or updated if already exists

    public static void AddOrUpdate(RobotConfiguration robot)
    Parameters
    Type Name Description
    RobotConfiguration robot

    The robot.

    | Improve this Doc View Source

    AddOrUpdate(String, RobotConfiguration)

    Adds the specified robot configuration to the configuration file using the specified SDK configuration file path.

    The robot configuration is appended if new or updated if already exists

    public static void AddOrUpdate(string sdkConfigFilePath, RobotConfiguration robot)
    Parameters
    Type Name Description
    String sdkConfigFilePath

    The SDK configuration file path.

    RobotConfiguration robot

    The robot configuration.

    | Improve this Doc View Source

    Load()

    Loads the configuration file using the default SDK configuration file path.

    public static IEnumerable<RobotConfiguration> Load()
    Returns
    Type Description
    IEnumerable<RobotConfiguration>

    Robot configurations

    | Improve this Doc View Source

    Load(String)

    Loads the configuration file using the specified SDK configuration file path.

    public static IEnumerable<RobotConfiguration> Load(string sdkConfigFilePath)
    Parameters
    Type Name Description
    String sdkConfigFilePath

    The SDK configuration file path.

    Returns
    Type Description
    IEnumerable<RobotConfiguration>

    Robot configurations

    | Improve this Doc View Source

    LoadDefault()

    Loads the first configuration entry from the default configuration file.

    public static RobotConfiguration LoadDefault()
    Returns
    Type Description
    RobotConfiguration

    Robot configuration

    | Improve this Doc View Source

    Save(IEnumerable<RobotConfiguration>)

    Stores the specified robot configurations using the default SDK configuration file path.

    Any robot configurations not in the list will be removed.

    public static void Save(IEnumerable<RobotConfiguration> robots)
    Parameters
    Type Name Description
    IEnumerable<RobotConfiguration> robots

    The robot configurations.

    | Improve this Doc View Source

    Save(String, IEnumerable<RobotConfiguration>)

    Stores the specified robot configurations using the specified SDK configuration file path.

    Any robot configurations not in the list will be removed.

    public static void Save(string sdkConfigFilePath, IEnumerable<RobotConfiguration> robots)
    Parameters
    Type Name Description
    String sdkConfigFilePath

    The SDK configuration file path.

    IEnumerable<RobotConfiguration> robots

    The robots configurations.

    Implements

    System.ComponentModel.INotifyPropertyChanged
    IRobotConfiguration
    IRemoteRobotConfiguration

    Extension Methods

    Authentication.TryValidate(IRobotConfiguration)
    Authentication.Validate(IRobotConfiguration)
    Authentication.FindRobotAddress(IRobotConfiguration)

    See Also

    IRobotConfiguration
    • Improve this Doc
    • View Source
    Back to top Copyright (c) 2019 by Wayne Venables