Part 1: Publishing an Image
-
Create catkin workspaces on both machines.
We will call them pub and sub
-
Create rostopics namely pub and sub
in pub
cd catkin_ws/src catkin_create_pkg pub rospy cd pub/src curl -o pub.py https://github.com/KedarMore/TwiPi-follows-Sparki/blob/master/Pub/
in sub
cd catkin_ws/src catkin_create_pkg sub rospy cd pub/src curl -o sub.py https://github.com/KedarMore/TwiPi-follows-Sparki/blob/master/Sub/
-
Run the .sh files making certain changes
in pub
curl -o init.sh https://github.com/KedarMore/TwiPi-follows-Sparki/blob/master/Pub/ curl -o pub.sh https://github.com/KedarMore/TwiPi-follows-Sparki/blob/master/Pub/ ./init.sh ./pub.sh
in sub
curl -o sub.sh https://github.com/KedarMore/TwiPi-follows-Sparki/blob/master/Sub/ ./sub.sh