@foxglove/ros1
Version:
Standalone TypeScript implementation of the ROS 1 (Robot Operating System) protocol with a pluggable transport layer
35 lines • 1.44 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.RosFollowerClient = void 0;
const RosXmlRpcClient_1 = require("./RosXmlRpcClient");
class RosFollowerClient extends RosXmlRpcClient_1.RosXmlRpcClient {
async getBusStats(callerId) {
return await this._methodCall("getBusStats", [callerId]);
}
async getBusInfo(callerId) {
return await this._methodCall("getBusInfo", [callerId]);
}
async shutdown(callerId, msg = "") {
return await this._methodCall("shutdown", [callerId, msg]);
}
async getPid(callerId) {
return await this._methodCall("getPid", [callerId]);
}
async getSubscriptions(callerId) {
return await this._methodCall("getSubscriptions", [callerId]);
}
async getPublications(callerId) {
return await this._methodCall("getPublications", [callerId]);
}
async paramUpdate(callerId, parameterKey, parameterValue) {
return await this._methodCall("paramUpdate", [callerId, parameterKey, parameterValue]);
}
async publisherUpdate(callerId, topic, publishers) {
return await this._methodCall("publisherUpdate", [callerId, topic, publishers]);
}
async requestTopic(callerId, topic, protocols) {
return await this._methodCall("requestTopic", [callerId, topic, protocols]);
}
}
exports.RosFollowerClient = RosFollowerClient;
//# sourceMappingURL=RosFollowerClient.js.map