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

Communication between a PC and a mobile robot via wifi

asked 2019-02-06 05:13:53 -0500

diogosilva0307 gravatar image

Hello community! I have an alphabot2-Ar ( https://www.waveshare.com/wiki/AlphaB... ) and a wifi module ESP8266 to communicate with the PC. How can i send sensor information from the robot to the PC so that i can send the movement commands back to the arduino in the robot from my PC?

edit retag flag offensive close merge delete

Comments

SleepyTurtle gravatar image SleepyTurtle  ( 2019-02-06 06:06:37 -0500 )edit

Thanks, but is it possible to, with only this components control the robot with ROS? Do i have to "Rosify" my robot to pass the \cmd_vel commands and so on?

diogosilva0307 gravatar image diogosilva0307  ( 2019-02-06 10:16:45 -0500 )edit

You can either write a ROS wrapper around a client that deals with the data from the robot or you can try implementing ROS libraries in the Arduino itself: http://wiki.ros.org/rosserial_arduino

SleepyTurtle gravatar image SleepyTurtle  ( 2019-02-06 16:25:33 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-02-07 03:47:12 -0500

ChriMo gravatar image

updated 2019-02-07 03:49:23 -0500

There is a nice sample for using ESP8266 and ros at github. It demonstrates the usage of the cheap ESP WiFi device.

https://github.com/agnunez/espros

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-02-06 05:13:53 -0500

Seen: 1,722 times

Last updated: Feb 07 '19