Re: [Discuss-gnuradio] Two instances of the same custom block walk into a bar

2019-05-09 Thread Ben Hilburn
The topic of "what kinds of questions go on gnuradio-discuss" has come up a couple of times over the last few weeks, and we've had a lot of fresh subscriptions over the same period (I get all the subscribe / unsub notices), so I'll take this opportunity to quickly answer the question. What Marcus a

Re: [Discuss-gnuradio] Planet Frequency and Tracking Integration with GNURadio

2019-05-09 Thread Michael Piscopo
It was definitely part of the fundamentals I wanted to finish up before getting out there next week. A long-term goal is being able to point an antenna at lunar or Mars sources (obviously Lunar being a little more achievable from a "back yard" antenna). Skytrack now gives me the ability to contro

Re: [Discuss-gnuradio] Two instances of the same custom block walk into a bar

2019-05-09 Thread Marcus D. Leech
On 05/09/2019 04:18 PM, Albin Stigö wrote: I absolutely agree with you. There are also other completely unrelated issues that keep coming up like Linux, python and x11. But I don't think there's any great harm in ending a topic by ever-so-gently pointing people in the right direction. Oh, indee

Re: [Discuss-gnuradio] Two instances of the same custom block walk into a bar

2019-05-09 Thread Albin Stigö
I absolutely agree with you. There are also other completely unrelated issues that keep coming up like Linux, python and x11. But I don't think there's any great harm in ending a topic by ever-so-gently pointing people in the right direction. On Thu, May 9, 2019, 22:05 Marcus D. Leech wrote: > O

Re: [Discuss-gnuradio] Planet Frequency and Tracking Integration with GNURadio

2019-05-09 Thread Ben Hilburn
Hey Mike - Whoa, this is cool - thanks so much for sharing it! It sounds like you wrote it principally to facilitate something of a soft hand-off between two receivers positioned around an occlusion, but do you have thoughts on the utility of expanding it past receiver diversity? Thinking through

Re: [Discuss-gnuradio] Two instances of the same custom block walk into a bar

2019-05-09 Thread Marcus D. Leech
On 05/09/2019 02:54 PM, Albin Stigö wrote: Every instance of a block is an instance of the c++ class but like Nick says all your variables are static and not member variables. Those need to be declared in the header. Your two block instances are referring to the same variables and that's why th

Re: [Discuss-gnuradio] Recurring memory leak problems with iterative decoding [ GNU Radio 3.7.11.1]

2019-05-09 Thread Ben Hilburn
Hey Moses - I don't have an immediate answer for you, but it seems likely the issue is with `decoded_u8`. Before spending time trying to debug why this might be happening when the code is used in GNU Radio versus not, it would be good to figure out where exactly the leak is occurring. You should

Re: [Discuss-gnuradio] Installing GNURadio On Raspberry Pi

2019-05-09 Thread Ben Hilburn
Hey Pete - I am sorry if I came across as cynical and sarcastic. I didn't mean > to. I really wanted to know if anyone could make GNURadio work on a RPi. > Thanks, and it's okay. Tone and meaning are easily lost on mailing lists, so we try to be extra cautious - especially when someone is exper

Re: [Discuss-gnuradio] Two instances of the same custom block walk into a bar

2019-05-09 Thread Brad Hein
Thank you Nick and Albin. It's all much clearer now... I will refactor the code and give it another go. And I have put the book on my wish list, Albin :) On Thu, May 9, 2019 at 2:54 PM Albin Stigö wrote: > Every instance of a block is an instance of the c++ class but like Nick > says all your va

Re: [Discuss-gnuradio] Two instances of the same custom block walk into a bar

2019-05-09 Thread Albin Stigö
Every instance of a block is an instance of the c++ class but like Nick says all your variables are static and not member variables. Those need to be declared in the header. Your two block instances are referring to the same variables and that's why things get messed up. "A tour of C++" by Bjarne

Re: [Discuss-gnuradio] Two instances of the same custom block walk into a bar

2019-05-09 Thread Nick Foster
It looks like you've declared a bunch of static variables within your block's namespace. Those variables (including pointers!) will be shared with every instance of your block. This is Bad News. Those variables should probably all be declared in the header as class member variables. On Thu, May 9,

[Discuss-gnuradio] Two instances of the same custom block walk into a bar

2019-05-09 Thread Brad Hein
I'm running into a strange issue with a new flow graph [1] I'm working on that uses a custom C++ block [2] that I built. The block takes input samples, performs some DSP, and outputs modified samples at the same sample rate. When the flowgraph has a single instance of my custom block enabled, it w

[Discuss-gnuradio] Planet Frequency and Tracking Integration with GNURadio

2019-05-09 Thread Michael Piscopo
HI everyone, another new tracking module that now integrates with GNURadio I just released here: https://github.com/ghostop14/skytrack Skytrack takes signal tracking out past gpredict with earth-based satellites and allows tracking (doppler frequency shifts and azimuth and elevation) out to solar

Re: [Discuss-gnuradio] Installing gnuradio on docker

2019-05-09 Thread CEL
That is a very generic problem: Programs from your docker container can't connect to the host's X server. Google that error – there's plenty of articles on how to make X programs work within a docker container. Again, I'd strongly advise you to use something less ancient than Ubuntu 16.04. Best r

Re: [Discuss-gnuradio] Installing gnuradio on docker

2019-05-09 Thread amani alshawabkeh
Hi, and thanks a lot for your reply, please find below two of the errors I am getting: 1- dpsk_loopback.py example used and I got: *dpsk_loopback.py: cannot connect to X server* 2- I used one of the modified codes that uses gr-ieee802.11 I got something like *File "/wifi_rx.py", line 79,

Re: [Discuss-gnuradio] Installing gnuradio on docker

2019-05-09 Thread CEL
Since the whole purpose of using a docker container is to isolate the contents of the container: Please use something less ancient than Ubuntu 16.04. Best regards, Marcus Müller PS: "I get errors" is probably not a sufficient description to help you in any way! Please be more verbose :) On Thu,

[Discuss-gnuradio] Installing gnuradio on docker

2019-05-09 Thread amani alshawabkeh
> Hi all, > > I am trying to install and run latest Gnuradio version (3.7.13.4) on > Ubuntu 16.04 docker. I tried using pybombs and from source installation but > after the installing gnuradio and trying to run any example I am getting > errors. > > Any suggestions? Is there any dependency that I n