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

Rosserial between two arduinos

asked 2017-08-03 15:10:11 -0600

elemecro gravatar image

Hello. I want to send serial data from one arduino to another based on rosserial. Do i need to run roscore anywhere? Can this work without roscore?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-08-04 10:28:41 -0600

Wolf gravatar image

You need one PC running roscore and two serial_node instances (one For each Arduino) in between. Given that you will BE able to communicate between the Arduinos. Direct Connection without PC running roscore ist Not possible

edit flag offensive delete link more

Comments

Thanks for a reply. The problem is: I want to tap a serial signal from a module. I am sure the serial signal is rosserial based. I am giving this signal as an input to arduino mega. I am also running roscore at this end. But no data is received. Kindly give me suggestion if any

elemecro gravatar image elemecro  ( 2017-08-04 10:47:59 -0600 )edit

I have also doubt about the topic id. This topic id is transmitted serially. How come another arduino find out the name of topic from this topic id. Can you please give me some other way to tap the serial signals?

elemecro gravatar image elemecro  ( 2017-08-04 10:52:41 -0600 )edit

the setup is like this : One arduino is sending the serial signal. Another arduino is receiving the serial signal and this arduino is connected with laptop on which roscore is running. My question is how come receiving side arduino know about the topic name which sender arduino has sent?

elemecro gravatar image elemecro  ( 2017-08-04 14:32:55 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2017-08-03 15:10:11 -0600

Seen: 604 times

Last updated: Aug 04 '17