manual_control: add instance to selector

This instance is then used to schedule the callback for the
subscription.
This commit is contained in:
Julian Oes
2021-11-09 16:05:25 +01:00
committed by Matthias Grob
parent 14eb656a59
commit 8876af9150
5 changed files with 42 additions and 25 deletions
@@ -98,6 +98,7 @@ private:
ManualControlSelector _selector;
bool _published_invalid_once{false};
int _last_selected_input{-1};
perf_counter_t _loop_perf{perf_alloc(PC_ELAPSED, MODULE_NAME": cycle")};
perf_counter_t _loop_interval_perf{perf_alloc(PC_INTERVAL, MODULE_NAME": interval")};