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

    Class RobotInfoService

    Provides access to information on the robot

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    communicationChannel: CommunicationChannel

    Methods

    • Get the robot type

      Returns Promise<string>

    • Get the robot serial number

      Returns Promise<string>

    • Checks if the robot is in 3 PE stop state.

      Returns Observable<boolean>

      • An observable that emits true if the robot is in 3 PE stop state, otherwise false.
    • Determines whether the robot is currently in Normal state.

      Returns Observable<boolean>

      An observable that emits true if the robot is in normal mode (robot.safetyMode === NORMAL), otherwise false.

    • Determines whether the robot is currently in Normal state.

      Returns Observable<boolean>

      An observable that emits true if the robot is in normal mode (robot.safetyMode === NORMAL), otherwise false.

    • Determines whether the robot is currently running.

      Returns Observable<boolean>

      An observable that emits true if the robot is running (robotMode === RUNNING), otherwise false.

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