Skip to content
Nathan Hui edited this page Aug 14, 2024 · 1 revision

Welcome to the radio_collar_tracker_dsp2 wiki!

Initial Tutorial

  1. Install Ubuntu 24.04
  2. Install git, cmake, build-essential, fftw-dev, libboost-all-dev, libuhd-dev, uhd-host, libairspy-dev, libhackrf-dev, python3, python3-dev, python3-pip, and python3-venv
sudo apt-get update
sudo apt-get install -y fftw-dev libboost-all-dev libuhd-dev uhd-host libairspy-dev libhackrf-dev python3 python3-dev python3-pip python3-venv cmake build-essential git
  1. Clone the radio_collar_tracker_dsp2 repository
git clone https://github.com/UCSD-E4E/radio_collar_tracker_dsp2.git

or, to use ssh authentication into GitHub:

git clone git@github.com:UCSD-E4E/radio_collar_tracker_dsp2.git
  1. Navigate into the radio_collar_tracker_dsp2 directory
cd radio_collar_tracker_dsp2
  1. Per Python best practices, create a virtual environment to work in
python3 -m venv .venv
source .venv/bin/activate
  1. Install this Python package
python -m pip install .
  1. Run one of the example scripts
python examples/fixed_time_ping_record.py

or

python examples/fixed_time_ping_localization.py

To change the SDR used, change ping_finder.sdr_type to one of SDR_TYPE_GENERATOR, SDR_TYPE_USRP, SDR_TYPE_AIRSPY, SDR_TYPE_HACKRF, or SDR_TYPE_FILE as appropriate.

Clone this wiki locally