forked from stpaine/FERS
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
type: enhancementA new feature or a request for an improvement.A new feature or a request for an improvement.
Description
FERS's signal generation, primarily handled in pulse_factory.cpp, is geared towards loading pre-defined pulse shapes from files. To support FMCW, it must be able to programmatically generate standard chirp waveforms based on XML parameters.
Tasks:
- Create a Chirp Generator: Implement a function or class that can generate a linear FMCW chirp (sawtooth) based on parameters like
start_frequency,bandwidth, andsweep_time. - Integrate with Pulse Factory: Modify
serial::loadPulseFromFileor theparsePulselogic inxml_parser.cppto call this new generator when an FMCW pulse type is specified in the XML. - Future-Proofing: Design the generator so that other modulation patterns (e.g., triangular) can be easily added in the future.
- Reference Signal: Ensure that this generated chirp can be used both by the
Transmitterfor transmission and by theReceiveras the clean reference signal for de-chirping.
Acceptance Criteria:
- When a user specifies
<pulse type="fmcw_sawtooth" ... />, the backend generates a corresponding complex linear chirp waveform. - The generated signal correctly reflects the
bandwidthandsweep_timedefined in the XML.
Metadata
Metadata
Assignees
Labels
type: enhancementA new feature or a request for an improvement.A new feature or a request for an improvement.