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

    Class SmartSkillExecutionService

    Service that handles executing smart skill instances

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    communicationChannel: CommunicationChannel

    Methods

    • Get active smart skill observable

      Returns Observable<SmartSkillInstance | undefined>

    • Execute the smart skill instance

      Parameters

      Returns Promise<void>

    • Will be false if 3PE is disengaged, robot is powered off or Freedrive is enabled.

      Returns Observable<boolean>

    • 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>

    • Stop the smart skill instance

      Parameters

      Returns Promise<void>

    • Wait for the active smart skill to stop

      Parameters

      • OptionaltimeoutMs: number

      Returns Promise<void>