- peak detect: update of peaks without smooting

- send message of existent peak changes (frequency, pos)

- peak manager: added freq message output for channelizer

git-svn-id: http://moon:8086/svn/software/trunk/projects/GnuRadio@493 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2019-05-28 19:11:33 +00:00
parent dc6485e73f
commit fa9e33cc37
4 changed files with 65 additions and 11 deletions
+8 -1
View File
@@ -319,8 +319,15 @@ namespace gr {
{
if (temp[j].isInRange(peak))
{
temp[j].merge(peak);
bool changed = temp[j].update(peak);
found = true;
if (changed)
{
pmt::pmt_t dict = temp[j].msg(1);
message_port_pub(m_msg_port_out, dict);
add_item_tag(DATA, nitems_written(DATA) + k, pmt::string_to_symbol(std::string("peak")), dict, m_tag_id);
}
break;
}
}