SOFTWARE:
- Plug BeagleBone into computer via miniUSB cable. It has a g_ether gadget that you should be able to ping at 192.168.7.2. It should DHCP-assign your computer an IP of 192.168.7.1, but usually fails to do so, in which case just set it statically.
ssh debian@192.168.7.2Password istemppwd.- You will need internet. Plug ethernet into network and edit
/etc/network/interfacesto enable: auto eth0 iface eth0 inet dhcp cd ~git clone https://github.com/shield-ai/rtlizer.gitsudo apt-get install socat build-essential cmake libusb-1.0-0-devgit clone git://git.osmocom.org/rtl-sdr.gitmkdir -p rtl-sdr/buildcd rtl-sdr/buildcmake -DDETACH_KERNEL_DRIVER=on -DINSTALL_UDEV_RULES=on ..makesudo make installsudo ldconfigcd ~/rtlizer/servermakeln -s rtlizer/start.sh start.shsudo nano /etc/rc.local- before the
exit 0, add/home/debian/start.sh &
- before the
- Now set ethernet to static to talk to skywalker. Edit
/etc/network/interfaces: auto eth0 iface eth0 inet static address 192.168.0.10 netmask 255.255.255.0
On the quad:
cd /etc/systemd/network- edit lidar.network and set IP that talks to the beaglebone (where the LIAR is normally) to be 192.168.0.4
sudo apt install socat
On the ground station:
sudo apt install socat libgtk-3-devcd ~git clone https://github.com/shield-ai/rtlizer.gitcd rtlizer/clientmake
HARDWARE:
- Physically install BeagleBone on Skywalker quadrotor
- Provide 5V to barrel jack, or miniUSB port if necessary
- Connect the ethernet cable that would go to a LIDAR
- Plug NanoSDR into USB port, MCX-SMA adapter into NanoSDR, and antenna into SMA adapter
On the beaglebone, do nothing, this should start automatically.
Note: see ~/rtlizer/start.sh. If you set fake_data to true, it will
send random numbers, and if false, it will send a spectrum analysis.
On skywalker, do nothing, the skywalker script will run socat UDP4-RECV:5555 TCP4-LISTEN:8888.
On the ground station, find the robot's IP.
Run fake_ground_station <IP> or real_ground_station <IP>, respective of the value of fake_data on the beaglebone.