discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] atan2 problem


From: Brian Padalino
Subject: Re: [Discuss-gnuradio] atan2 problem
Date: Tue, 2 Sep 2008 11:58:41 -0400

On Tue, Sep 2, 2008 at 11:51 AM, Engin Karabulut <address@hidden> wrote:
> hi all,
>
> I have two signal which is float and I want to use
> atan2 fuction like this,
>
> self.arctan = math.atan2(x_hyd_filter, y_hyd_filter)
>
> but gnuradio gives error given below,
>
> ...
> self.arctan = math.atan2(x_hyd_filter, y_hyd_filter)
> TypeError: a float is required.
>
> In your opinion what is the problem?

Are you sure x_hyd_filter and y_hyd_filter are, in fact, floats?

Brian




reply via email to

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