feat: the trigger can ignore a noise band and reject HF before comparing

This commit is contained in:
Martino Ferrari committed 2026-10-13 15:04:52 +02:00
1 parent d5a9b3c5d5
commit d34bff3f03
9 files changed
+99 -16

No files matched your search

+2 -1
View File
@@ -728,7 +728,8 @@ void Acquisition::on_data(const udps_frame_t* frame) {
trig_channel >= 0 && trig_channel < static_cast<int>(channels.size())
? channels[static_cast<std::size_t>(trig_channel)].name
: kNoTriggerChannel;
engine.configure(tc, trig_name, post_want, event_span - post_want, oldest_s);
engine.configure(tc, trig_name, post_want, event_span - post_want, oldest_s,
model_.partition().slot_dt());
// The engine's armed state follows the panel's, both ways: without the disarm
// half, Disarm left the engine firing (its own `armed_` was only ever set), and
// re-entering trigger mode kept the stale prev/edge/hold-off state.