File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -98,15 +98,13 @@ 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;
110108};
111109
112110/* *
@@ -251,7 +249,7 @@ class ESCTelemetryPlugin : public plugin::PluginBase
251249 }
252250 ROS_INFO (" %d ESCs detected" , _esc_count);
253251 for (uint i = 0 ; i < _esc_count; ++i) {
254- v.emplace_back (utils::format (" ESC%u" , i), *lim );
252+ v.emplace_back (utils::format (" ESC%u" , i));
255253 }
256254 }
257255
You can’t perform that action at this time.
0 commit comments