File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -98,15 +98,14 @@ struct Limits {
9898 }
9999};
100100
101- class ESCDiag // : public diagnostic_updater::DiagnosticTask
101+ class ESCDiag : public diagnostic_updater ::DiagnosticTask
102102{
103103public:
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)
107106 {}
108107
109- const Limits& lim ;
108+ void run (diagnostic_updater::DiagnosticStatusWrapper &stat) override {} ;
110109};
111110
112111/* *
@@ -251,7 +250,7 @@ class ESCTelemetryPlugin : public plugin::PluginBase
251250 }
252251 ROS_INFO (" %d ESCs detected" , _esc_count);
253252 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));
255254 }
256255 }
257256
You can’t perform that action at this time.
0 commit comments