diagnostic_aggregator lib integration into own nodes

asked 2020-03-19 10:23:37 -0500

IljKor gravatar image

Hello everyone,

I worked through diagnostic_aggregator tutorials and they are works very fine (http://wiki.ros.org/diagnostic_aggregator, http://wiki.ros.org/diagnostics/Tutorials/Using%20the%20GenericAnalyzer, ...), all tests are passed. My goal is to analyze error in my system. I would like to work firstly with usually GenericAnalyzer - do I need to implement my own plugin or can I launch (with my custom parameters):

<launch>  
  <node pkg="diagnostic_aggregator" type="aggregator_node" name="diagnostic_aggregator" >
  <!-- Load the file you made above -->
  <rosparam command="load" file="$(find my_robot_package)/analyzers.yaml" />
  </node>
</launch>

and it will work? In My case it didn't... I got following error:

[ERROR] [1584607273.311550363]: GenericAnalyzer was not initialized with any way of checking diagnostics. Name: MyRobot, namespace: /diagnostic_aggregator/analyzers/my_robot Which plugins respectively nodes shall be launched, to get run the diagnostic_aggregator?

Thanks a lot!

edit retag flag offensive close merge delete