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

Connection between ROS running on PC and mobile robot by TCP

asked 2016-12-18 16:34:45 -0500

Cayero gravatar image

Hi, I'm new with ROS. I have a robot (Pololu 3pi) with WLAN module. I would like to communicate with that robot wirelessly through TCP or WiFi (to remote control). I was looking some information on this site but i couldn't find anything helpful. I would be very grateful for any response.

edit retag flag offensive close merge delete


Depending on you needs, you may only need to establish the correct RosNetwork settings - specifically, setting ROS_MASTER_URI to be the same on your machine and robot and only launching one roscore. Check out this tutorial:

suforeman gravatar image suforeman  ( 2016-12-18 19:57:52 -0500 )edit

But how to set ROS_MASTER_URI on my robot (pololu 3pi)?? It has only Atmega328 controller.

Cayero gravatar image Cayero  ( 2016-12-19 15:06:55 -0500 )edit

applologies to the original post. I didn't look at your specific robot and was thinking you were already runninngvROS on it.

suforeman gravatar image suforeman  ( 2016-12-19 15:38:22 -0500 )edit

@gvdhoorn using rosserial, should I use arduino platform? In this way it would look like this: Arduino connected through wire with PC then Arduino connected with WLAN module through WiFi. Is that possible?

Cayero gravatar image Cayero  ( 2016-12-19 15:55:03 -0500 )edit

I'm not sure what you're trying to do exactly. rosserial is typically used to bridge an Arduino into a ROS node graph. The connection can be serial, serial over usb or a (wireless) network. I'm not sure why you'd want both a wired and a wireless connection.

gvdhoorn gravatar image gvdhoorn  ( 2016-12-20 05:13:20 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2016-12-19 15:23:15 -0500

gvdhoorn gravatar image

updated 2016-12-19 15:23:34 -0500

You could probably make use of rosserial. You don't want / need to run a full-blown ROS on such restricted hardware.

edit flag offensive delete link more

Question Tools



Asked: 2016-12-18 16:34:45 -0500

Seen: 4,960 times

Last updated: Dec 18 '16