How should the Foreign_Relay package be used ? I cant find any documentation

asked 2018-10-30 11:32:24 -0500

jithinreju@gmail.com gravatar image

updated 2018-10-31 07:57:03 -0500

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 ?

edit retag flag offensive close merge delete

Comments

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.

gvdhoorn gravatar image gvdhoorn  ( 2018-10-30 15:47:40 -0500 )edit

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?

jithinreju@gmail.com gravatar image jithinreju@gmail.com  ( 2018-10-30 16:15:14 -0500 )edit

Which header files are you referring to? The foreign_relay package in willowgarage/multimaster_experimental seems to contain all required files.

gvdhoorn gravatar image gvdhoorn  ( 2018-10-30 16:27:20 -0500 )edit

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

jithinreju@gmail.com gravatar image jithinreju@gmail.com  ( 2018-10-31 06:35:40 -0500 )edit

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 ?

jithinreju@gmail.com gravatar image jithinreju@gmail.com  ( 2018-10-31 06:38:27 -0500 )edit

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 the Comments heading).

gvdhoorn gravatar image gvdhoorn  ( 2018-10-31 07:52:14 -0500 )edit

But also: I'm not an expert on foreign_relay. I'm not sure I can help you.

gvdhoorn gravatar image gvdhoorn  ( 2018-10-31 07:52:51 -0500 )edit