@foxglove/ros1
Version:
Standalone TypeScript implementation of the ROS 1 (Robot Operating System) protocol with a pluggable transport layer
40 lines • 2.51 kB
TypeScript
import { HttpServer, XmlRpcValue } from "@foxglove/xmlrpc";
import { LoggerService } from "./LoggerService";
import { RosXmlRpcResponse } from "./XmlRpcTypes";
export declare class RosMaster {
private _server;
private _log?;
private _url?;
private _nodes;
private _services;
private _topics;
private _publications;
private _subscriptions;
private _parameters;
private _paramSubscriptions;
constructor(httpServer: HttpServer, log?: LoggerService);
start(hostname: string, port?: number): Promise<void>;
close(): void;
url(): string | undefined;
registerService: (_methodName: string, args: XmlRpcValue[]) => Promise<RosXmlRpcResponse>;
unregisterService: (_methodName: string, args: XmlRpcValue[]) => Promise<RosXmlRpcResponse>;
registerSubscriber: (_methodName: string, args: XmlRpcValue[]) => Promise<RosXmlRpcResponse>;
unregisterSubscriber: (_methodName: string, args: XmlRpcValue[]) => Promise<RosXmlRpcResponse>;
registerPublisher: (_methodName: string, args: XmlRpcValue[]) => Promise<RosXmlRpcResponse>;
unregisterPublisher: (_methodName: string, args: XmlRpcValue[]) => Promise<RosXmlRpcResponse>;
lookupNode: (_methodName: string, args: XmlRpcValue[]) => Promise<RosXmlRpcResponse>;
getPublishedTopics: (_methodName: string, args: XmlRpcValue[]) => Promise<RosXmlRpcResponse>;
getTopicTypes: (_methodName: string, args: XmlRpcValue[]) => Promise<RosXmlRpcResponse>;
getSystemState: (_methodName: string, args: XmlRpcValue[]) => Promise<RosXmlRpcResponse>;
getUri: (_methodName: string, args: XmlRpcValue[]) => Promise<RosXmlRpcResponse>;
lookupService: (_methodName: string, args: XmlRpcValue[]) => Promise<RosXmlRpcResponse>;
deleteParam: (_methodName: string, args: XmlRpcValue[]) => Promise<RosXmlRpcResponse>;
setParam: (_methodName: string, args: XmlRpcValue[]) => Promise<RosXmlRpcResponse>;
getParam: (_methodName: string, args: XmlRpcValue[]) => Promise<RosXmlRpcResponse>;
searchParam: (_methodName: string, args: XmlRpcValue[]) => Promise<RosXmlRpcResponse>;
subscribeParam: (_methodName: string, args: XmlRpcValue[]) => Promise<RosXmlRpcResponse>;
unsubscribeParam: (_methodName: string, args: XmlRpcValue[]) => Promise<RosXmlRpcResponse>;
hasParam: (_methodName: string, args: XmlRpcValue[]) => Promise<RosXmlRpcResponse>;
getParamNames: (_methodName: string, args: XmlRpcValue[]) => Promise<RosXmlRpcResponse>;
}
//# sourceMappingURL=RosMaster.d.ts.map