ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

how to realise this function?

asked 2012-06-03 23:27:03 -0500

malong gravatar image

updated 2014-01-28 17:12:33 -0500

ngrennan gravatar image

two nodes(TO and TS) conmunication by service and topic,how to realise this :

   TO                     TS
      --------requst----->         #this is a service ,TO as client,TS as server

      <-------requst------         #another service,TS as client,TO as server

      -------topic-------->       # TO as publisher,TS as subscriber

here,two nodes communicate during a time,they run in order, I have no idea to edit

edit retag flag offensive close merge delete



...I don't understand which part of this is your question.

Mac gravatar image Mac  ( 2012-06-04 14:49:59 -0500 )edit

nodes communicate in different.for example,when this service run over,the node judge if will run the next service.

malong gravatar image malong  ( 2012-06-04 14:57:37 -0500 )edit

3 Answers

Sort by ยป oldest newest most voted

answered 2012-06-03 23:39:14 -0500

dornhege gravatar image

updated 2012-06-04 04:01:49 -0500

Please read the beginner tutorials on

edit flag offensive delete link more

answered 2012-06-04 15:02:10 -0500

malong gravatar image

as we see, beginner tutorials just give us a simple example,or it doesn't tell us any methods to realise this function.

edit flag offensive delete link more


They describe exactly the things you are asking for. Of course, if you want the functionality in one node, you have to put it in the same file. If you want something more specific, you need to state that clearer.

dornhege gravatar image dornhege  ( 2012-06-04 23:00:38 -0500 )edit

answered 2012-06-04 03:20:02 -0500

malong gravatar image

updated 2012-06-04 03:20:49 -0500

i have read that web site,but i don't find what I want ?could you give me a link?

edit flag offensive delete link more



I included the link in my answer.

dornhege gravatar image dornhege  ( 2012-06-04 04:02:33 -0500 )edit

Your Answer

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

Add Answer

Question Tools


Asked: 2012-06-03 23:27:03 -0500

Seen: 285 times

Last updated: Jun 04 '12