How should the Foreign_Relay package be used ? I cant find any documentation
I could not find how the foreign_relay package should be used in ROS .
I want to use it since ,its very light weight compared to multimaster module.
Can someone help with the documentation link ?
Also I had the below question ,
i understand foreign relay can be used for only one topic transfer ,can i have multiple foreign relays running if i want more than one topic to be send to other master .
update 31.10.2018:it is working now ,i am able to send ROS mesages between ros master .USAGE: foreign_relay {adv|sub} FOREIGN_MASTER_URI FOREIGN_TOPIC LOCAL_TOPIC.if i use {adv},the 2nd ROS master gets the message from the first ,but if i run sub(alone) to get the message from master 2 ,it does not work. can you please let me know how the adv and sub works ?? it looks like if i use adv i can publish message to the 2nd ROS master without {sub} in the 2nd master .but if i use sub alone in the 2nd master to get message from 1st master it doesnt work . any leads ?
foreign_relay
is a very old package that has not been maintained for quite some time. It was experimental at the time, so that may explain why there is so little documentation.I got the source code from git clone https://github.com/willowgarage/multi... , but i am not able to find the header files and related classes to use them,Even the link https://kforge.ros.org/appmanandroid/... seems to be not working . Any leads to get info?
Which header files are you referring to? The
foreign_relay
package inwillowgarage/multimaster_experimental
seems to contain all required files.sorry my bad, it is working now ,i am able to send ROS mesages between ros master .USAGE: foreign_relay {adv|sub} FOREIGN_MASTER_URI FOREIGN_TOPIC LOCAL_TOPIC.if i use {adv},the 2nd ROS master gets the message from the first ,but if i run sub(alone) to get the message from master 2 ,it does not work
can you please let me know how the adv and sub works ?? it looks like if i use adv i can publish message to the 2nd ROS master without {sub} in the 2nd master .but if i use sub alone in the 2nd master to get message from 1st master it doesnt work . any leads ?
Please add all of this to your original question text. Comments do not provide enough space.
Use the
edit
button/link at the bottom (next to theComments
heading).But also: I'm not an expert on
foreign_relay
. I'm not sure I can help you.