Closed liudf0716 closed 6 years ago
FEC related? cause I search FEC and find this project but don't know how to use it quickly.
sure, I meant reed-solomon or convolutional codes?
i'll try to put some examples together soon. in the mean time, what you want to do is to create one of the objects (correct_reed_solomon_create or correct_convolutional_create), encode your message, send it through your lossy channel. then on the other side, create the same kind of object and decode the received bytes.
@brian-armstrong thanks, I will try it.
Regarding the Viterbi part, my project has a C++ Class that wraps libcorrect, so it might serve as example.
https://github.com/opensatelliteproject/libsathelper/blob/master/includes/SatHelper/viterbi27.h https://github.com/opensatelliteproject/libsathelper/blob/master/src/viterbi27.cpp
It has encode / decode for CCSDS standard Viterbi (the k=7 r=1/2) and also some Bit Error Rate calculation.
Also forget, I have for ReedSolomon as well: https://github.com/opensatelliteproject/libsathelper/blob/master/includes/SatHelper/reedsolomon.h https://github.com/opensatelliteproject/libsathelper/blob/master/src/reedsolomon.cpp
Sure, that seems reasonable. Which part of the library are you attempting to use?