-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Nathan Hui edited this page Aug 14, 2024
·
1 revision
Welcome to the radio_collar_tracker_dsp2 wiki!
- Install Ubuntu 24.04
- Install
git
,cmake
,build-essential
,fftw-dev
,libboost-all-dev
,libuhd-dev
,uhd-host
,libairspy-dev
,libhackrf-dev
,python3
,python3-dev
,python3-pip
, andpython3-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
- 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
- Navigate into the
radio_collar_tracker_dsp2
directory
cd radio_collar_tracker_dsp2
- Per Python best practices, create a virtual environment to work in
python3 -m venv .venv
source .venv/bin/activate
- Install this Python package
python -m pip install .
- 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.