discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Modifying C++ Files


From: Ben Reynwar
Subject: Re: [Discuss-gnuradio] Modifying C++ Files
Date: Tue, 10 Apr 2012 19:09:44 -0700

Hi Sam,

In bpsk.py you'll see the line

constellation = digital_swig.constellation_bpsk()

If you change this to:

constellation = digital.constellation_calcdist((1+0i, 0+0i), [], 1, 1)

, you should get the change in modulation you want.

You only need to mess with the digital_constellation.cc file if you
want to implement an efficient non-generic
decision maker for this modulation.

To know why what you're doing isn't working, I'd need to know what
modifications you're making to the .cc file.  It sounds like you're
doing everything right.

Cheers,
Ben

On Tue, Apr 10, 2012 at 11:34 AM, sibar002 <address@hidden> wrote:
>
> Hello,
>
> I am attempting to modify the bpsk.py file in order to obtain OOK
> modulation. I would like to change my constellation points to 1+0i and 0+0i.
> I understand that the digital_costellation.cc file is being used to set
> these parameters. I have tried to modify the digitial_constellation.cc file
> in the gr-digital folder, but I am not able to see any changes. I have made
> sure that I make and make install every time I change the file. I was hoping
> someone could tell me what I am doing wrong. I would greatly appreciate any
> help or advice that anyone could give me. Thank you for your time and help.
>
> Sam
>
> --
> View this message in context: 
> http://old.nabble.com/Modifying-C%2B%2B-Files-tp33663518p33663518.html
> Sent from the GnuRadio mailing list archive at Nabble.com.
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio



reply via email to

[Prev in Thread] Current Thread [Next in Thread]