ROS to publish/subscribe data wirelessly

asked 2017-07-05 12:24:28 -0500

War1gle_AU gravatar image

Hi, guys.

I'm new to ROS, just finished learning the tutorials. I'm going to do a project, which requires to use ROS to publish/subscribe data from wireless sensors.

Let me briefly describe the architecture. There will be two sensors, communicating with each other with some wireless protocol. Two PCs running ROS will be connected to sensors, so data from sensors can be easily directed to ROS. After dealing with the data, one ROS is required to publish a topic through the sensor, and the other ROS needs to subscribe the topic wirelessly.

Please give me some hints.

Thank you guys in advance.

edit retag flag offensive close merge delete


Hi, can you specify a little bit? So both computer A and B are connected to two separate wireless sensors, and you want the sensor to send messages over ROS? Or do you simply mean to send messages through computer A to B?

MikaelHammar gravatar image MikaelHammar  ( 2017-07-05 15:29:37 -0500 )edit

One ROS will publish topics. The topics have to be sent over sensors, because this is the only communication channel. The other ROS needs to subscribe the topics, which are obtained through the other sensor.

War1gle_AU gravatar image War1gle_AU  ( 2017-07-05 21:03:25 -0500 )edit