discuss-gnuradio
[Top][All Lists]
Advanced

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

RE: [Discuss-gnuradio] Problem with my modified IP tunnelling example


From: Tom Rondeau
Subject: RE: [Discuss-gnuradio] Problem with my modified IP tunnelling example
Date: Mon, 27 Nov 2006 10:16:48 -0500

> -----Original Message-----
> From: address@hidden [mailto:discuss-
> address@hidden On Behalf Of Jeremy Chew
> Sent: Monday, November 27, 2006 6:05 AM
> To: address@hidden
> Subject: [Discuss-gnuradio] Problem with my modified IP tunnelling example
> 
> Hi,
> 
> I've tried the IP tunnelling example in
> gnuradio-examples-0.7/python/gmsk2/tunnel_ip_null_mac.py and it seems to
> work fine.
> 
> I've since been modifying the IP tunnelling example to use my MAC in place
> of null_mac. I have fixed the code to use the new MAC in the form of a C++
> extension.

That's great that you're working on some MAC algorithms, we really need
them. First, though, I noticed your using /python/gmsk2/. I'd recommend
updating to the newer release or 'svn up' if you use the repository. That
directory is now called "digital" and does more than just GMSK. It might
also have a few bug fixes related to your problem.

Also, check out digital/tunnel.py for a CSMA MAC implementation.
 
> However, now when I try to run the modified IP tunnelling example, the
> program craches at either of two different points in __init__() of
> transmit_path class with the message 'Floating exception'. The exact crash
> point seems to depend on which directory I run the example in.
> 
> What's wrong? What is a floating exception?

A floating exception (I think) is a math error. You're doing something with
a float that can't be computed.

You'll need to post more information about your specific problem for me to
be of any more help. Specifically, are you changing the transmit_path.py
file at all? If so, please post the changes.

Tom







reply via email to

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