Gr-trellis

Hi,

I received my USRP and successfully tried the gnuradio examples on it.

Then I tried digtal & gr-trellis examples.

The gr-trellis/src examples worked fine as mentioned in the read me
file.

I was trying to transmit few convolutionally encoded packets and
receive ( decode ) the same using Viterbi decoder at the receiver. Now,
I
could transmit / receive the sample packets using benchmark_tx.py and
benchmark_rx.py Thats about it. But i couldnt encode my packets. My
understanding is that by default these packets are not encoded. I tried
going through the library files (trellis.cc, trellis_viterbi_b.cc), but
got
lost in between. The gr-trellis.xml wasent helpful either.
Can anyone please point as to how (for testing) i can transmit
convolutionally encoded packets and receive the same ? <<<

Since a generic encoder is implemented, i guess that understanding with
the
convolution example should be the easiest.

Thanks a lot.

S. Mande.

P.S. Please excuse me if this question sounds like a newbie question.

----- Original Message -----
From: “Tomek” [email protected]
Sent: Friday, October 05, 2007 11:28 AM

ialized here
make[5]: Leaving directory

can anyone give me a hint what to do and how to fix this? Could it be that
i have not installed wxPython correctly like i mentionen above?

This is not a wxPython problem (I’ll look into that, though).

What version of swig is reported by “swig -version”?
What version of gcc is reported with “gcc --version”?
What is reported for CFLAGS by “fgrep CFLAGS config.log”?

The combination of swig 1.3.31, gcc 3.4.4, and CFLAGS=’-g -O2 -Wall ’
works
for me, but you need to install swig yourself to get 1.3.31 on Cygwin.

– Don W.

Hey!

need some more help with gnuradio on cygwin.

I´m still following the “Installing GNU Radio with Cygwin” and the only
problem so war war that i couldn´t get wxPython to work because the
“patch -p0 -b -i config.patch” command is always telling me:

$ patch -p0 -b -i config.patch
patch: **** Only garbage was found in the patch input…

but the instruction sais wxPython is not necessary so I went on.
Everything worked until i run make it tells me:

f::_attack_rate’ will be initialized after
…/…/…/…/gnuradio-core/src/lib/general/gri_agc2_ff.h:82: warning:
float gr i_agc2_ff::_decay_rate' ../../../../gnuradio-core/src/lib/general/gri_agc2_ff.h:40: warning: when init ialized here gnuradio_swig_python.cc: In functionvoid
SWIG_Python_FixMethods(PyMethodDef*,
swig_const_info*, swig_type_info**, swig_type_info**)’:
gnuradio_swig_python.cc:133570: error: invalid conversion from const char*' tochar*’
make[6]: *** [gnuradio_swig_python.lo] Error 1
make[6]: Leaving directory
/usr/src/gnuradio-3.0.4/gnuradio-core/src/lib/swig' make[5]: *** [all] Error 2 make[5]: Leaving directory/usr/src/gnuradio-3.0.4/gnuradio-core/src/lib/swig’
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
/usr/src/gnuradio-3.0.4/gnuradio-core/src/lib' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory/usr/src/gnuradio-3.0.4/gnuradio-core/src’
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /usr/src/gnuradio-3.0.4/gnuradio-core' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/usr/src/gnuradio-3.0.4’
make: *** [all] Error 2

can anyone give me a hint what to do and how to fix this? Could it be
that i have not installed wxPython correctly like i mentionen above?

thx!
tomek

GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail

----- Original Message -----
From: “Tomek” [email protected]
To: [email protected]
Sent: Friday, October 05, 2007 11:28 AM
Subject: [Discuss-gnuradio] gnuradio_swig_python.cc:133570: error:
invalid
conversion from const char*' tochar*’

Hey!

need some more help with gnuradio on cygwin.

I´m still following the “Installing GNU Radio with Cygwin” and the only
problem so war war that i couldn´t get wxPython to work because the
“patch -p0 -b -i config.patch” command is always telling me:

$ patch -p0 -b -i config.patch
patch: **** Only garbage was found in the patch input…

What does your config.patch file look like? The first two lines should
be:

— config.py 2006-07-15 17:20:18.000000000 -0400
+++ /usr//src/wxPython-src-2.6.3.3/wxPython/config.py 2006-08-22
9:51:46.671875000 -0400

Is there any chance you downloaded config.htm and called it
config.patch?
(Using “Save Target As …” on the config.patch link will do this. You
need
follow the link to the file listing and click on “Original Format” at
the
bottom of that page.)

– Don W.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs