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

Connection between ROS running on PC and mobile robot by TCP

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

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 http://wiki.ros.org/ROS/TCPROS but i couldn't find anything helpful. I would be very grateful for any response.

edit retag flag offensive close merge delete

Comments

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: http://wiki.ros.org/ROS/Tutorials/Mul...

suforeman gravatar image suforeman  ( 2016-12-18 19:57:52 -0600 )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 -0600 )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 -0600 )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 -0600 )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 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

gvdhoorn gravatar image

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

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

2 followers

Stats

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

Seen: 4,983 times

Last updated: Dec 18 '16