ShaneFlandermeyer / gr-plasma

GNU General Public License v3.0
29 stars 8 forks source link

Post-Install, how to run? #18

Open caden-davis opened 1 week ago

caden-davis commented 1 week ago

Good afternoon, I'm wondering if there is a basic guide to how to run the code once finishing the install process.

mkdir build
cd build
cmake ..
make
sudo make install
sudo ldconfig

All of the above steps have been completed successfully, but there were certainly some bugs encountered along the way. Is there a basic tutorial to get the radar up and running once installation is done? I have a USRP B210 connected to the computer, and I am hoping to run the examples/pulse_doppler.py script. I am also wondering about how exactly to build the calibrator from apps/calibrate_usrp_delay.cc for use.

I have read through your paper and watched your GRCon talk, but would appreciate any additional advice! Thank you for the help.

caden-davis commented 1 week ago

At the current moment, I am hanging on an import error from gnuradio import plasma -- something appears to be off in how the plasma include folder is being found. After updating my Python Path to include gr-plasma/include, I get an attribute error module 'gnuradio.plasma' has no attribute 'usrp_radar'. I ran cmake ., make, and sudo make install from the gr-plasma/include/gnuradio/plasma directory, but this did not fix the issue. I'd appreciate any further help!

MountainLogic commented 1 week ago

I did a quick install my self last week. I found a few dependencies missing. See https://github.com/ShaneFlandermeyer/gr-plasma/issues/16 You will also need of course need gr-radio-dev, usrp’s dev library and perhaps iio in addition to what I mention in the issue report above. try cmake clean or even reinstalling the gr-plasma repo from scratch. Don’t forget to sudo ldconfig as you go.