galileoz/gal-osnma-sim

Encoder not working properly

Closed this issue · 0 comments

Hey, according to the icd (Annex D section D.2 I/NAV FEC Coding and Interleaving Numerical Example), the example input to the encoder is 11111111 11110000 11001100 10101010 00000000 00001111 00110011 01010101
11100011 11101100 11011111 10001010 00011100 00010011 01000000. i tried to input it to your code and test it and got a different result.
Marked in bold the section where it starts to be different.

Result:
10001100 00011010 10101010 01110011 00110001 01011010 01101111 01011001
01111000 10010101 01010101 10001100 11001101 00100001 01000010 10011010
00010000 00001000 00001000 01101110 01100111 10101101 01110000 01100010
11101111 11110111 11110111 10010001 01001100 1000100

Expected result:
10001100 00011010 10101010 01110011 00110001 01011010 01101111 01011001
01111000 10010101 01010101 10001100 11001110 10100101 10010000 10100110
10000100 00000010 00000010 00011011 10011001 11101011 01011100 00011000
10111011 11111101 11111101 11100100 01010011 00100010