File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -98,15 +98,14 @@ struct Limits {
98
98
}
99
99
};
100
100
101
- class ESCDiag // : public diagnostic_updater::DiagnosticTask
101
+ class ESCDiag : public diagnostic_updater ::DiagnosticTask
102
102
{
103
103
public:
104
- ESCDiag (const std::string& name, const Limits& lim_):
105
- // diagnostic_updater::DiagnosticTask(name),
106
- lim (lim_)
104
+ ESCDiag (const std::string& name):
105
+ diagnostic_updater::DiagnosticTask (name)
107
106
{}
108
107
109
- const Limits& lim ;
108
+ void run (diagnostic_updater::DiagnosticStatusWrapper &stat) override {} ;
110
109
};
111
110
112
111
/* *
@@ -251,7 +250,7 @@ class ESCTelemetryPlugin : public plugin::PluginBase
251
250
}
252
251
ROS_INFO (" %d ESCs detected" , _esc_count);
253
252
for (uint i = 0 ; i < _esc_count; ++i) {
254
- v.emplace_back (utils::format (" ESC%u" , i), *lim );
253
+ v.emplace_back (utils::format (" ESC%u" , i));
255
254
}
256
255
}
257
256
You can’t perform that action at this time.
0 commit comments