- added messsage port

- emit peak messages

git-svn-id: http://moon:8086/svn/software/trunk/projects/GnuRadio@481 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2019-05-27 18:41:15 +00:00
parent 4099f10141
commit 1435ef5e0b
4 changed files with 121 additions and 15 deletions
+7 -1
View File
@@ -172,7 +172,11 @@ namespace jay {
};
private:
void set_msg(pmt::pmt_t msg)
{
}
Peak peakCheck(float const *pData, Peak const &peak, float thresh)
{
Peak result;
@@ -219,6 +223,8 @@ namespace jay {
std::vector<Peak> m_peakHistory;
std::vector<Peak> temp;
uint64_t m_peak_id;
pmt::pmt_t m_msg_port_in;
pmt::pmt_t m_msg_port_out;
public:
peak_detect_impl(int vlen, float framerate, float peak_height_min, int peak_width_min, int peak_width_max, float alpha_s, float alpha_m);