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

    Class Ros2EventService

    Service for ROS2 communication Uses event based messaging for communication

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    communicationChannel: CommunicationChannel

    Methods

    • Call service to set argumentValues of service type on service name

      Type Parameters

      • T

      Parameters

      • serviceType: ServiceWrapper
      • serviceName: string
      • argumentValues: unknown

      Returns Observable<T>

      Promise with value

    • Get local ROS2 robot namespace

      Returns Promise<string>

      Promise containing local ROS2 robot namespace

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

    • Subscribe to topicPath with given message type using QoS profile

      Type Parameters

      • T

      Parameters

      • messageType: MessageDefinition[]
      • topic: string

      Returns Observable<T>

      Observable to subscribe to

    • Subscribe to frame transformation

      Type Parameters

      • T

      Parameters

      • connectionId: string

        Id for subscription

      • targetFrame: string
      • sourceFrame: string
      • OptionalpublishRate: number

        in milliseconds

      Returns Observable<T>

      Observable to subscribe to