UNPKG

@foxglove/ros1

Version:

Standalone TypeScript implementation of the ROS 1 (Robot Operating System) protocol with a pluggable transport layer

17 lines 612 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PublisherLink = void 0; // Handles a connection to a single publisher on a given topic. class PublisherLink { constructor(connectionId, subscription, rosFollowerClient, connection) { this.connectionId = connectionId; this.subscription = subscription; this.rosFollowerClient = rosFollowerClient; this.connection = connection; } publisherXmlRpcUrl() { return this.rosFollowerClient.url(); } } exports.PublisherLink = PublisherLink; //# sourceMappingURL=PublisherLink.js.map