Discussion:
[Freetel-codec2] Problems running the octave code
Frank Palazzolo
2015-10-12 21:19:17 UTC
Permalink
Hello,

I just got back from the ARRL/TAPR DCC this weekend, and got excited about
experimenting with codec2 and fdmdv all over again. :)

I want to try some experiments with an OFDM modem and the HF channel
simulator,

I'm trying to run the latest Octave code in the codec2-dev directory,
following the directions in README_fdmdv.txt and running under Octave 4.0.
In short, I am having all kids of issues.

I am getting errors if I try to run fdmdv_ut from Octave - the first thing
I get is that Nc is undefined. I found a block of stuff at the top of
fdmdv.m which is "if 0"d out. If I put that back as a guess...

Then I got another issue - needed to "pkg load signal" to find fir1...

Then, I am having some other problems with get_test_bits and a missing
value for current_test_bit...i defined that...

Finally, I am having issues with tx_filter's function signature.

Am I doing something very wrong? I think I remember that I got this all
running a couple years ago.

FWIW I also tried fdmdv_ut_coh.m but got errors immediately about missing
bits_to_qpsk function...

I apologize if I'm doing something stupid!

Thanks,
Frank Palazzolo
NQ8N

PS I do have all the C code building with CMake just fine.
David Rowe
2015-10-13 00:08:04 UTC
Permalink
Hello Frank,

Great to see you having a go with the Octave scripts.

I broke the fdmdv Octave simulation while developing the cohpsk modem,
as I modified some of the fdmdv.m functions to make them easier to use
by the cohpsk code. Use of proper structures rather than globals, stuff
like that. So the fdmdv.m Octave code will need some TLC to get it
running again.

Unfortunately it's not something I have the time to work on right now,
many other exciting projects on the boil.

However we now have a much better modem which is where the leading edge
development is happening - cohpsk. Try tcohpsk.m and see if that runs
for you, and let me know how it goes.

Cheers,

David
Post by Frank Palazzolo
Hello,
I just got back from the ARRL/TAPR DCC this weekend, and got excited
about experimenting with codec2 and fdmdv all over again. :)
I want to try some experiments with an OFDM modem and the HF channel
simulator,
I'm trying to run the latest Octave code in the codec2-dev directory,
following the directions in README_fdmdv.txt and running under Octave
4.0. In short, I am having all kids of issues.
I am getting errors if I try to run fdmdv_ut from Octave - the first
thing I get is that Nc is undefined. I found a block of stuff at the
top of fdmdv.m which is "if 0"d out. If I put that back as a guess...
Then I got another issue - needed to "pkg load signal" to find fir1...
Then, I am having some other problems with get_test_bits and a missing
value for current_test_bit...i defined that...
Finally, I am having issues with tx_filter's function signature.
Am I doing something very wrong? I think I remember that I got this all
running a couple years ago.
FWIW I also tried fdmdv_ut_coh.m but got errors immediately about
missing bits_to_qpsk function...
I apologize if I'm doing something stupid!
Thanks,
Frank Palazzolo
NQ8N
PS I do have all the C code building with CMake just fine.
------------------------------------------------------------------------------
_______________________________________________
Freetel-codec2 mailing list
https://lists.sourceforge.net/lists/listinfo/freetel-codec2
------------------------------------------------------------------------------
Frank Palazzolo
2015-10-13 15:45:02 UTC
Permalink
David,

Ok good - I figured it was something like that. :)

tcohpsk.m runs fine. I'll dig into understanding it from there.

Thanks for your quick reply!

-Frank
NQ8N
Post by David Rowe
Hello Frank,
Great to see you having a go with the Octave scripts.
I broke the fdmdv Octave simulation while developing the cohpsk modem,
as I modified some of the fdmdv.m functions to make them easier to use
by the cohpsk code. Use of proper structures rather than globals, stuff
like that. So the fdmdv.m Octave code will need some TLC to get it
running again.
Unfortunately it's not something I have the time to work on right now,
many other exciting projects on the boil.
However we now have a much better modem which is where the leading edge
development is happening - cohpsk. Try tcohpsk.m and see if that runs
for you, and let me know how it goes.
Cheers,
David
Post by Frank Palazzolo
Hello,
I just got back from the ARRL/TAPR DCC this weekend, and got excited
about experimenting with codec2 and fdmdv all over again. :)
I want to try some experiments with an OFDM modem and the HF channel
simulator,
I'm trying to run the latest Octave code in the codec2-dev directory,
following the directions in README_fdmdv.txt and running under Octave
4.0. In short, I am having all kids of issues.
I am getting errors if I try to run fdmdv_ut from Octave - the first
thing I get is that Nc is undefined. I found a block of stuff at the
top of fdmdv.m which is "if 0"d out. If I put that back as a guess...
Then I got another issue - needed to "pkg load signal" to find fir1...
Then, I am having some other problems with get_test_bits and a missing
value for current_test_bit...i defined that...
Finally, I am having issues with tx_filter's function signature.
Am I doing something very wrong? I think I remember that I got this all
running a couple years ago.
FWIW I also tried fdmdv_ut_coh.m but got errors immediately about
missing bits_to_qpsk function...
I apologize if I'm doing something stupid!
Thanks,
Frank Palazzolo
NQ8N
PS I do have all the C code building with CMake just fine.
------------------------------------------------------------------------------
Post by Frank Palazzolo
_______________________________________________
Freetel-codec2 mailing list
https://lists.sourceforge.net/lists/listinfo/freetel-codec2
------------------------------------------------------------------------------
_______________________________________________
Freetel-codec2 mailing list
https://lists.sourceforge.net/lists/listinfo/freetel-codec2
Loading...