Ask Your Question
0

Echo own messages on remote ROS master

asked 2018-06-08 08:35:53 -0500

Fresh gravatar image

Hi I have a self written message that is published by a ROS node on PC1 and the ROS master is running on PC2. The network connection is working fine and I am able to echoing standard messages form PC1 on PC2. I also see my self written message with rostopic list. But when I trie to echo the message the tool says that the message is not installed. What must I do to install only the message on PC2 and not the complete node?! I tried to copy the msg file to the ros path but it was not working and I also found no instruction?! br Harald

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-06-09 06:01:46 -0500

gvdhoorn gravatar image

What must I do to install only the message on PC2 and not the complete node?!

Distribute your ROS API (ie: msgs, srvs, actions) in a separate package. There is no need for your nodes and your msgs to be kept in the same package.

Please search this site for previous Q&As about this.

Separating your ROS API from your nodes is good practice in any case, and will also solve the issue you are having.

I tried to copy the msg file to the ros path but it was not working [..]

I don't really understand what you're trying to say here.

I also found no instruction?!

What sort of instruction were you expecting to find?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-06-08 08:35:53 -0500

Seen: 76 times

Last updated: Jun 09 '18