ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A answers.ros.org

Need help connecting RaspberryPi3b to PC over wifi


#1

Hi, Newbe here and am thrilled I’ve gotten this far:
I have an ESP8266 talking back and forth to my PC using: rosrun serial_python serial_node.py tcp
I want to use my RaspberryPi3B instead of ESP8266, but am stumped on how to do it. The ESP program, using Arduino IDE, includes the lines:

// Set the connection to rosserial socket server
nh.getHardware()->setConnection(server, serverPort);
nh.initNode();

How would I do that to the simple ros:wiki Talker.cpp example so it runs on the pi and the Listener.cpp runs on the PC?
Thanks for any help.


#2

Thanks for your question. However we ask that you please ask questions on http://answers.ros.org following our support guidelines: http://wiki.ros.org/Support

ROS Discourse is for news and general interest discussions. ROS Answers provides a forum which can be filtered by tags to make sure the relevant people can find and/or answer the question, and not overload everyone with hundreds of posts.

If you’d like you can reply with a link to your answers.ros.org question, but in the future please start there.

Also related please don’t double post questions it’s considered bad etiquette. And if you provide more details in your question it will be easier for people to help you get to where you want to go. The support guidelines have suggestions for how to ask good questions.