Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GR_Swig_make unknown command #44

Open
anthfuller opened this issue Sep 25, 2022 · 19 comments
Open

GR_Swig_make unknown command #44

anthfuller opened this issue Sep 25, 2022 · 19 comments

Comments

@anthfuller
Copy link

anthfuller commented Sep 25, 2022

I guess gr-radio_astro isn't made for Ubuntu 22.04? Is there a work around to the gr_swig_make unknown command?

CMake Error at swig/CMakeLists.txt:37 (include):
include could not find requested file:

GrSwig

CMake Error at swig/CMakeLists.txt:51 (GR_SWIG_MAKE):
Unknown CMake command "GR_SWIG_MAKE".

@fventuri
Copy link
Collaborator

fventuri commented Sep 26, 2022

@anthfuller - that error is probably because the default branch of gr-radio_astro (main) is still based on GNU Radio 3.7 (or 3.8) that used SWIG for the Python bindings.
Newer versions of GNU Radio (3.9 and 3.10) use pybind11.

You can build the gr-radio_astro OOT module for one of these recent versions of GNU Radio by just switching to the gr310 branch after cloning this repository, i.e.:

git clone https://github.com/WVURAIL/gr-radio_astro.git
cd gr-radio_astro
git checkout gr310
mkdir build
cd build
cmake ..
make
sudo make install
sudo ldconfig

Hope this helps,
Franco

@anthfuller
Copy link
Author

Hi Franco!
I'll give it a try tomorrow and let you know.
Thank you!

@glangsto
Copy link
Collaborator

glangsto commented Sep 26, 2022 via email

@fventuri
Copy link
Collaborator

@glangsto - I agree with you that the default branch should be compatible with gr310, since now Ubuntu LTS comes with GNU Radio 3.10.
Perhaps we could rename the current main branch to say gr37 (or something like that), and gr310 branch tom main (and make that one the default branch in GitHub).

I can definitely help with that.

Franco

@anthfuller
Copy link
Author

anthfuller commented Sep 27, 2022

Gentlemen I am up and running, thank you so much!! I'm modifying the Spectrometer_w_cal to use the KrakenSDR five channel RTL-SDR receiver. I'm only testing with two channels and an internal noise source for the moment.

@anthfuller
Copy link
Author

I'm also currently working on a radio astronomy interferometer using two, 3-meter dishes. Hopefully I can obtain one or two more 3-meter satellite dishes, which aren't easy to come by now. Either you're ordering over seas with astronomical shipping cost or you're building your own. :-D

@fventuri
Copy link
Collaborator

.@anthfuller - I am glad you got it to work.
Let us know how it goes with the interferometer; are you going to write/publish your experiments and results somewhere?

Franco

@anthfuller
Copy link
Author

Hi Franco!

I'm hoping to get the system up and running within 30 days! The project has been long overdue. If all goes well, I'll publish all results at the Society of Amateur Radio Astronomers (SARA).

@anthfuller
Copy link
Author

anthfuller commented Sep 27, 2022

There are several issues to work out. One, I'm using a linear power source for the H1 receivers due to the equipment shed being to close to the satellite dishes. I'll also most likely line the inside of the equipment shed with Titan RF to create a faraday cage. I'm looking to motorize both dishes, but most EL/AZ rotors won't fit my pole mounts without some type of modifications (welding). So, I may have to work with actuators, one horizontal, the other altered for vertical. Not the best, but for now, until I can figure that part out or use maybe a slew drive, don't know.

RAS_Observatory

@anthfuller
Copy link
Author

20220116_163812

KrakenSDR_FiveChannels

@fventuri
Copy link
Collaborator

@anthfuller - Thanks for the nice pictures Anthony! You have a very impressive setup there!
I am looking forward to read your results on SARA, and let me know if you need any help with the Python code.

Franco

@glangsto
Copy link
Collaborator

glangsto commented Sep 27, 2022 via email

@anthfuller
Copy link
Author

@anthfuller - Thanks for the nice pictures Anthony! You have a very impressive setup there! I am looking forward to read your results on SARA, and let me know if you need any help with the Python code.

Franco

Thank you, Franco! I definitely may require help. At the moment, I'm working on getting the Nsf-gr-radio_astro example interfaces setup, for after the data has been pulled. Particularly temperature in Kelvin and the velocity (km/sec).
https://github.com/WVURAIL/gr-radio_astro/wiki/Nsf-gr-radio_astro

gr-astro_radio

@glangsto
Copy link
Collaborator

glangsto commented Oct 3, 2022 via email

@anthfuller
Copy link
Author

anthfuller commented Oct 4, 2022 via email

@glangsto
Copy link
Collaborator

glangsto commented Oct 4, 2022 via email

@glangsto
Copy link
Collaborator

glangsto commented Oct 4, 2022 via email

@anthfuller
Copy link
Author

anthfuller commented Oct 4, 2022 via email

@anthfuller
Copy link
Author

anthfuller commented Oct 4, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants