> I am pretty sure there is something wrong with how I am using the
> yank(), but I have been able to find something else to try. Any help
> will be much appreciated. Thanks.
>
OK so I changed how I am getting the bits and it appears that I am
getting the correct bits:

LDU1 LCW Data--------------------------------------------
----------------------------------------------------------
Encoded LCW:
LCF: 00000000
MFID: 00000000
TGID: 0000000000000001
Source ID: 010011000100110101100010

Hamming decode:
LCF: 00000000
MFID: 00000000
TGID: 0000000000000001
Source ID: 010011000100110101100010

RS decode:
LCF: 00000000
MFID: 00000000
TGID: 0000000000000001
Source ID: 010011000100110101100010
----------------------------------------------------------

but now op25 dies with this error:

(gdb) frame 0
#0 extract<std::vector<bool, std::allocator<bool> > > (in=...,
bits=bits@entry=0xa322bce0, bits_sz=bits_sz@entry=8) at
./op25_yank.h:109
109 x = (x << 1) | (in[bits[i]] ? 1 : 0);

The first argument of extract() takes a vector, so i start by filling a
vector typed bit_vector. And then to get that vector I call a function
typed cons_bit_vector that returns that vector. This is how i see it is
done in abstract_data_unit.cc with the function frame_body(). Can
anyone please help me figure out what I am dong wrong here? any help
will be much appreciated.

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)
Recent Activity:
Visit Your Group
.

__,_._,___