Hardware Setup
Cyclops requires a drive to store maps and recordings, a camera, and a connection to the flight controller. We will walk through each of those and ensure they are properly setup.
Below are three scripts to help you setup each part of the system. The scripts you need to run depend on your hardware configuration. You may not need to run them all, and/or might have extra steps to set cyclops up with your particular system.
Scripts
Download the above scripts onto the device. Confirm the downloads with ls Downloads
pi@pi5:~$ ls Downloads/
setup-storage-mount.sh setup-usb-camera.shVerify your recording drive
You need a drive, but feel free to set it up however you like. Below are some instructions on how we recommend setting up a drive.
This tutorial on mounting a drive on linux will work with a PCIE NVME drive or a USB SSD. OR you can run the above script to setup a USB SSD drive.
You may pick any name for the drive. I am using a Samsung T9 SSD, so I call it /t9
Verify that the drive is mounted with:

Verify your USB Camera
Make sure you have the usb camera script on the edge device.
Note on pi video devices
The Pi comes with many video devices pre-configured. Your video device will likely be at /dev/video0 or /dev/video1 . The 19-37 video devices are not your camera
Setup UART Serial
Your device needs to communicate with the flight controller using a serial connection. There are many ways to set this up. You can find docs on the manufacturer's website for your specific hardware setup.
In the case of the nanopi, you can use a serial hat. In the case of the raspi 5, you can look at their provided docs on configuring this.
Once you've set up the serial connection, verify you have the serial connections:
Recap
We have now set up all of our hardware.
Your addresses may vary, but we have:
Great job!
Last updated
