don't double scramble...
This commit is contained in:
parent
445d9a6076
commit
172a731ea5
@ -75,14 +75,10 @@ public:
|
||||
|
||||
std::vector<uint8_t> mgd_decoded_data = mgd_decoder.mgdDecode(processed_data);
|
||||
|
||||
// Step 4: Symbol Formation. This function injects the sync preamble symbols.
|
||||
// Step 4: Symbol Formation. This function injects the sync preamble symbols. Scrambling is built-in.
|
||||
std::vector<uint8_t> symbol_stream = symbol_formation.formSymbols(mgd_decoded_data);
|
||||
|
||||
// Step 5: Scrambling
|
||||
std::vector<uint8_t> scrambled_data = scrambler.scrambleData(symbol_stream);
|
||||
|
||||
// Step 6: PSK Modulation. This is the final baseband output of the class.
|
||||
std::vector<int16_t> modulated_signal = modulator.modulate(scrambled_data);
|
||||
std::vector<int16_t> modulated_signal = modulator.modulate(symbol_stream);
|
||||
|
||||
// Step 7: Apply Sqrt Half Cosine Filter with a rolloff factor of 0.3 (30%)
|
||||
std::vector<int16_t> filtered_signal = SqrtHalfCosine(modulated_signal, 0.3);
|
||||
|
Loading…
Reference in New Issue
Block a user