예제 #1
0
        internal override CallResult Call()
        {
            ROS.Debug()("Called PeerConnDisconnCallback");
            SingleSubscriberPublisher pub = new SingleSubscriberPublisher(subscriberLink);

            logger.LogDebug($"Callback: Name: {pub.SubscriberName} Topic: {pub.Topic}");
            callback(pub);
            return(CallResult.Success);
        }
예제 #2
0
        internal override CallResult Call()
        {
            ROS.Debug()($"[{ThisNode.Name}] Called PeerConnDisconnCallback");
            SingleSubscriberPublisher pub = new SingleSubscriberPublisher(sub_link);

            ROS.Debug()($"[{ThisNode.Name}] Callback: Name: {pub.SubscriberName} Topic: {pub.Topic}");
            callback(pub);
            return(CallResult.Success);
        }