Publishing IMU data from a rasberrypi to laptop

asked 2018-08-16 11:34:33 -0600

hehonglu123 gravatar image

Hi, I was trying to figure out a way for the PI to publish data remotely to a laptop at real-time. Right now I can publish and record IMU data on PI itself. I have same catkin workspace on both PI and my Ubuntu laptop, and I've tried export ROS_MASTER_URI=<laptop ip=""> export ROS_IP=<laptop ip="" on="" laptop,="" pi="" ip="" on="" pi=""> on both laptop terminal and PI terminal. And when I tried launch, that didn't work out because Error: could not contact master [http://<laptop ip="">] I'm using ROS cpp, and I wonder do I need to modify the launch file on my ubuntu laptop to launch the file in PI? If so, how could I accomplish that?

edit retag flag offensive close merge delete

Comments

Yes, you would have to set up ROS_MASTER on one of the computers. There is a small step by step for that in the link.

Reamees gravatar imageReamees ( 2018-08-17 02:49:10 -0600 )edit