Skip to content

fft_burst_tagger's set_threshold() missing from Python bindings #25

@matt-g-87

Description

@matt-g-87

Background

The fft_burst_tagger block exposes a setter for the threshold value, such that it can be set at runtime. See: https://github.com/sandialabs/gr-fhss_utils/blob/maint-3.10/include/gnuradio/fhss_utils/fft_burst_tagger.h
virtual void set_threshold(float threshold) = 0;

Problem

This setter is not exposed/is missing in the published Python bindings

Affected Implementations

The missing setter is expected by the published fhss_utils_fsk_burst_extractor_hier block, as this hier block has a callback to set_threshold in its block definition: https://github.com/sandialabs/gr-fhss_utils/blob/maint-3.10/grc/fhss_utils_fsk_burst_extractor_hier.block.yml

callbacks:
   ...
    set_threshold(${threshold})

When this callback is invoked, an error is printed indicating that fft_burst_tagger does not have a set_threshold() property or method.

Recommend Solution

Rebind the block, using gr_modtool bind fft_burst_tagger and commit/push the updated bindings. I have tested this, and this is all that is needed

Tested/Affected branch

maint-3.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions