Since the new ROS release, Indigo Igloo, does not include installation instructions for Gentoo Linux yet, I have used the instructions to build from source on Ubuntu to create a tutorial for installing the newest ROS release on my favorite Linux distribution.
This is a quick tutorial on how to tether the BeagleBone Black (and other Linux devices) to a Linux computer for Internet connectivity. By default, the BeagleBone Black will take
192.168.7.2 as its IP address when connected to a computer via USB. We need to assign
192.168.7.1 to the USB Ethernet device (
enp0s25 in this tutorial) and route all outbound packets to this device from the BeagleBone Black to the Internet via the wireless device (
root (or using
sudo) on the computer,
# ifconfig enp0s25 192.168.7.1 # sysctl net.ipv4.ip_forward=1 # iptables --table nat --append POSTROUTING --out-interface wlp3s0 -j MASQUERADE # iptables --append FORWARD --in-interface enp0s25 -j ACCEPT
root on the BeagleBone Black,
# route add default gw 192.168.7.1 # echo "nameserver 18.104.22.168" >> /etc/resolv.conf
This tutorial can also be adapted for tethering other Linux devices to an Internet-connected Linux device, but IP addresses and device names may be different.
With the release of ROS Indigo Igloo, I have released my personal ROS stack with catkin packages for Arduino, AR.Drone, Khepera III, OptiTrack, and Vicon. These packages were developed for use in the GRITSLab.
You can find the source code in this repository.