ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

using two nodes at a time

asked 2017-01-20 06:20:32 -0500

newbieros gravatar image

updated 2017-01-20 06:35:47 -0500

i have two nodes 1) which receives CAN messages from uc board to ROS (publisher) 2) which transmit CAN messages to uc board (subscribing). I need to run both the nodes in order to to these two tasks. Now I am supposed to do: if receive node receives message, it should transmit a CAN message. How can I combine these two nodes or how can use one node information by other?. any suggestions

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-01-20 08:32:46 -0500

duck-development gravatar image

you could implement the nodes as nodleds understand then nor those in an node, or you define a new topic which is your sync signal. if you receive a can message then you publisch to the sync topic and if the send node receive a sysnc topic then you write your CAN message.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2017-01-20 06:20:32 -0500

Seen: 200 times

Last updated: Jan 20 '17