Universal Robots TypeScript API - v10.12.0
    Preparing search index...

    Service for interacting with modules

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    communicationChannel: CommunicationChannel

    Methods

    • Create a new module declaration

      Parameters

      • name: string

        Actual name of the module. Might be changed by the service to avoid name clashes

      Returns Promise<ModuleDeclaration>

      Promise resolving to the created module declaration

    • Get a module description from its reference

      Parameters

      Returns Promise<CommonSymbolDescription | undefined>

      Promise resolving to the module description or undefined if not found

    • returns a reply promise to the specified message

      Type Parameters

      • T

      Parameters

      • type: string

        The type of message being sent

      • Optionaldata: any

        The message data

      Returns Promise<T>

    • returns an observable that will emit any messages replied to the specified message

      Type Parameters

      • T

      Parameters

      • type: string

        The type of message being sent

      • Optionaldata: any

        The message data

      Returns Observable<T>

    • returns a reply promise for the requested message

      Type Parameters

      • T

      Parameters

      • type: string

        The type of message being sent

      • Optionaldata: any

        The message data

      Returns Promise<T>

    • returns an observable that will emit any messages replied to the requested message

      Type Parameters

      • T

      Parameters

      • type: string

        The type of message being sent

      • Optionaldata: any

        The message data

      Returns Observable<T>