-
 

Package Summary

Tags No category tags.
Version 4.0.0
License BSD-3-Clause
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros/diagnostics.git
VCS Type git
VCS Version ros2-humble
Last Updated 2024-07-17
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

diagnostic_updater contains tools for easily updating diagnostics. it is commonly used in device drivers to keep track of the status of output topics, device status, etc.

Additional Links

Maintainers

  • Austin Hendrix
  • Brice Rebsamen
  • Christian Henkel
  • Ralph Lange

Authors

  • Jeremy Leibs
  • Blaise Gassend
  • Kevin Watts
  • Brice Rebsamen

General information about this repository, including legal information, build instructions and known issues/limitations, are given in README.md in the repository root.

The diagnostic_updater package

This package is used to implement the collection of diagnostics information.

Overview

It can for example update the state of sensors or actors of the robot. Common tasks include

  • Publish the status of a sensor topic from a device driver
  • Report that a hardware device is closed
  • Send an error if a value is out bounds (e.g. temperature)

Example

The file example.cpp contains an example of how to use the diagnostic_updater.

C++ and Python API

The main classes are:

DiagnosticStatusWrapper

This class is used to create a diagnostic message. It simplifies the creation of the message by providing methods to set the level, name, message and values. There is also the possibility to merge multiple DiagnosticStatusWrapper into one.

Updater

This class is used to collect the diagnostic messages and to publish them.

DiagnosedPublisher

A ROS publisher with included diagnostics. It diagnoses the frequency of the published messages.

CHANGELOG

Changelog for package diagnostic_updater

3.2.1 (2024-06-27)

  • change(diagnosed-publisher): allow specifying node clock
  • Fix usage of rclcpp::ok with a non-default context (#352)
  • Contributors: Christian Henkel, Hervé Audren

3.2.0 (2024-03-22)

  • including depdency (#322)
  • Debugging instability introduced by #317 (#323)
  • feat: add param to use fqn in updater (#320)
  • fix: method names & verbose logging (#307)
  • Fix diagnostic_updater timestamps (#299)
  • Contributors: Christian Henkel, Kevin Schwarzer, h-wata, outrider-jhulas

3.1.2 (2023-03-24)

3.1.1 (2023-03-16)

  • Secretly supporting galactic (#295)
  • Linting additional package (#268)
  • Adding unit test for DiagnosticStatusWrapper
  • Maintainer update
  • Contributors: Austin, Christian Henkel, Jordan Palacios, Ralph Lange

3.1.0 (2023-01-26)

  • Merge of foxy and humble history into rolling for future maintenance from one branch only.
  • Adding READMEs to the repo (#270)
  • License fixes (#263)
  • Fix/cleanup ros1 (#257)
  • Fixed DiagnosedPublisher and switched to ROS_TIME (#243)
  • Check if parameter is already declared to avoid re-declaring it. (#227)
  • Update CMakeLists.txt to support modern cmake syntax
  • Fix diagnostic_updater cmake
  • Fix implicit conversion warnings
  • Contributors: Alberto Soragna, Austin, Christian Henkel, Grzegorz Głowacki, Nikos Koukis, Ralph Lange

3.0.0 (2022-06-10)

  • Merge pull request #217 from boschresearch/ros-time-for-frequency-stat
  • Allow clock instance to be set from outside in FrequencyStatus
  • Use node clock for diagnostic_aggregator and diagnostic_updater (#210)
  • Use DiagnosticStatus.msg values instead of creating bytes manually (#193)
  • Contributors: Arne Nordmann, BasVolkers, Kenji Miyake, Marco Lampacrescia

2.1.3 (2021-08-03)

  • Time Diagnostics can be used with Simulated Time. (#201)
  • Contributors: Marco Lampacrescia

2.1.2 (2021-03-03)

  • Replace every byte creation instance. (#184)
  • Enable multiple tasks publishing for diagnostic updater. (#182)
  • Contributors: BasVolkers

2.1.1 (2021-01-28)

2.1.0 (2021-01-12)

  • Update to latest ros2 rolling. (#177)

* Contributors: Karsten Knese 2.0.9 (2022-11-12) ------------------* Check if parameter is already declared to avoid re-declaring it. (#227) * Fix implicit conversion warnings * Use node clock in FrequencyStatus diagnostic * Allow clock instance to be set from outside in FrequencyStatus * Contributors: Arne Nordmann, Grzegorz Głowacki, Marco Lampacrescia, Nikos Koukis, Ralph Lange

2.0.8 (2021-08-03)

  • [ROS2] Time Diagnostics can be used with Simulated Time (#201) (#205)
  • Contributors: Marco Lampacrescia

2.0.7 (2021-03-04)

  • Enable multiple tasks publishing for diagnostic updater (#182) (#192)
  • Replace every byte creation instance (#184) (#191)
  • Contributors: BasVolkers

2.0.6 (2021-01-28)

2.0.5 (2021-01-06)

2.0.4 (2020-08-05)

2.0.3 (2020-07-09)

2.0.2 (2020-06-03)

  • 2.0.2
  • Re-add leading character to node name (#109)
  • Ros2 migrate diagnostic aggregator (#118)
  • Fix DiagnosedPublisher (#135)
  • fix linters (#134)
  • Contributors: DensoADAS, Karsten Knese, Scott K Logan, Arne Nordmann

2.0.1 (2020-06-03)

  • Re-add leading character to node name (#109)
  • Ros2 migrate diagnostic aggregator (#118)
  • Fix DiagnosedPublisher (#135)
  • fix linters (#134)
  • Contributors: DensoADAS, Arne Nordmann, Robin Vanhove, Karsten Knese, Scott K Logan

2.0.0 (2019-09-03)

  • Use rclpp timer instead of custom updater logic. (#114)
  • Use std::isfinite since it is supported on all platorms. (#123)
  • Make DiagnosticStatusWrapper no longer implicitly copyable. (#117)
  • Add virtual destructor to task vector class. (#122)
  • Support for node interfaces to allow diagnostics to be used with lifecycle nodes. (#112)
  • Spin on node in diagnostic_updater example to query parameters. (#120)
  • Set diagnostic_updater default period to 1s instead of 1ns. (#110)
  • Make Karsten Knese Maintainer for ROS2 branches #115
  • Migrate diagnostic_updater to ROS2 #102
  • Custom names for FrequencyStatus and TimeStampStatus #86
  • Make FrequencyStatus' name configurable #84
  • Contributors: Austin, Dan Rose, Ian Colwell, Karsten Knese, Nils Bussas, Scott K Logan, VaibhavBhadade

1.9.3 (2018-05-02)

  • Merge pull request #73 from tue-robotics/indigo-devel Add a simple Heartbeat-DiagnosticTask
  • Add Python version of Heartbeat DiagnosticTask
  • Add a very very simple Heartbeat DiagnosticTask
  • Contributors: Austin, Loy van Beek, loy

1.9.2 (2017-07-15)

1.9.1 (2017-07-15)

  • Add queue size parameters on Publishers
  • Minor python updates
  • Contributors: trainman419

1.9.0 (2017-04-25)

  • make rostest in CMakeLists optional (ros/rosdistro#3010)
  • Fixed bug with merge summary in status wrapper
  • Contributors: Lukas Bulwahn, pAIgn10

1.8.10 (2016-06-14)

1.8.9 (2016-03-02)

1.8.8 (2015-08-06)

1.8.7 (2015-01-09)

1.8.6 (2014-12-10)

1.8.5 (2014-07-29)

1.8.4 (2014-07-24 20:51)

1.8.3 (2014-04-23)

  • Initialize next_time_ properly. Fixes #20
  • Add failing test for fast updater
  • Contributors: Austin Hendrix

1.8.2 (2014-04-08)

  • Fix linking. All tests pass. Fixes #12
  • Most tests pass
  • Fix doc reference. Fixes #14
  • Contributors: Austin Hendrix

1.8.1 (2014-04-07)

  • Add myself as maintainer
  • Added ability to supply a custom node name (prefix) to Updater
  • Added ability to supply node handle and private node handle to Updater
  • fixed exporting python API to address #10
  • fixed test related issues in some CMakeLists
  • check for CATKIN_ENABLE_TESTING
  • Contributors: Aero, Austin Hendrix, Brice Rebsamen, Lukas Bulwahn, Mitchell Wills

1.8.0 (2013-04-03)

1.7.11 (2014-07-24 20:24)

  • Fix linking on tests
  • support python binding of diagnostic_updater on groovy
  • Contributors: Ryohei Ueda, trainman419

1.7.10 (2013-02-22)

  • Changed package.xml version number before releasing
  • added missing license header
  • added missing license headers
  • Contributors: Aaron Blasdel, Brice Rebsamen

1.7.9 (2012-12-14)

  • add missing dep to catkin
  • Contributors: Dirk Thomas

1.7.8 (2012-12-06)

  • missing includedirs from roscpp cause compile errors. diagnostic_aggregator/include/diagnostic_aggregator/status_item.h:45:21: fatal error: ros/ros.h: No such file or directory diagnostics/diagnostic_updater/include/diagnostic_updater/diagnostic_updater.h:42:29: fatal error: ros/node_handle.h: No such file or directory compilation terminated.
  • Contributors: Thibault Kruse

1.7.7 (2012-11-10)

1.7.6 (2012-11-07 23:32)

1.7.5 (2012-11-07 21:53)

1.7.4 (2012-11-07 20:18)

1.7.3 (2012-11-04)

  • fix the non-existing xml
  • Contributors: Vincent Rabaud

1.7.2 (2012-10-30 22:31)

  • fix rostest
  • Contributors: Vincent Rabaud

1.7.1 (2012-10-30 15:30)

  • fix a few things after the first release
  • fix a few things all over
  • Contributors: Vincent Rabaud

1.7.0 (2012-10-29)

  • catkinize the stack
  • backport the Python API from 1.7.0
  • use the proper gtest macro
  • Created branch 1.7.0 and reverted corresponding changes in trunk and tag 1.7.0 As a result branch 1.7.0 contains the new python API, and trunk corresponds to 1.6.4
  • Added Python API to diagnostic_updater
  • Fixing docs for frequency status parameters, #5093
  • Remove unused (according to K. Watts) class that depends on now nonexistent ros::Message
  • Remove unused (according to K. Watts) class that depends on now nonexistent ros::Message
  • Fixing formatting for diagnostic updater's update_functions. #4523
  • Adding std_msgs dependency to diagnostic_aggregator. #4491
  • Deprecated message methods removed in diagnostics updater
  • Added Ubuntu platform tags to manifest
  • Corrected the version number in which removeByName was added.
  • Added a removeByName method that allows a diagnostic task to be removed from a diagnostic_updater.
  • Adding checks to diagnostic status wrapper to verify output from bool values
  • Removed special handling of uint8 in diagnostic_status_wrapper. Uint8 isn't always bool.
  • DiagnosticStatusWrapper now has bool support in add() function. #3860
  • Marked diagnostic_updater and self_test as doc reviewed.
  • Tweaked examples and documentation based on doc review feedback.
  • Dox updates for diagnostic updater
  • Changed error to warning level in frequency status regression test
  • Removed ROS API from doxygen. Added setHardwareID method to example code.
  • Fixing param name in diagnostic updater
  • Reporting frequency problems as warning, not error in diagnostic_updater, #3555
  • Took out all deprecated stuff from diagnostic_updater.
  • Made diagnostic_updater example go into bin directory.
  • Changed getParam to getParamCached.
  • Updated review status to API cleared.
  • Returned check of diagnostic_period to only happen when the update happens pending fix of ROS 0.0, -0.0, -0.0, 0.11215413361787796, -0.0)
  • Finished example and documentation. Renamed CombinationDiagnosticUpdater to CompositeDiagnosticUpdater.
  • Added setHardwareID to diagnostic_updater.
  • Reintroduced an Updater constructor that takes a node handle because a lot of nodes actually depend on it.
  • Bug slipped into previous checkin.
  • Updating documentation. Took NodeHandle parameter out of Updater constructor.
  • Added setHardwareID method, and now warns if it is not used.
  • Got rid of ComposableDiagnosticTask. Now all tasks are composable.
  • Modified diagnostic_period so that it gets checked every time the update method is called. This way a long period can get shortened without waiting for the long period to expire.
  • When a diagnostic task is first added to a diagnostic_updater, the initial status is now OK instead of error.
  • Added timestamp to diagnostic updater publish call. Auto-filling of timestamps is deprecated in ROS 0.10
  • Fixed spurious newline in string that was preventing compilation of diagnostic_updater users.
  • Finished updating the diagnostics for diagnostic_updater.
  • Commented the DiagnosedPublisher classes.
  • Added some comments to diagnostic_updater and made ComposableDiagnosticTask::split_run protected.
  • Updated diagnosed publisher code to be able to work with a CameraPublisher
  • Getting diagnostic_updater to compile. Still spewing a bunch of warnings.
  • Added extra debugging options to self_test and diagnostic_updater. On by default for self_test, off for diagnostic_updater. When on, failing statuses will be printed to the console.
  • updated self_test, diagnostic_updater, dynamic_reconfigure and wge100_camera to use new ~ namespace access method
  • Corrected diagnostic status merge logic.
  • diagnostics 0.1 commit. Removed diagnostic_analyzer/generic_analyzer and integrated into diagnostic_aggregator.
  • Add a method to clear the DiagnosticStatus values in DiagnosticStatusWrapper. Clear old values when reusing DiagnosticStatusWrapper.
  • Took out adds and addsf from diagnostic_updater/DiagnosticStatusWrapper now that all other nodes have been modified.
  • Converted adds into add and add-f into addf. Left the old ones, but they are now deprecated.
  • Updated self test for new diagnostic format.
  • Updated DiagnosticStatusWrapper for changes in diagnostic format.
  • Cleaned up DiagnosticStatusWrapper in response to change in diagnostic message.
  • Fixes for diagnostic_msgs::KeyValue::label -> key
  • fixing through diagnostic_updater
  • Changed DiagnosticMessage to DiagnosticArray
  • Changed DiagnosticValue to KeyValue
  • Fixed bug in declaration of deprecated class.
  • Deprecated old self_test and diagnostic_updater APIs.
  • Minor improvements to diagnostic updater.
  • Allowed Publisher to be changed in a DiagnosedPublisher. This allows the Publisher to be created later than the DiagnosedPublisher.
  • add cstdio include for gcc 4.4
  • Took out const_cast that became unnecessary thanks to the resolution of ticket #1228.
  • Added missing includes.
  • robot_msgs/Diagnostic* to diagnostic_msgs/Diagnostic* and robot_srvs/SelfTest into diagnostic_msgs too
  • Added DiagnosedPublisher and HeaderlessDiagnosedPublisher to automatically publish diagnostics upon publication, and integrated them with the forearm_camera. Started writing an outling of the driver_base classes.
  • Committing change from Blaise's tree
  • Added a formatted summary method to DiagnosticStatusWrapper.
  • Corrected a bug in the frequency updater, and made it and the timestamp updaters thread safe.
  • Added a TimeStampStatus diagnostic to monitor that timestamps are reasonably close to now.
  • Slowed timing by 10x in test case to improve odds of passing on 64 bit architectures.
  • Corrected some bugs that could have caused undefined behavior. Added support for automatically publishing a "Starting up" message before the while the node is initializing. Did some refactoring.
  • Fixed a bug in how function classes were being added to the Updater.
  • Fixed a bug in frequency diagnostic reporting.
  • Modified update functions so that they are function classes. Added a correspondence convenience add method to Updater_base.
  • Corrected a possibly infinite recursion in adds.
  • Small fix to compatibility layer for old-style nodes
  • Upgraded the diagnostic_updater to use NodeHandles, and to allow more general functions to be used. Started adding update_functions to do common diagnostic publishing tasks. This will be populated more later.
  • Added a DiagnosticStatusWrapper class derived from DiagnosticStatus. It adds a few methods to more conveniently set the DiagnosticStatus's fields. The diagnostic_updater has been updated so that it can work with DiagnosticStatus or DiagnosticStatusWrapper.:
  • diagnostic_updater: Now can be used with classes that don't inherit from Node.
  • roscpp API changes
    • ros::node -> ros::Node
    • ros::msg -> ros::Message
    • deprecated methods removed
    • rosconsole/rosconsole.h -> ros/console.h
    • goodbye rosthread
  • bogus dependency
  • results from changing ros::Time constructor and all uses of it I can find
  • Adding node name into diagnostic updater status names.
  • Moving package review status from wiki to manifests
  • Changing form of advertise in diagnostic updater.
  • Removing old printf from diagnostic_updater.
  • Checking in package for easy diagnostic updating.
  • Contributors: Vincent Rabaud, blaise, blaisegassend, bricerebsamen, ehberger, gerkey, jfaustwg, jleibs, leibs, morgan_quigley, pmihelich, rob_wheeler, straszheim, tfoote, vrabaud, watts, wattsk

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged diagnostic_updater at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 4.1.0
License BSD-3-Clause
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros/diagnostics.git
VCS Type git
VCS Version ros2-iron
Last Updated 2024-07-17
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

diagnostic_updater contains tools for easily updating diagnostics. it is commonly used in device drivers to keep track of the status of output topics, device status, etc.

Additional Links

Maintainers

  • Austin Hendrix
  • Brice Rebsamen
  • Christian Henkel
  • Ralph Lange

Authors

  • Jeremy Leibs
  • Blaise Gassend
  • Kevin Watts
  • Brice Rebsamen

General information about this repository, including legal information, build instructions and known issues/limitations, are given in README.md in the repository root.

The diagnostic_updater package

This package is used to implement the collection of diagnostics information.

Overview

It can for example update the state of sensors or actors of the robot. Common tasks include

  • Publish the status of a sensor topic from a device driver
  • Report that a hardware device is closed
  • Send an error if a value is out bounds (e.g. temperature)

Example

The file example.cpp contains an example of how to use the diagnostic_updater.

C++ and Python API

The main classes are:

DiagnosticStatusWrapper

This class is used to create a diagnostic message. It simplifies the creation of the message by providing methods to set the level, name, message and values. There is also the possibility to merge multiple DiagnosticStatusWrapper into one.

Updater

This class is used to collect the diagnostic messages and to publish them.

DiagnosedPublisher

A ROS publisher with included diagnostics. It diagnoses the frequency of the published messages.

CHANGELOG

Changelog for package diagnostic_updater

3.2.0 (2024-03-22)

  • including depdency (#322)
  • Debugging instability introduced by #317 (#323)
  • feat: add param to use fqn in updater (#320)
  • fix: method names & verbose logging (#307)
  • Fix diagnostic_updater timestamps (#299)
  • Contributors: Christian Henkel, Kevin Schwarzer, h-wata, outrider-jhulas

3.1.2 (2023-03-24)

3.1.1 (2023-03-16)

  • Secretly supporting galactic (#295)
  • Linting additional package (#268)
  • Adding unit test for DiagnosticStatusWrapper
  • Maintainer update
  • Contributors: Austin, Christian Henkel, Jordan Palacios, Ralph Lange

3.1.0 (2023-01-26)

  • Merge of foxy and humble history into rolling for future maintenance from one branch only.
  • Adding READMEs to the repo (#270)
  • License fixes (#263)
  • Fix/cleanup ros1 (#257)
  • Fixed DiagnosedPublisher and switched to ROS_TIME (#243)
  • Check if parameter is already declared to avoid re-declaring it. (#227)
  • Update CMakeLists.txt to support modern cmake syntax
  • Fix diagnostic_updater cmake
  • Fix implicit conversion warnings
  • Contributors: Alberto Soragna, Austin, Christian Henkel, Grzegorz Głowacki, Nikos Koukis, Ralph Lange

3.0.0 (2022-06-10)

  • Merge pull request #217 from boschresearch/ros-time-for-frequency-stat
  • Allow clock instance to be set from outside in FrequencyStatus
  • Use node clock for diagnostic_aggregator and diagnostic_updater (#210)
  • Use DiagnosticStatus.msg values instead of creating bytes manually (#193)
  • Contributors: Arne Nordmann, BasVolkers, Kenji Miyake, Marco Lampacrescia

2.1.3 (2021-08-03)

  • Time Diagnostics can be used with Simulated Time. (#201)
  • Contributors: Marco Lampacrescia

2.1.2 (2021-03-03)

  • Replace every byte creation instance. (#184)
  • Enable multiple tasks publishing for diagnostic updater. (#182)
  • Contributors: BasVolkers

2.1.1 (2021-01-28)

2.1.0 (2021-01-12)

  • Update to latest ros2 rolling. (#177)

* Contributors: Karsten Knese 2.0.9 (2022-11-12) ------------------* Check if parameter is already declared to avoid re-declaring it. (#227) * Fix implicit conversion warnings * Use node clock in FrequencyStatus diagnostic * Allow clock instance to be set from outside in FrequencyStatus * Contributors: Arne Nordmann, Grzegorz Głowacki, Marco Lampacrescia, Nikos Koukis, Ralph Lange

2.0.8 (2021-08-03)

  • [ROS2] Time Diagnostics can be used with Simulated Time (#201) (#205)
  • Contributors: Marco Lampacrescia

2.0.7 (2021-03-04)

  • Enable multiple tasks publishing for diagnostic updater (#182) (#192)
  • Replace every byte creation instance (#184) (#191)
  • Contributors: BasVolkers

2.0.6 (2021-01-28)

2.0.5 (2021-01-06)

2.0.4 (2020-08-05)

2.0.3 (2020-07-09)

2.0.2 (2020-06-03)

  • 2.0.2
  • Re-add leading character to node name (#109)
  • Ros2 migrate diagnostic aggregator (#118)
  • Fix DiagnosedPublisher (#135)
  • fix linters (#134)
  • Contributors: DensoADAS, Karsten Knese, Scott K Logan, Arne Nordmann

2.0.1 (2020-06-03)

  • Re-add leading character to node name (#109)
  • Ros2 migrate diagnostic aggregator (#118)
  • Fix DiagnosedPublisher (#135)
  • fix linters (#134)
  • Contributors: DensoADAS, Arne Nordmann, Robin Vanhove, Karsten Knese, Scott K Logan

2.0.0 (2019-09-03)

  • Use rclpp timer instead of custom updater logic. (#114)
  • Use std::isfinite since it is supported on all platorms. (#123)
  • Make DiagnosticStatusWrapper no longer implicitly copyable. (#117)
  • Add virtual destructor to task vector class. (#122)
  • Support for node interfaces to allow diagnostics to be used with lifecycle nodes. (#112)
  • Spin on node in diagnostic_updater example to query parameters. (#120)
  • Set diagnostic_updater default period to 1s instead of 1ns. (#110)
  • Make Karsten Knese Maintainer for ROS2 branches #115
  • Migrate diagnostic_updater to ROS2 #102
  • Custom names for FrequencyStatus and TimeStampStatus #86
  • Make FrequencyStatus' name configurable #84
  • Contributors: Austin, Dan Rose, Ian Colwell, Karsten Knese, Nils Bussas, Scott K Logan, VaibhavBhadade

1.9.3 (2018-05-02)

  • Merge pull request #73 from tue-robotics/indigo-devel Add a simple Heartbeat-DiagnosticTask
  • Add Python version of Heartbeat DiagnosticTask
  • Add a very very simple Heartbeat DiagnosticTask
  • Contributors: Austin, Loy van Beek, loy

1.9.2 (2017-07-15)

1.9.1 (2017-07-15)

  • Add queue size parameters on Publishers
  • Minor python updates
  • Contributors: trainman419

1.9.0 (2017-04-25)

  • make rostest in CMakeLists optional (ros/rosdistro#3010)
  • Fixed bug with merge summary in status wrapper
  • Contributors: Lukas Bulwahn, pAIgn10

1.8.10 (2016-06-14)

1.8.9 (2016-03-02)

1.8.8 (2015-08-06)

1.8.7 (2015-01-09)

1.8.6 (2014-12-10)

1.8.5 (2014-07-29)

1.8.4 (2014-07-24 20:51)

1.8.3 (2014-04-23)

  • Initialize next_time_ properly. Fixes #20
  • Add failing test for fast updater
  • Contributors: Austin Hendrix

1.8.2 (2014-04-08)

  • Fix linking. All tests pass. Fixes #12
  • Most tests pass
  • Fix doc reference. Fixes #14
  • Contributors: Austin Hendrix

1.8.1 (2014-04-07)

  • Add myself as maintainer
  • Added ability to supply a custom node name (prefix) to Updater
  • Added ability to supply node handle and private node handle to Updater
  • fixed exporting python API to address #10
  • fixed test related issues in some CMakeLists
  • check for CATKIN_ENABLE_TESTING
  • Contributors: Aero, Austin Hendrix, Brice Rebsamen, Lukas Bulwahn, Mitchell Wills

1.8.0 (2013-04-03)

1.7.11 (2014-07-24 20:24)

  • Fix linking on tests
  • support python binding of diagnostic_updater on groovy
  • Contributors: Ryohei Ueda, trainman419

1.7.10 (2013-02-22)

  • Changed package.xml version number before releasing
  • added missing license header
  • added missing license headers
  • Contributors: Aaron Blasdel, Brice Rebsamen

1.7.9 (2012-12-14)

  • add missing dep to catkin
  • Contributors: Dirk Thomas

1.7.8 (2012-12-06)

  • missing includedirs from roscpp cause compile errors. diagnostic_aggregator/include/diagnostic_aggregator/status_item.h:45:21: fatal error: ros/ros.h: No such file or directory diagnostics/diagnostic_updater/include/diagnostic_updater/diagnostic_updater.h:42:29: fatal error: ros/node_handle.h: No such file or directory compilation terminated.
  • Contributors: Thibault Kruse

1.7.7 (2012-11-10)

1.7.6 (2012-11-07 23:32)

1.7.5 (2012-11-07 21:53)

1.7.4 (2012-11-07 20:18)

1.7.3 (2012-11-04)

  • fix the non-existing xml
  • Contributors: Vincent Rabaud

1.7.2 (2012-10-30 22:31)

  • fix rostest
  • Contributors: Vincent Rabaud

1.7.1 (2012-10-30 15:30)

  • fix a few things after the first release
  • fix a few things all over
  • Contributors: Vincent Rabaud

1.7.0 (2012-10-29)

  • catkinize the stack
  • backport the Python API from 1.7.0
  • use the proper gtest macro
  • Created branch 1.7.0 and reverted corresponding changes in trunk and tag 1.7.0 As a result branch 1.7.0 contains the new python API, and trunk corresponds to 1.6.4
  • Added Python API to diagnostic_updater
  • Fixing docs for frequency status parameters, #5093
  • Remove unused (according to K. Watts) class that depends on now nonexistent ros::Message
  • Remove unused (according to K. Watts) class that depends on now nonexistent ros::Message
  • Fixing formatting for diagnostic updater's update_functions. #4523
  • Adding std_msgs dependency to diagnostic_aggregator. #4491
  • Deprecated message methods removed in diagnostics updater
  • Added Ubuntu platform tags to manifest
  • Corrected the version number in which removeByName was added.
  • Added a removeByName method that allows a diagnostic task to be removed from a diagnostic_updater.
  • Adding checks to diagnostic status wrapper to verify output from bool values
  • Removed special handling of uint8 in diagnostic_status_wrapper. Uint8 isn't always bool.
  • DiagnosticStatusWrapper now has bool support in add() function. #3860
  • Marked diagnostic_updater and self_test as doc reviewed.
  • Tweaked examples and documentation based on doc review feedback.
  • Dox updates for diagnostic updater
  • Changed error to warning level in frequency status regression test
  • Removed ROS API from doxygen. Added setHardwareID method to example code.
  • Fixing param name in diagnostic updater
  • Reporting frequency problems as warning, not error in diagnostic_updater, #3555
  • Took out all deprecated stuff from diagnostic_updater.
  • Made diagnostic_updater example go into bin directory.
  • Changed getParam to getParamCached.
  • Updated review status to API cleared.
  • Returned check of diagnostic_period to only happen when the update happens pending fix of ROS 0.0, -0.0, -0.0, 0.11215413361787796, -0.0)
  • Finished example and documentation. Renamed CombinationDiagnosticUpdater to CompositeDiagnosticUpdater.
  • Added setHardwareID to diagnostic_updater.
  • Reintroduced an Updater constructor that takes a node handle because a lot of nodes actually depend on it.
  • Bug slipped into previous checkin.
  • Updating documentation. Took NodeHandle parameter out of Updater constructor.
  • Added setHardwareID method, and now warns if it is not used.
  • Got rid of ComposableDiagnosticTask. Now all tasks are composable.
  • Modified diagnostic_period so that it gets checked every time the update method is called. This way a long period can get shortened without waiting for the long period to expire.
  • When a diagnostic task is first added to a diagnostic_updater, the initial status is now OK instead of error.
  • Added timestamp to diagnostic updater publish call. Auto-filling of timestamps is deprecated in ROS 0.10
  • Fixed spurious newline in string that was preventing compilation of diagnostic_updater users.
  • Finished updating the diagnostics for diagnostic_updater.
  • Commented the DiagnosedPublisher classes.
  • Added some comments to diagnostic_updater and made ComposableDiagnosticTask::split_run protected.
  • Updated diagnosed publisher code to be able to work with a CameraPublisher
  • Getting diagnostic_updater to compile. Still spewing a bunch of warnings.
  • Added extra debugging options to self_test and diagnostic_updater. On by default for self_test, off for diagnostic_updater. When on, failing statuses will be printed to the console.
  • updated self_test, diagnostic_updater, dynamic_reconfigure and wge100_camera to use new ~ namespace access method
  • Corrected diagnostic status merge logic.
  • diagnostics 0.1 commit. Removed diagnostic_analyzer/generic_analyzer and integrated into diagnostic_aggregator.
  • Add a method to clear the DiagnosticStatus values in DiagnosticStatusWrapper. Clear old values when reusing DiagnosticStatusWrapper.
  • Took out adds and addsf from diagnostic_updater/DiagnosticStatusWrapper now that all other nodes have been modified.
  • Converted adds into add and add-f into addf. Left the old ones, but they are now deprecated.
  • Updated self test for new diagnostic format.
  • Updated DiagnosticStatusWrapper for changes in diagnostic format.
  • Cleaned up DiagnosticStatusWrapper in response to change in diagnostic message.
  • Fixes for diagnostic_msgs::KeyValue::label -> key
  • fixing through diagnostic_updater
  • Changed DiagnosticMessage to DiagnosticArray
  • Changed DiagnosticValue to KeyValue
  • Fixed bug in declaration of deprecated class.
  • Deprecated old self_test and diagnostic_updater APIs.
  • Minor improvements to diagnostic updater.
  • Allowed Publisher to be changed in a DiagnosedPublisher. This allows the Publisher to be created later than the DiagnosedPublisher.
  • add cstdio include for gcc 4.4
  • Took out const_cast that became unnecessary thanks to the resolution of ticket #1228.
  • Added missing includes.
  • robot_msgs/Diagnostic* to diagnostic_msgs/Diagnostic* and robot_srvs/SelfTest into diagnostic_msgs too
  • Added DiagnosedPublisher and HeaderlessDiagnosedPublisher to automatically publish diagnostics upon publication, and integrated them with the forearm_camera. Started writing an outling of the driver_base classes.
  • Committing change from Blaise's tree
  • Added a formatted summary method to DiagnosticStatusWrapper.
  • Corrected a bug in the frequency updater, and made it and the timestamp updaters thread safe.
  • Added a TimeStampStatus diagnostic to monitor that timestamps are reasonably close to now.
  • Slowed timing by 10x in test case to improve odds of passing on 64 bit architectures.
  • Corrected some bugs that could have caused undefined behavior. Added support for automatically publishing a "Starting up" message before the while the node is initializing. Did some refactoring.
  • Fixed a bug in how function classes were being added to the Updater.
  • Fixed a bug in frequency diagnostic reporting.
  • Modified update functions so that they are function classes. Added a correspondence convenience add method to Updater_base.
  • Corrected a possibly infinite recursion in adds.
  • Small fix to compatibility layer for old-style nodes
  • Upgraded the diagnostic_updater to use NodeHandles, and to allow more general functions to be used. Started adding update_functions to do common diagnostic publishing tasks. This will be populated more later.
  • Added a DiagnosticStatusWrapper class derived from DiagnosticStatus. It adds a few methods to more conveniently set the DiagnosticStatus's fields. The diagnostic_updater has been updated so that it can work with DiagnosticStatus or DiagnosticStatusWrapper.:
  • diagnostic_updater: Now can be used with classes that don't inherit from Node.
  • roscpp API changes
    • ros::node -> ros::Node
    • ros::msg -> ros::Message
    • deprecated methods removed
    • rosconsole/rosconsole.h -> ros/console.h
    • goodbye rosthread
  • bogus dependency
  • results from changing ros::Time constructor and all uses of it I can find
  • Adding node name into diagnostic updater status names.
  • Moving package review status from wiki to manifests
  • Changing form of advertise in diagnostic updater.
  • Removing old printf from diagnostic_updater.
  • Checking in package for easy diagnostic updating.
  • Contributors: Vincent Rabaud, blaise, blaisegassend, bricerebsamen, ehberger, gerkey, jfaustwg, jleibs, leibs, morgan_quigley, pmihelich, rob_wheeler, straszheim, tfoote, vrabaud, watts, wattsk

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged diagnostic_updater at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 4.3.1
License BSD-3-Clause
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros/diagnostics.git
VCS Type git
VCS Version ros2
Last Updated 2024-07-31
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

diagnostic_updater contains tools for easily updating diagnostics. it is commonly used in device drivers to keep track of the status of output topics, device status, etc.

Additional Links

Maintainers

  • Austin Hendrix
  • Brice Rebsamen
  • Christian Henkel
  • Ralph Lange

Authors

  • Jeremy Leibs
  • Blaise Gassend
  • Kevin Watts
  • Brice Rebsamen

General information about this repository, including legal information, build instructions and known issues/limitations, are given in README.md in the repository root.

The diagnostic_updater package

This package is used to implement the collection of diagnostics information.

Overview

It can for example update the state of sensors or actors of the robot. Common tasks include

  • Publish the status of a sensor topic from a device driver
  • Report that a hardware device is closed
  • Send an error if a value is out bounds (e.g. temperature)

Example

The file example.cpp contains an example of how to use the diagnostic_updater.

C++ and Python API

The main classes are:

DiagnosticStatusWrapper

This class is used to create a diagnostic message. It simplifies the creation of the message by providing methods to set the level, name, message and values. There is also the possibility to merge multiple DiagnosticStatusWrapper into one.

Updater

This class is used to collect the diagnostic messages and to publish them.

DiagnosedPublisher

A ROS publisher with included diagnostics. It diagnoses the frequency of the published messages.

CHANGELOG

Changelog for package diagnostic_updater

4.3.1 (2024-07-30)

  • Fix correctly exporting the library (#388) (#393)
  • Minimize header includes by moving impl to .cpp files (#331) and Fix usage of rclcpp::ok with a non-default context (#352) (#390)
  • Contributors: Christian Henkel, Ramon Wijnands, Hervé Audren

3.2.1 (2024-06-27)

  • change(diagnosed-publisher): allow specifying node clock (#340)
  • Fix usage of rclcpp::ok with a non-default context (#352)
  • Contributors: Hervé Audren, Rein Appeldoorn

3.2.0 (2024-03-22)

  • including depdency (#322)
  • Debugging instability introduced by #317 (#323)
  • feat: add param to use fqn in updater (#320)
  • fix: method names & verbose logging (#307)
  • Fix diagnostic_updater timestamps (#299)
  • Contributors: Christian Henkel, Kevin Schwarzer, h-wata, outrider-jhulas

3.1.2 (2023-03-24)

3.1.1 (2023-03-16)

  • Secretly supporting galactic (#295)
  • Linting additional package (#268)
  • Adding unit test for DiagnosticStatusWrapper
  • Maintainer update
  • Contributors: Austin, Christian Henkel, Jordan Palacios, Ralph Lange

3.1.0 (2023-01-26)

  • Merge of foxy and humble history into rolling for future maintenance from one branch only.
  • Adding READMEs to the repo (#270)
  • License fixes (#263)
  • Fix/cleanup ros1 (#257)
  • Fixed DiagnosedPublisher and switched to ROS_TIME (#243)
  • Check if parameter is already declared to avoid re-declaring it. (#227)
  • Update CMakeLists.txt to support modern cmake syntax
  • Fix diagnostic_updater cmake
  • Fix implicit conversion warnings
  • Contributors: Alberto Soragna, Austin, Christian Henkel, Grzegorz Głowacki, Nikos Koukis, Ralph Lange

3.0.0 (2022-06-10)

  • Merge pull request #217 from boschresearch/ros-time-for-frequency-stat
  • Allow clock instance to be set from outside in FrequencyStatus
  • Use node clock for diagnostic_aggregator and diagnostic_updater (#210)
  • Use DiagnosticStatus.msg values instead of creating bytes manually (#193)
  • Contributors: Arne Nordmann, BasVolkers, Kenji Miyake, Marco Lampacrescia

2.1.3 (2021-08-03)

  • Time Diagnostics can be used with Simulated Time. (#201)
  • Contributors: Marco Lampacrescia

2.1.2 (2021-03-03)

  • Replace every byte creation instance. (#184)
  • Enable multiple tasks publishing for diagnostic updater. (#182)
  • Contributors: BasVolkers

2.1.1 (2021-01-28)

2.1.0 (2021-01-12)

  • Update to latest ros2 rolling. (#177)

* Contributors: Karsten Knese 2.0.9 (2022-11-12) ------------------* Check if parameter is already declared to avoid re-declaring it. (#227) * Fix implicit conversion warnings * Use node clock in FrequencyStatus diagnostic * Allow clock instance to be set from outside in FrequencyStatus * Contributors: Arne Nordmann, Grzegorz Głowacki, Marco Lampacrescia, Nikos Koukis, Ralph Lange

2.0.8 (2021-08-03)

  • [ROS2] Time Diagnostics can be used with Simulated Time (#201) (#205)
  • Contributors: Marco Lampacrescia

2.0.7 (2021-03-04)

  • Enable multiple tasks publishing for diagnostic updater (#182) (#192)
  • Replace every byte creation instance (#184) (#191)
  • Contributors: BasVolkers

2.0.6 (2021-01-28)

2.0.5 (2021-01-06)

2.0.4 (2020-08-05)

2.0.3 (2020-07-09)

2.0.2 (2020-06-03)

  • 2.0.2
  • Re-add leading character to node name (#109)
  • Ros2 migrate diagnostic aggregator (#118)
  • Fix DiagnosedPublisher (#135)
  • fix linters (#134)
  • Contributors: DensoADAS, Karsten Knese, Scott K Logan, Arne Nordmann

2.0.1 (2020-06-03)

  • Re-add leading character to node name (#109)
  • Ros2 migrate diagnostic aggregator (#118)
  • Fix DiagnosedPublisher (#135)
  • fix linters (#134)
  • Contributors: DensoADAS, Arne Nordmann, Robin Vanhove, Karsten Knese, Scott K Logan

2.0.0 (2019-09-03)

  • Use rclpp timer instead of custom updater logic. (#114)
  • Use std::isfinite since it is supported on all platorms. (#123)
  • Make DiagnosticStatusWrapper no longer implicitly copyable. (#117)
  • Add virtual destructor to task vector class. (#122)
  • Support for node interfaces to allow diagnostics to be used with lifecycle nodes. (#112)
  • Spin on node in diagnostic_updater example to query parameters. (#120)
  • Set diagnostic_updater default period to 1s instead of 1ns. (#110)
  • Make Karsten Knese Maintainer for ROS2 branches #115
  • Migrate diagnostic_updater to ROS2 #102
  • Custom names for FrequencyStatus and TimeStampStatus #86
  • Make FrequencyStatus' name configurable #84
  • Contributors: Austin, Dan Rose, Ian Colwell, Karsten Knese, Nils Bussas, Scott K Logan, VaibhavBhadade

1.9.3 (2018-05-02)

  • Merge pull request #73 from tue-robotics/indigo-devel Add a simple Heartbeat-DiagnosticTask
  • Add Python version of Heartbeat DiagnosticTask
  • Add a very very simple Heartbeat DiagnosticTask
  • Contributors: Austin, Loy van Beek, loy

1.9.2 (2017-07-15)

1.9.1 (2017-07-15)

  • Add queue size parameters on Publishers
  • Minor python updates
  • Contributors: trainman419

1.9.0 (2017-04-25)

  • make rostest in CMakeLists optional (ros/rosdistro#3010)
  • Fixed bug with merge summary in status wrapper
  • Contributors: Lukas Bulwahn, pAIgn10

1.8.10 (2016-06-14)

1.8.9 (2016-03-02)

1.8.8 (2015-08-06)

1.8.7 (2015-01-09)

1.8.6 (2014-12-10)

1.8.5 (2014-07-29)

1.8.4 (2014-07-24 20:51)

1.8.3 (2014-04-23)

  • Initialize next_time_ properly. Fixes #20
  • Add failing test for fast updater
  • Contributors: Austin Hendrix

1.8.2 (2014-04-08)

  • Fix linking. All tests pass. Fixes #12
  • Most tests pass
  • Fix doc reference. Fixes #14
  • Contributors: Austin Hendrix

1.8.1 (2014-04-07)

  • Add myself as maintainer
  • Added ability to supply a custom node name (prefix) to Updater
  • Added ability to supply node handle and private node handle to Updater
  • fixed exporting python API to address #10
  • fixed test related issues in some CMakeLists
  • check for CATKIN_ENABLE_TESTING
  • Contributors: Aero, Austin Hendrix, Brice Rebsamen, Lukas Bulwahn, Mitchell Wills

1.8.0 (2013-04-03)

1.7.11 (2014-07-24 20:24)

  • Fix linking on tests
  • support python binding of diagnostic_updater on groovy
  • Contributors: Ryohei Ueda, trainman419

1.7.10 (2013-02-22)

  • Changed package.xml version number before releasing
  • added missing license header
  • added missing license headers
  • Contributors: Aaron Blasdel, Brice Rebsamen

1.7.9 (2012-12-14)

  • add missing dep to catkin
  • Contributors: Dirk Thomas

1.7.8 (2012-12-06)

  • missing includedirs from roscpp cause compile errors. diagnostic_aggregator/include/diagnostic_aggregator/status_item.h:45:21: fatal error: ros/ros.h: No such file or directory diagnostics/diagnostic_updater/include/diagnostic_updater/diagnostic_updater.h:42:29: fatal error: ros/node_handle.h: No such file or directory compilation terminated.
  • Contributors: Thibault Kruse

1.7.7 (2012-11-10)

1.7.6 (2012-11-07 23:32)

1.7.5 (2012-11-07 21:53)

1.7.4 (2012-11-07 20:18)

1.7.3 (2012-11-04)

  • fix the non-existing xml
  • Contributors: Vincent Rabaud

1.7.2 (2012-10-30 22:31)

  • fix rostest
  • Contributors: Vincent Rabaud

1.7.1 (2012-10-30 15:30)

  • fix a few things after the first release
  • fix a few things all over
  • Contributors: Vincent Rabaud

1.7.0 (2012-10-29)

  • catkinize the stack
  • backport the Python API from 1.7.0
  • use the proper gtest macro
  • Created branch 1.7.0 and reverted corresponding changes in trunk and tag 1.7.0 As a result branch 1.7.0 contains the new python API, and trunk corresponds to 1.6.4
  • Added Python API to diagnostic_updater
  • Fixing docs for frequency status parameters, #5093
  • Remove unused (according to K. Watts) class that depends on now nonexistent ros::Message
  • Remove unused (according to K. Watts) class that depends on now nonexistent ros::Message
  • Fixing formatting for diagnostic updater's update_functions. #4523
  • Adding std_msgs dependency to diagnostic_aggregator. #4491
  • Deprecated message methods removed in diagnostics updater
  • Added Ubuntu platform tags to manifest
  • Corrected the version number in which removeByName was added.
  • Added a removeByName method that allows a diagnostic task to be removed from a diagnostic_updater.
  • Adding checks to diagnostic status wrapper to verify output from bool values
  • Removed special handling of uint8 in diagnostic_status_wrapper. Uint8 isn't always bool.
  • DiagnosticStatusWrapper now has bool support in add() function. #3860
  • Marked diagnostic_updater and self_test as doc reviewed.
  • Tweaked examples and documentation based on doc review feedback.
  • Dox updates for diagnostic updater
  • Changed error to warning level in frequency status regression test
  • Removed ROS API from doxygen. Added setHardwareID method to example code.
  • Fixing param name in diagnostic updater
  • Reporting frequency problems as warning, not error in diagnostic_updater, #3555
  • Took out all deprecated stuff from diagnostic_updater.
  • Made diagnostic_updater example go into bin directory.
  • Changed getParam to getParamCached.
  • Updated review status to API cleared.
  • Returned check of diagnostic_period to only happen when the update happens pending fix of ROS 0.0, -0.0, -0.0, 0.11215413361787796, -0.0)
  • Finished example and documentation. Renamed CombinationDiagnosticUpdater to CompositeDiagnosticUpdater.
  • Added setHardwareID to diagnostic_updater.
  • Reintroduced an Updater constructor that takes a node handle because a lot of nodes actually depend on it.
  • Bug slipped into previous checkin.
  • Updating documentation. Took NodeHandle parameter out of Updater constructor.
  • Added setHardwareID method, and now warns if it is not used.
  • Got rid of ComposableDiagnosticTask. Now all tasks are composable.
  • Modified diagnostic_period so that it gets checked every time the update method is called. This way a long period can get shortened without waiting for the long period to expire.
  • When a diagnostic task is first added to a diagnostic_updater, the initial status is now OK instead of error.
  • Added timestamp to diagnostic updater publish call. Auto-filling of timestamps is deprecated in ROS 0.10
  • Fixed spurious newline in string that was preventing compilation of diagnostic_updater users.
  • Finished updating the diagnostics for diagnostic_updater.
  • Commented the DiagnosedPublisher classes.
  • Added some comments to diagnostic_updater and made ComposableDiagnosticTask::split_run protected.
  • Updated diagnosed publisher code to be able to work with a CameraPublisher
  • Getting diagnostic_updater to compile. Still spewing a bunch of warnings.
  • Added extra debugging options to self_test and diagnostic_updater. On by default for self_test, off for diagnostic_updater. When on, failing statuses will be printed to the console.
  • updated self_test, diagnostic_updater, dynamic_reconfigure and wge100_camera to use new ~ namespace access method
  • Corrected diagnostic status merge logic.
  • diagnostics 0.1 commit. Removed diagnostic_analyzer/generic_analyzer and integrated into diagnostic_aggregator.
  • Add a method to clear the DiagnosticStatus values in DiagnosticStatusWrapper. Clear old values when reusing DiagnosticStatusWrapper.
  • Took out adds and addsf from diagnostic_updater/DiagnosticStatusWrapper now that all other nodes have been modified.
  • Converted adds into add and add-f into addf. Left the old ones, but they are now deprecated.
  • Updated self test for new diagnostic format.
  • Updated DiagnosticStatusWrapper for changes in diagnostic format.
  • Cleaned up DiagnosticStatusWrapper in response to change in diagnostic message.
  • Fixes for diagnostic_msgs::KeyValue::label -> key
  • fixing through diagnostic_updater
  • Changed DiagnosticMessage to DiagnosticArray
  • Changed DiagnosticValue to KeyValue
  • Fixed bug in declaration of deprecated class.
  • Deprecated old self_test and diagnostic_updater APIs.
  • Minor improvements to diagnostic updater.
  • Allowed Publisher to be changed in a DiagnosedPublisher. This allows the Publisher to be created later than the DiagnosedPublisher.
  • add cstdio include for gcc 4.4
  • Took out const_cast that became unnecessary thanks to the resolution of ticket #1228.
  • Added missing includes.
  • robot_msgs/Diagnostic* to diagnostic_msgs/Diagnostic* and robot_srvs/SelfTest into diagnostic_msgs too
  • Added DiagnosedPublisher and HeaderlessDiagnosedPublisher to automatically publish diagnostics upon publication, and integrated them with the forearm_camera. Started writing an outling of the driver_base classes.
  • Committing change from Blaise's tree
  • Added a formatted summary method to DiagnosticStatusWrapper.
  • Corrected a bug in the frequency updater, and made it and the timestamp updaters thread safe.
  • Added a TimeStampStatus diagnostic to monitor that timestamps are reasonably close to now.
  • Slowed timing by 10x in test case to improve odds of passing on 64 bit architectures.
  • Corrected some bugs that could have caused undefined behavior. Added support for automatically publishing a "Starting up" message before the while the node is initializing. Did some refactoring.
  • Fixed a bug in how function classes were being added to the Updater.
  • Fixed a bug in frequency diagnostic reporting.
  • Modified update functions so that they are function classes. Added a correspondence convenience add method to Updater_base.
  • Corrected a possibly infinite recursion in adds.
  • Small fix to compatibility layer for old-style nodes
  • Upgraded the diagnostic_updater to use NodeHandles, and to allow more general functions to be used. Started adding update_functions to do common diagnostic publishing tasks. This will be populated more later.
  • Added a DiagnosticStatusWrapper class derived from DiagnosticStatus. It adds a few methods to more conveniently set the DiagnosticStatus's fields. The diagnostic_updater has been updated so that it can work with DiagnosticStatus or DiagnosticStatusWrapper.:
  • diagnostic_updater: Now can be used with classes that don't inherit from Node.
  • roscpp API changes
    • ros::node -> ros::Node
    • ros::msg -> ros::Message
    • deprecated methods removed
    • rosconsole/rosconsole.h -> ros/console.h
    • goodbye rosthread
  • bogus dependency
  • results from changing ros::Time constructor and all uses of it I can find
  • Adding node name into diagnostic updater status names.
  • Moving package review status from wiki to manifests
  • Changing form of advertise in diagnostic updater.
  • Removing old printf from diagnostic_updater.
  • Checking in package for easy diagnostic updating.
  • Contributors: Vincent Rabaud, blaise, blaisegassend, bricerebsamen, ehberger, gerkey, jfaustwg, jleibs, leibs, morgan_quigley, pmihelich, rob_wheeler, straszheim, tfoote, vrabaud, watts, wattsk

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged diagnostic_updater at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 4.3.1
License BSD-3-Clause
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros/diagnostics.git
VCS Type git
VCS Version ros2
Last Updated 2024-07-31
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

diagnostic_updater contains tools for easily updating diagnostics. it is commonly used in device drivers to keep track of the status of output topics, device status, etc.

Additional Links

Maintainers

  • Austin Hendrix
  • Brice Rebsamen
  • Christian Henkel
  • Ralph Lange

Authors

  • Jeremy Leibs
  • Blaise Gassend
  • Kevin Watts
  • Brice Rebsamen

General information about this repository, including legal information, build instructions and known issues/limitations, are given in README.md in the repository root.

The diagnostic_updater package

This package is used to implement the collection of diagnostics information.

Overview

It can for example update the state of sensors or actors of the robot. Common tasks include

  • Publish the status of a sensor topic from a device driver
  • Report that a hardware device is closed
  • Send an error if a value is out bounds (e.g. temperature)

Example

The file example.cpp contains an example of how to use the diagnostic_updater.

C++ and Python API

The main classes are:

DiagnosticStatusWrapper

This class is used to create a diagnostic message. It simplifies the creation of the message by providing methods to set the level, name, message and values. There is also the possibility to merge multiple DiagnosticStatusWrapper into one.

Updater

This class is used to collect the diagnostic messages and to publish them.

DiagnosedPublisher

A ROS publisher with included diagnostics. It diagnoses the frequency of the published messages.

CHANGELOG

Changelog for package diagnostic_updater

4.3.1 (2024-07-30)

  • Fix correctly exporting the library (#388) (#393)
  • Minimize header includes by moving impl to .cpp files (#331) and Fix usage of rclcpp::ok with a non-default context (#352) (#390)
  • Contributors: Christian Henkel, Ramon Wijnands, Hervé Audren

3.2.1 (2024-06-27)

  • change(diagnosed-publisher): allow specifying node clock (#340)
  • Fix usage of rclcpp::ok with a non-default context (#352)
  • Contributors: Hervé Audren, Rein Appeldoorn

3.2.0 (2024-03-22)

  • including depdency (#322)
  • Debugging instability introduced by #317 (#323)
  • feat: add param to use fqn in updater (#320)
  • fix: method names & verbose logging (#307)
  • Fix diagnostic_updater timestamps (#299)
  • Contributors: Christian Henkel, Kevin Schwarzer, h-wata, outrider-jhulas

3.1.2 (2023-03-24)

3.1.1 (2023-03-16)

  • Secretly supporting galactic (#295)
  • Linting additional package (#268)
  • Adding unit test for DiagnosticStatusWrapper
  • Maintainer update
  • Contributors: Austin, Christian Henkel, Jordan Palacios, Ralph Lange

3.1.0 (2023-01-26)

  • Merge of foxy and humble history into rolling for future maintenance from one branch only.
  • Adding READMEs to the repo (#270)
  • License fixes (#263)
  • Fix/cleanup ros1 (#257)
  • Fixed DiagnosedPublisher and switched to ROS_TIME (#243)
  • Check if parameter is already declared to avoid re-declaring it. (#227)
  • Update CMakeLists.txt to support modern cmake syntax
  • Fix diagnostic_updater cmake
  • Fix implicit conversion warnings
  • Contributors: Alberto Soragna, Austin, Christian Henkel, Grzegorz Głowacki, Nikos Koukis, Ralph Lange

3.0.0 (2022-06-10)

  • Merge pull request #217 from boschresearch/ros-time-for-frequency-stat
  • Allow clock instance to be set from outside in FrequencyStatus
  • Use node clock for diagnostic_aggregator and diagnostic_updater (#210)
  • Use DiagnosticStatus.msg values instead of creating bytes manually (#193)
  • Contributors: Arne Nordmann, BasVolkers, Kenji Miyake, Marco Lampacrescia

2.1.3 (2021-08-03)

  • Time Diagnostics can be used with Simulated Time. (#201)
  • Contributors: Marco Lampacrescia

2.1.2 (2021-03-03)

  • Replace every byte creation instance. (#184)
  • Enable multiple tasks publishing for diagnostic updater. (#182)
  • Contributors: BasVolkers

2.1.1 (2021-01-28)

2.1.0 (2021-01-12)

  • Update to latest ros2 rolling. (#177)

* Contributors: Karsten Knese 2.0.9 (2022-11-12) ------------------* Check if parameter is already declared to avoid re-declaring it. (#227) * Fix implicit conversion warnings * Use node clock in FrequencyStatus diagnostic * Allow clock instance to be set from outside in FrequencyStatus * Contributors: Arne Nordmann, Grzegorz Głowacki, Marco Lampacrescia, Nikos Koukis, Ralph Lange

2.0.8 (2021-08-03)

  • [ROS2] Time Diagnostics can be used with Simulated Time (#201) (#205)
  • Contributors: Marco Lampacrescia

2.0.7 (2021-03-04)

  • Enable multiple tasks publishing for diagnostic updater (#182) (#192)
  • Replace every byte creation instance (#184) (#191)
  • Contributors: BasVolkers

2.0.6 (2021-01-28)

2.0.5 (2021-01-06)

2.0.4 (2020-08-05)

2.0.3 (2020-07-09)

2.0.2 (2020-06-03)

  • 2.0.2
  • Re-add leading character to node name (#109)
  • Ros2 migrate diagnostic aggregator (#118)
  • Fix DiagnosedPublisher (#135)
  • fix linters (#134)
  • Contributors: DensoADAS, Karsten Knese, Scott K Logan, Arne Nordmann

2.0.1 (2020-06-03)

  • Re-add leading character to node name (#109)
  • Ros2 migrate diagnostic aggregator (#118)
  • Fix DiagnosedPublisher (#135)
  • fix linters (#134)
  • Contributors: DensoADAS, Arne Nordmann, Robin Vanhove, Karsten Knese, Scott K Logan

2.0.0 (2019-09-03)

  • Use rclpp timer instead of custom updater logic. (#114)
  • Use std::isfinite since it is supported on all platorms. (#123)
  • Make DiagnosticStatusWrapper no longer implicitly copyable. (#117)
  • Add virtual destructor to task vector class. (#122)
  • Support for node interfaces to allow diagnostics to be used with lifecycle nodes. (#112)
  • Spin on node in diagnostic_updater example to query parameters. (#120)
  • Set diagnostic_updater default period to 1s instead of 1ns. (#110)
  • Make Karsten Knese Maintainer for ROS2 branches #115
  • Migrate diagnostic_updater to ROS2 #102
  • Custom names for FrequencyStatus and TimeStampStatus #86
  • Make FrequencyStatus' name configurable #84
  • Contributors: Austin, Dan Rose, Ian Colwell, Karsten Knese, Nils Bussas, Scott K Logan, VaibhavBhadade

1.9.3 (2018-05-02)

  • Merge pull request #73 from tue-robotics/indigo-devel Add a simple Heartbeat-DiagnosticTask
  • Add Python version of Heartbeat DiagnosticTask
  • Add a very very simple Heartbeat DiagnosticTask
  • Contributors: Austin, Loy van Beek, loy

1.9.2 (2017-07-15)

1.9.1 (2017-07-15)

  • Add queue size parameters on Publishers
  • Minor python updates
  • Contributors: trainman419

1.9.0 (2017-04-25)

  • make rostest in CMakeLists optional (ros/rosdistro#3010)
  • Fixed bug with merge summary in status wrapper
  • Contributors: Lukas Bulwahn, pAIgn10

1.8.10 (2016-06-14)

1.8.9 (2016-03-02)

1.8.8 (2015-08-06)

1.8.7 (2015-01-09)

1.8.6 (2014-12-10)

1.8.5 (2014-07-29)

1.8.4 (2014-07-24 20:51)

1.8.3 (2014-04-23)

  • Initialize next_time_ properly. Fixes #20
  • Add failing test for fast updater
  • Contributors: Austin Hendrix

1.8.2 (2014-04-08)

  • Fix linking. All tests pass. Fixes #12
  • Most tests pass
  • Fix doc reference. Fixes #14
  • Contributors: Austin Hendrix

1.8.1 (2014-04-07)

  • Add myself as maintainer
  • Added ability to supply a custom node name (prefix) to Updater
  • Added ability to supply node handle and private node handle to Updater
  • fixed exporting python API to address #10
  • fixed test related issues in some CMakeLists
  • check for CATKIN_ENABLE_TESTING
  • Contributors: Aero, Austin Hendrix, Brice Rebsamen, Lukas Bulwahn, Mitchell Wills

1.8.0 (2013-04-03)

1.7.11 (2014-07-24 20:24)

  • Fix linking on tests
  • support python binding of diagnostic_updater on groovy
  • Contributors: Ryohei Ueda, trainman419

1.7.10 (2013-02-22)

  • Changed package.xml version number before releasing
  • added missing license header
  • added missing license headers
  • Contributors: Aaron Blasdel, Brice Rebsamen

1.7.9 (2012-12-14)

  • add missing dep to catkin
  • Contributors: Dirk Thomas

1.7.8 (2012-12-06)

  • missing includedirs from roscpp cause compile errors. diagnostic_aggregator/include/diagnostic_aggregator/status_item.h:45:21: fatal error: ros/ros.h: No such file or directory diagnostics/diagnostic_updater/include/diagnostic_updater/diagnostic_updater.h:42:29: fatal error: ros/node_handle.h: No such file or directory compilation terminated.
  • Contributors: Thibault Kruse

1.7.7 (2012-11-10)

1.7.6 (2012-11-07 23:32)

1.7.5 (2012-11-07 21:53)

1.7.4 (2012-11-07 20:18)

1.7.3 (2012-11-04)

  • fix the non-existing xml
  • Contributors: Vincent Rabaud

1.7.2 (2012-10-30 22:31)

  • fix rostest
  • Contributors: Vincent Rabaud

1.7.1 (2012-10-30 15:30)

  • fix a few things after the first release
  • fix a few things all over
  • Contributors: Vincent Rabaud

1.7.0 (2012-10-29)

  • catkinize the stack
  • backport the Python API from 1.7.0
  • use the proper gtest macro
  • Created branch 1.7.0 and reverted corresponding changes in trunk and tag 1.7.0 As a result branch 1.7.0 contains the new python API, and trunk corresponds to 1.6.4
  • Added Python API to diagnostic_updater
  • Fixing docs for frequency status parameters, #5093
  • Remove unused (according to K. Watts) class that depends on now nonexistent ros::Message
  • Remove unused (according to K. Watts) class that depends on now nonexistent ros::Message
  • Fixing formatting for diagnostic updater's update_functions. #4523
  • Adding std_msgs dependency to diagnostic_aggregator. #4491
  • Deprecated message methods removed in diagnostics updater
  • Added Ubuntu platform tags to manifest
  • Corrected the version number in which removeByName was added.
  • Added a removeByName method that allows a diagnostic task to be removed from a diagnostic_updater.
  • Adding checks to diagnostic status wrapper to verify output from bool values
  • Removed special handling of uint8 in diagnostic_status_wrapper. Uint8 isn't always bool.
  • DiagnosticStatusWrapper now has bool support in add() function. #3860
  • Marked diagnostic_updater and self_test as doc reviewed.
  • Tweaked examples and documentation based on doc review feedback.
  • Dox updates for diagnostic updater
  • Changed error to warning level in frequency status regression test
  • Removed ROS API from doxygen. Added setHardwareID method to example code.
  • Fixing param name in diagnostic updater
  • Reporting frequency problems as warning, not error in diagnostic_updater, #3555
  • Took out all deprecated stuff from diagnostic_updater.
  • Made diagnostic_updater example go into bin directory.
  • Changed getParam to getParamCached.
  • Updated review status to API cleared.
  • Returned check of diagnostic_period to only happen when the update happens pending fix of ROS 0.0, -0.0, -0.0, 0.11215413361787796, -0.0)
  • Finished example and documentation. Renamed CombinationDiagnosticUpdater to CompositeDiagnosticUpdater.
  • Added setHardwareID to diagnostic_updater.
  • Reintroduced an Updater constructor that takes a node handle because a lot of nodes actually depend on it.
  • Bug slipped into previous checkin.
  • Updating documentation. Took NodeHandle parameter out of Updater constructor.
  • Added setHardwareID method, and now warns if it is not used.
  • Got rid of ComposableDiagnosticTask. Now all tasks are composable.
  • Modified diagnostic_period so that it gets checked every time the update method is called. This way a long period can get shortened without waiting for the long period to expire.
  • When a diagnostic task is first added to a diagnostic_updater, the initial status is now OK instead of error.
  • Added timestamp to diagnostic updater publish call. Auto-filling of timestamps is deprecated in ROS 0.10
  • Fixed spurious newline in string that was preventing compilation of diagnostic_updater users.
  • Finished updating the diagnostics for diagnostic_updater.
  • Commented the DiagnosedPublisher classes.
  • Added some comments to diagnostic_updater and made ComposableDiagnosticTask::split_run protected.
  • Updated diagnosed publisher code to be able to work with a CameraPublisher
  • Getting diagnostic_updater to compile. Still spewing a bunch of warnings.
  • Added extra debugging options to self_test and diagnostic_updater. On by default for self_test, off for diagnostic_updater. When on, failing statuses will be printed to the console.
  • updated self_test, diagnostic_updater, dynamic_reconfigure and wge100_camera to use new ~ namespace access method
  • Corrected diagnostic status merge logic.
  • diagnostics 0.1 commit. Removed diagnostic_analyzer/generic_analyzer and integrated into diagnostic_aggregator.
  • Add a method to clear the DiagnosticStatus values in DiagnosticStatusWrapper. Clear old values when reusing DiagnosticStatusWrapper.
  • Took out adds and addsf from diagnostic_updater/DiagnosticStatusWrapper now that all other nodes have been modified.
  • Converted adds into add and add-f into addf. Left the old ones, but they are now deprecated.
  • Updated self test for new diagnostic format.
  • Updated DiagnosticStatusWrapper for changes in diagnostic format.
  • Cleaned up DiagnosticStatusWrapper in response to change in diagnostic message.
  • Fixes for diagnostic_msgs::KeyValue::label -> key
  • fixing through diagnostic_updater
  • Changed DiagnosticMessage to DiagnosticArray
  • Changed DiagnosticValue to KeyValue
  • Fixed bug in declaration of deprecated class.
  • Deprecated old self_test and diagnostic_updater APIs.
  • Minor improvements to diagnostic updater.
  • Allowed Publisher to be changed in a DiagnosedPublisher. This allows the Publisher to be created later than the DiagnosedPublisher.
  • add cstdio include for gcc 4.4
  • Took out const_cast that became unnecessary thanks to the resolution of ticket #1228.
  • Added missing includes.
  • robot_msgs/Diagnostic* to diagnostic_msgs/Diagnostic* and robot_srvs/SelfTest into diagnostic_msgs too
  • Added DiagnosedPublisher and HeaderlessDiagnosedPublisher to automatically publish diagnostics upon publication, and integrated them with the forearm_camera. Started writing an outling of the driver_base classes.
  • Committing change from Blaise's tree
  • Added a formatted summary method to DiagnosticStatusWrapper.
  • Corrected a bug in the frequency updater, and made it and the timestamp updaters thread safe.
  • Added a TimeStampStatus diagnostic to monitor that timestamps are reasonably close to now.
  • Slowed timing by 10x in test case to improve odds of passing on 64 bit architectures.
  • Corrected some bugs that could have caused undefined behavior. Added support for automatically publishing a "Starting up" message before the while the node is initializing. Did some refactoring.
  • Fixed a bug in how function classes were being added to the Updater.
  • Fixed a bug in frequency diagnostic reporting.
  • Modified update functions so that they are function classes. Added a correspondence convenience add method to Updater_base.
  • Corrected a possibly infinite recursion in adds.
  • Small fix to compatibility layer for old-style nodes
  • Upgraded the diagnostic_updater to use NodeHandles, and to allow more general functions to be used. Started adding update_functions to do common diagnostic publishing tasks. This will be populated more later.
  • Added a DiagnosticStatusWrapper class derived from DiagnosticStatus. It adds a few methods to more conveniently set the DiagnosticStatus's fields. The diagnostic_updater has been updated so that it can work with DiagnosticStatus or DiagnosticStatusWrapper.:
  • diagnostic_updater: Now can be used with classes that don't inherit from Node.
  • roscpp API changes
    • ros::node -> ros::Node
    • ros::msg -> ros::Message
    • deprecated methods removed
    • rosconsole/rosconsole.h -> ros/console.h
    • goodbye rosthread
  • bogus dependency
  • results from changing ros::Time constructor and all uses of it I can find
  • Adding node name into diagnostic updater status names.
  • Moving package review status from wiki to manifests
  • Changing form of advertise in diagnostic updater.
  • Removing old printf from diagnostic_updater.
  • Checking in package for easy diagnostic updating.
  • Contributors: Vincent Rabaud, blaise, blaisegassend, bricerebsamen, ehberger, gerkey, jfaustwg, jleibs, leibs, morgan_quigley, pmihelich, rob_wheeler, straszheim, tfoote, vrabaud, watts, wattsk

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged diagnostic_updater at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 1.11.0
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros/diagnostics.git
VCS Type git
VCS Version noetic-devel
Last Updated 2024-04-26
Dev Status MAINTAINED
CI status
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

diagnostic_updater contains tools for easily updating diagnostics. it is commonly used in device drivers to keep track of the status of output topics, device status, etc.

Additional Links

Maintainers

  • Guglielmo Gemignani
  • Austin Hendrix

Authors

  • Kevin Watts
  • Brice Rebsamen
  • Jeremy Leibs
  • Blaise Gassend
README
No README found. No README in repository either.
CHANGELOG

Changelog for package diagnostic_updater

1.11.0 (2021-12-31)

  • Use DiagnosticLevel enum instead of hardcoded integers (#208) Spellcheck fixes
  • Contributors: Amilcar Lucas

1.10.4 (2021-03-14)

  • Fix some doc typos and remove travis config (#173)
    • cleate -> create
    • single single -> single
    • remove travis config
  • Contributors: Mikael Arguedas

1.10.3 (2020-12-05)

  • Use get_param_cached in diagnostic_updater
  • Diagnostic status msg is not included but being used (#163)
    • Diagnostic status msg is not included but being used
    • Update update_functions.h
  • Change depends to catkin_depends for catkin packages (#162)
    • Change depends to catkin_depends for catkin packages
    • The library also depends on catkin_libs
  • Update maintainer info
  • Contributors: Tobias Fischer, gemignani

1.10.2 (2020-09-03)

  • Estract TimestampStatus run to cpp
  • Contributors: Guglielmo Gemignani

1.10.1 (2020-08-20)

  • Resolve div by zero in updater (#108)
  • Use std::isfinite due to deprecation on osx (#113)
  • Remove extra (not needed) trailing ':' (#116)
  • Fix GCC warnings with -Wpedantic (#124)
  • Add SlowTimeStampStatus (#144)
  • Contributors: Enrique Fernandez Perdomo, Jacob Perron, Martin Pecka, Stephan Sundermann, William Hudgins, gemignani

1.10.0 (2020-08-11)

  • Make Guglielmo Gemignani ROS1 maintainer (#155)
  • Test build fix on Windows build. (#8) (#138)
  • Contributors: Guglielmo Gemignani, Sean Yen

1.9.4 (2020-04-01)

  • noetic release (#136)
  • Merge pull request #105 from mikepurvis/py3-httplib Fix httplib import for Python 3.
  • Fix httplib import for Python 3.
  • Merge pull request #97 from kejxu/fix_windows_build_issue fix windows build issue
  • Merge branch 'indigo-devel' into fix_windows_build_issue
  • update windows bringup (#5)
  • avoid ERROR from windows.h
  • windows bringup
  • Merge pull request #86 from icolwell/diagnostic_status_custom_names Custom names for FrequencyStatus and TimeStampStatus
  • Remove C++11 features
  • Wording
  • Custom names for existing diagnostics tasks
  • Merge pull request #84 from nbussas/frequency_status_name Make FrequencyStatus' name configurable
  • Make FrequencyStatus' name configurable
  • Contributors: Alejandro Hernández Cordero, Austin, Ian Colwell, James Xu, Mike Purvis, Nils Bussas, Sean Yen

1.9.3 (2018-05-02)

  • Merge pull request #73 from tue-robotics/indigo-devel Add a simple Heartbeat-DiagnosticTask
  • Add Python version of Heartbeat DiagnosticTask
  • Add a very very simple Heartbeat DiagnosticTask
  • Contributors: Austin, Loy van Beek, loy

1.9.2 (2017-07-15)

1.9.1 (2017-07-15)

  • Add queue size parameters on Publishers
  • Minor python updates
  • Contributors: trainman419

1.9.0 (2017-04-25)

  • make rostest in CMakeLists optional (ros/rosdistro#3010)
  • Fixed bug with merge summary in status wrapper
  • Contributors: Lukas Bulwahn, pAIgn10

1.8.10 (2016-06-14)

1.8.9 (2016-03-02)

1.8.8 (2015-08-06)

1.8.7 (2015-01-09)

1.8.6 (2014-12-10)

1.8.5 (2014-07-29)

1.8.4 (2014-07-24 20:51)

1.8.3 (2014-04-23)

  • Initialize next_time_ properly. Fixes #20
  • Add failing test for fast updater
  • Contributors: Austin Hendrix

1.8.2 (2014-04-08)

  • Fix linking. All tests pass. Fixes #12
  • Most tests pass
  • Fix doc reference. Fixes #14
  • Contributors: Austin Hendrix

1.8.1 (2014-04-07)

  • Add myself as maintainer
  • Added ability to supply a custom node name (prefix) to Updater
  • Added ability to supply node handle and private node handle to Updater
  • fixed exporting python API to address #10
  • fixed test related issues in some CMakeLists
  • check for CATKIN_ENABLE_TESTING
  • Contributors: Aero, Austin Hendrix, Brice Rebsamen, Lukas Bulwahn, Mitchell Wills

1.8.0 (2013-04-03)

1.7.11 (2014-07-24 20:24)

  • Fix linking on tests
  • support python binding of diagnostic_updater on groovy
  • Contributors: Ryohei Ueda, trainman419

1.7.10 (2013-02-22)

  • Changed package.xml version number before releasing
  • added missing license header
  • added missing license headers
  • Contributors: Aaron Blasdel, Brice Rebsamen

1.7.9 (2012-12-14)

  • add missing dep to catkin
  • Contributors: Dirk Thomas

1.7.8 (2012-12-06)

  • missing includedirs from roscpp cause compile errors. diagnostic_aggregator/include/diagnostic_aggregator/status_item.h:45:21: fatal error: ros/ros.h: No such file or directory diagnostics/diagnostic_updater/include/diagnostic_updater/diagnostic_updater.h:42:29: fatal error: ros/node_handle.h: No such file or directory compilation terminated.
  • Contributors: Thibault Kruse

1.7.7 (2012-11-10)

1.7.6 (2012-11-07 23:32)

1.7.5 (2012-11-07 21:53)

1.7.4 (2012-11-07 20:18)

1.7.3 (2012-11-04)

  • fix the non-existing xml
  • Contributors: Vincent Rabaud

1.7.2 (2012-10-30 22:31)

  • fix rostest
  • Contributors: Vincent Rabaud

1.7.1 (2012-10-30 15:30)

  • fix a few things after the first release
  • fix a few things all over
  • Contributors: Vincent Rabaud

1.7.0 (2012-10-29)

  • catkinize the stack
  • backport the Python API from 1.7.0
  • use the proper gtest macro
  • Created branch 1.7.0 and reverted corresponding changes in trunk and tag 1.7.0 As a result branch 1.7.0 contains the new python API, and trunk corresponds to 1.6.4
  • Added Python API to diagnostic_updater
  • Fixing docs for frequency status parameters, #5093
  • Remove unused (according to K. Watts) class that depends on now nonexistent ros::Message
  • Remove unused (according to K. Watts) class that depends on now nonexistent ros::Message
  • Fixing formatting for diagnostic updater's update_functions. #4523
  • Adding std_msgs dependency to diagnostic_aggregator. #4491
  • Deprecated message methods removed in diagnostics updater
  • Added Ubuntu platform tags to manifest
  • Corrected the version number in which removeByName was added.
  • Added a removeByName method that allows a diagnostic task to be removed from a diagnostic_updater.
  • Adding checks to diagnostic status wrapper to verify output from bool values
  • Removed special handling of uint8 in diagnostic_status_wrapper. Uint8 isn't always bool.
  • DiagnosticStatusWrapper now has bool support in add() function. #3860
  • Marked diagnostic_updater and self_test as doc reviewed.
  • Tweaked examples and documentation based on doc review feedback.
  • Dox updates for diagnostic updater
  • Changed error to warning level in frequency status regression test
  • Removed ROS API from doxygen. Added setHardwareID method to example code.
  • Fixing param name in diagnostic updater
  • Reporting frequency problems as warning, not error in diagnostic_updater, #3555
  • Took out all deprecated stuff from diagnostic_updater.
  • Made diagnostic_updater example go into bin directory.
  • Changed getParam to getParamCached.
  • Updated review status to API cleared.
  • Returned check of diagnostic_period to only happen when the update happens pending fix of ROS 0.0, -0.0, -0.0, 0.11215413361787796, -0.0)
  • Finished example and documentation. Renamed CombinationDiagnosticUpdater to CompositeDiagnosticUpdater.
  • Added setHardwareID to diagnostic_updater.
  • Reintroduced an Updater constructor that takes a node handle because a lot of nodes actually depend on it.
  • Bug slipped into previous checkin.
  • Updating documentation. Took NodeHandle parameter out of Updater constructor.
  • Added setHardwareID method, and now warns if it is not used.
  • Got rid of ComposableDiagnosticTask. Now all tasks are composable.
  • Modified diagnostic_period so that it gets checked every time the update method is called. This way a long period can get shortened without waiting for the long period to expire.
  • When a diagnostic task is first added to a diagnostic_updater, the initial status is now OK instead of error.
  • Added timestamp to diagnostic updater publish call. Auto-filling of timestamps is deprecated in ROS 0.10
  • Fixed spurious newline in string that was preventing compilation of diagnostic_updater users.
  • Finished updating the diagnostics for diagnostic_updater.
  • Commented the DiagnosedPublisher classes.
  • Added some comments to diagnostic_updater and made ComposableDiagnosticTask::split_run protected.
  • Updated diagnosed publisher code to be able to work with a CameraPublisher
  • Getting diagnostic_updater to compile. Still spewing a bunch of warnings.
  • Added extra debugging options to self_test and diagnostic_updater. On by default for self_test, off for diagnostic_updater. When on, failing statuses will be printed to the console.
  • updated self_test, diagnostic_updater, dynamic_reconfigure and wge100_camera to use new ~ namespace access method
  • Corrected diagnostic status merge logic.
  • diagnostics 0.1 commit. Removed diagnostic_analyzer/generic_analyzer and integrated into diagnostic_aggregator.
  • Add a method to clear the DiagnosticStatus values in DiagnosticStatusWrapper. Clear old values when reusing DiagnosticStatusWrapper.
  • Took out adds and addsf from diagnostic_updater/DiagnosticStatusWrapper now that all other nodes have been modified.
  • Converted adds into add and add-f into addf. Left the old ones, but they are now deprecated.
  • Updated self test for new diagnostic format.
  • Updated DiagnosticStatusWrapper for changes in diagnostic format.
  • Cleaned up DiagnosticStatusWrapper in response to change in diagnostic message.
  • Fixes for diagnostic_msgs::KeyValue::label -> key
  • fixing through diagnostic_updater
  • Changed DiagnosticMessage to DiagnosticArray
  • Changed DiagnosticValue to KeyValue
  • Fixed bug in declaration of deprecated class.
  • Deprecated old self_test and diagnostic_updater APIs.
  • Minor improvements to diagnostic updater.
  • Allowed Publisher to be changed in a DiagnosedPublisher. This allows the Publisher to be created later than the DiagnosedPublisher.
  • add cstdio include for gcc 4.4
  • Took out const_cast that became unnecessary thanks to the resolution of ticket #1228.
  • Added missing includes.
  • robot_msgs/Diagnostic* to diagnostic_msgs/Diagnostic* and robot_srvs/SelfTest into diagnostic_msgs too
  • Added DiagnosedPublisher and HeaderlessDiagnosedPublisher to automatically publish diagnostics upon publication, and integrated them with the forearm_camera. Started writing an outling of the driver_base classes.
  • Committing change from Blaise's tree
  • Added a formatted summary method to DiagnosticStatusWrapper.
  • Corrected a bug in the frequency updater, and made it and the timestamp updaters thread safe.
  • Added a TimeStampStatus diagnostic to monitor that timestamps are reasonably close to now.
  • Slowed timing by 10x in test case to improve odds of passing on 64 bit architectures.
  • Corrected some bugs that could have caused undefined behavior. Added support for automatically publishing a "Starting up" message before the while the node is initializing. Did some refactoring.
  • Fixed a bug in how function classes were being added to the Updater.
  • Fixed a bug in frequency diagnostic reporting.
  • Modified update functions so that they are function classes. Added a correspondence convenience add method to Updater_base.
  • Corrected a possibly infinite recursion in adds.
  • Small fix to compatibility layer for old-style nodes
  • Upgraded the diagnostic_updater to use NodeHandles, and to allow more general functions to be used. Started adding update_functions to do common diagnostic publishing tasks. This will be populated more later.
  • Added a DiagnosticStatusWrapper class derived from DiagnosticStatus. It adds a few methods to more conveniently set the DiagnosticStatus's fields. The diagnostic_updater has been updated so that it can work with DiagnosticStatus or DiagnosticStatusWrapper.:
  • diagnostic_updater: Now can be used with classes that don't inherit from Node.
  • roscpp API changes
    • ros::node -> ros::Node
    • ros::msg -> ros::Message
    • deprecated methods removed
    • rosconsole/rosconsole.h -> ros/console.h
    • goodbye rosthread
  • bogus dependency
  • results from changing ros::Time constructor and all uses of it I can find
  • Adding node name into diagnostic updater status names.
  • Moving package review status from wiki to manifests
  • Changing form of advertise in diagnostic updater.
  • Removing old printf from diagnostic_updater.
  • Checking in package for easy diagnostic updating.
  • Contributors: Vincent Rabaud, blaise, blaisegassend, bricerebsamen, ehberger, gerkey, jfaustwg, jleibs, leibs, morgan_quigley, pmihelich, rob_wheeler, straszheim, tfoote, vrabaud, watts, wattsk

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged diagnostic_updater at Robotics Stack Exchange

No version for distro ardent. Known supported distros are highlighted in the buttons above.
No version for distro bouncy. Known supported distros are highlighted in the buttons above.
No version for distro crystal. Known supported distros are highlighted in the buttons above.

diagnostic_updater package from diagnostics repo

diagnostic_updater self_test

Package Summary

Tags No category tags.
Version 2.0.1
License BSD
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros/diagnostics.git
VCS Type git
VCS Version eloquent
Last Updated 2019-12-09
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

diagnostic_updater contains tools for easily updating diagnostics. it is commonly used in device drivers to keep track of the status of output topics, device status, etc.

Additional Links

Maintainers

  • Austin Hendrix
  • Brice Rebsamen
  • Karsten Knese

Authors

  • Kevin Watts
  • Brice Rebsamen
  • Jeremy Leibs
  • Blaise Gassend
README
No README found. No README in repository either.
CHANGELOG

Changelog for package diagnostic_updater

2.0.1 (2019-12-09)

2.0.0 (2019-09-03)

  • Use rclpp timer instead of custom updater logic. (#114)
  • Use std::isfinite since it is supported on all platorms. (#123)
  • Make DiagnosticStatusWrapper no longer implicitly copyable. (#117)
  • Add virtual destructor to task vector class. (#122)
  • Support for node interfaces to allow diagnostics to be used with lifecycle nodes. (#112)
  • Spin on node in diagnostic_updater example to query parameters. (#120)
  • Set diagnostic_updater default period to 1s instead of 1ns. (#110)
  • Make Karsten Knese Maintainer for ROS2 branches #115
  • Migrate diagnostic_updater to ROS2 #102
  • Custom names for FrequencyStatus and TimeStampStatus #86
  • Make FrequencyStatus' name configurable #84
  • Contributors: Austin, Dan Rose, Ian Colwell, Karsten Knese, Nils Bussas, Scott K Logan, VaibhavBhadade

1.9.3 (2018-05-02)

  • Merge pull request #73 from tue-robotics/indigo-devel Add a simple Heartbeat-DiagnosticTask
  • Add Python version of Heartbeat DiagnosticTask
  • Add a very very simple Heartbeat DiagnosticTask
  • Contributors: Austin, Loy van Beek, loy

1.9.2 (2017-07-15)

1.9.1 (2017-07-15)

  • Add queue size parameters on Publishers
  • Minor python updates
  • Contributors: trainman419

1.9.0 (2017-04-25)

  • make rostest in CMakeLists optional (ros/rosdistro#3010)
  • Fixed bug with merge summary in status wrapper
  • Contributors: Lukas Bulwahn, pAIgn10

1.8.10 (2016-06-14)

1.8.9 (2016-03-02)

1.8.8 (2015-08-06)

1.8.7 (2015-01-09)

1.8.6 (2014-12-10)

1.8.5 (2014-07-29)

1.8.4 (2014-07-24 20:51)

1.8.3 (2014-04-23)

  • Initialize next_time_ properly. Fixes #20
  • Add failing test for fast updater
  • Contributors: Austin Hendrix

1.8.2 (2014-04-08)

  • Fix linking. All tests pass. Fixes #12
  • Most tests pass
  • Fix doc reference. Fixes #14
  • Contributors: Austin Hendrix

1.8.1 (2014-04-07)

  • Add myself as maintainer
  • Added ability to supply a custom node name (prefix) to Updater
  • Added ability to supply node handle and private node handle to Updater
  • fixed exporting python API to address #10
  • fixed test related issues in some CMakeLists
  • check for CATKIN_ENABLE_TESTING
  • Contributors: Aero, Austin Hendrix, Brice Rebsamen, Lukas Bulwahn, Mitchell Wills

1.8.0 (2013-04-03)

1.7.11 (2014-07-24 20:24)

  • Fix linking on tests
  • support python binding of diagnostic_updater on groovy
  • Contributors: Ryohei Ueda, trainman419

1.7.10 (2013-02-22)

  • Changed package.xml version number before releasing
  • added missing license header
  • added missing license headers
  • Contributors: Aaron Blasdel, Brice Rebsamen

1.7.9 (2012-12-14)

  • add missing dep to catkin
  • Contributors: Dirk Thomas

1.7.8 (2012-12-06)

  • missing includedirs from roscpp cause compile errors. diagnostic_aggregator/include/diagnostic_aggregator/status_item.h:45:21: fatal error: ros/ros.h: No such file or directory diagnostics/diagnostic_updater/include/diagnostic_updater/diagnostic_updater.h:42:29: fatal error: ros/node_handle.h: No such file or directory compilation terminated.
  • Contributors: Thibault Kruse

1.7.7 (2012-11-10)

1.7.6 (2012-11-07 23:32)

1.7.5 (2012-11-07 21:53)

1.7.4 (2012-11-07 20:18)

1.7.3 (2012-11-04)

  • fix the non-existing xml
  • Contributors: Vincent Rabaud

1.7.2 (2012-10-30 22:31)

  • fix rostest
  • Contributors: Vincent Rabaud

1.7.1 (2012-10-30 15:30)

  • fix a few things after the first release
  • fix a few things all over
  • Contributors: Vincent Rabaud

1.7.0 (2012-10-29)

  • catkinize the stack
  • backport the Python API from 1.7.0
  • use the proper gtest macro
  • Created branch 1.7.0 and reverted corresponding changes in trunk and tag 1.7.0 As a result branch 1.7.0 contains the new python API, and trunk corresponds to 1.6.4
  • Added Python API to diagnostic_updater
  • Fixing docs for frequency status parameters, #5093
  • Remove unused (according to K. Watts) class that depends on now nonexistent ros::Message
  • Remove unused (according to K. Watts) class that depends on now nonexistent ros::Message
  • Fixing formatting for diagnostic updater's update_functions. #4523
  • Adding std_msgs dependency to diagnostic_aggregator. #4491
  • Deprecated message methods removed in diagnostics updater
  • Added Ubuntu platform tags to manifest
  • Corrected the version number in which removeByName was added.
  • Added a removeByName method that allows a diagnostic task to be removed from a diagnostic_updater.
  • Adding checks to diagnostic status wrapper to verify output from bool values
  • Removed special handling of uint8 in diagnostic_status_wrapper. Uint8 isn't always bool.
  • DiagnosticStatusWrapper now has bool support in add() function. #3860
  • Marked diagnostic_updater and self_test as doc reviewed.
  • Tweaked examples and documentation based on doc review feedback.
  • Dox updates for diagnostic updater
  • Changed error to warning level in frequency status regression test
  • Removed ROS API from doxygen. Added setHardwareID method to example code.
  • Fixing param name in diagnostic updater
  • Reporting frequency problems as warning, not error in diagnostic_updater, #3555
  • Took out all deprecated stuff from diagnostic_updater.
  • Made diagnostic_updater example go into bin directory.
  • Changed getParam to getParamCached.
  • Updated review status to API cleared.
  • Returned check of diagnostic_period to only happen when the update happens pending fix of ROS 0.0, -0.0, -0.0, 0.11215413361787796, -0.0)
  • Finished example and documentation. Renamed CombinationDiagnosticUpdater to CompositeDiagnosticUpdater.
  • Added setHardwareID to diagnostic_updater.
  • Reintroduced an Updater constructor that takes a node handle because a lot of nodes actually depend on it.
  • Bug slipped into previous checkin.
  • Updating documentation. Took NodeHandle parameter out of Updater constructor.
  • Added setHardwareID method, and now warns if it is not used.
  • Got rid of ComposableDiagnosticTask. Now all tasks are composable.
  • Modified diagnostic_period so that it gets checked every time the update method is called. This way a long period can get shortened without waiting for the long period to expire.
  • When a diagnostic task is first added to a diagnostic_updater, the initial status is now OK instead of error.
  • Added timestamp to diagnostic updater publish call. Auto-filling of timestamps is deprecated in ROS 0.10
  • Fixed spurious newline in string that was preventing compilation of diagnostic_updater users.
  • Finished updating the diagnostics for diagnostic_updater.
  • Commented the DiagnosedPublisher classes.
  • Added some comments to diagnostic_updater and made ComposableDiagnosticTask::split_run protected.
  • Updated diagnosed publisher code to be able to work with a CameraPublisher
  • Getting diagnostic_updater to compile. Still spewing a bunch of warnings.
  • Added extra debugging options to self_test and diagnostic_updater. On by default for self_test, off for diagnostic_updater. When on, failing statuses will be printed to the console.
  • updated self_test, diagnostic_updater, dynamic_reconfigure and wge100_camera to use new ~ namespace access method
  • Corrected diagnostic status merge logic.
  • diagnostics 0.1 commit. Removed diagnostic_analyzer/generic_analyzer and integrated into diagnostic_aggregator.
  • Add a method to clear the DiagnosticStatus values in DiagnosticStatusWrapper. Clear old values when reusing DiagnosticStatusWrapper.
  • Took out adds and addsf from diagnostic_updater/DiagnosticStatusWrapper now that all other nodes have been modified.
  • Converted adds into add and add-f into addf. Left the old ones, but they are now deprecated.
  • Updated self test for new diagnostic format.
  • Updated DiagnosticStatusWrapper for changes in diagnostic format.
  • Cleaned up DiagnosticStatusWrapper in response to change in diagnostic message.
  • Fixes for diagnostic_msgs::KeyValue::label -> key
  • fixing through diagnostic_updater
  • Changed DiagnosticMessage to DiagnosticArray
  • Changed DiagnosticValue to KeyValue
  • Fixed bug in declaration of deprecated class.
  • Deprecated old self_test and diagnostic_updater APIs.
  • Minor improvements to diagnostic updater.
  • Allowed Publisher to be changed in a DiagnosedPublisher. This allows the Publisher to be created later than the DiagnosedPublisher.
  • add cstdio include for gcc 4.4
  • Took out const_cast that became unnecessary thanks to the resolution of ticket #1228.
  • Added missing includes.
  • robot_msgs/Diagnostic* to diagnostic_msgs/Diagnostic* and robot_srvs/SelfTest into diagnostic_msgs too
  • Added DiagnosedPublisher and HeaderlessDiagnosedPublisher to automatically publish diagnostics upon publication, and integrated them with the forearm_camera. Started writing an outling of the driver_base classes.
  • Committing change from Blaise's tree
  • Added a formatted summary method to DiagnosticStatusWrapper.
  • Corrected a bug in the frequency updater, and made it and the timestamp updaters thread safe.
  • Added a TimeStampStatus diagnostic to monitor that timestamps are reasonably close to now.
  • Slowed timing by 10x in test case to improve odds of passing on 64 bit architectures.
  • Corrected some bugs that could have caused undefined behavior. Added support for automatically publishing a "Starting up" message before the while the node is initializing. Did some refactoring.
  • Fixed a bug in how function classes were being added to the Updater.
  • Fixed a bug in frequency diagnostic reporting.
  • Modified update functions so that they are function classes. Added a correspondence convenience add method to Updater_base.
  • Corrected a possibly infinite recursion in adds.
  • Small fix to compatibility layer for old-style nodes
  • Upgraded the diagnostic_updater to use NodeHandles, and to allow more general functions to be used. Started adding update_functions to do common diagnostic publishing tasks. This will be populated more later.
  • Added a DiagnosticStatusWrapper class derived from DiagnosticStatus. It adds a few methods to more conveniently set the DiagnosticStatus's fields. The diagnostic_updater has been updated so that it can work with DiagnosticStatus or DiagnosticStatusWrapper.:
  • diagnostic_updater: Now can be used with classes that don't inherit from Node.
  • roscpp API changes
    • ros::node -> ros::Node
    • ros::msg -> ros::Message
    • deprecated methods removed
    • rosconsole/rosconsole.h -> ros/console.h
    • goodbye rosthread
  • bogus dependency
  • results from changing ros::Time constructor and all uses of it I can find
  • Adding node name into diagnostic updater status names.
  • Moving package review status from wiki to manifests
  • Changing form of advertise in diagnostic updater.
  • Removing old printf from diagnostic_updater.
  • Checking in package for easy diagnostic updating.
  • Contributors: Vincent Rabaud, blaise, blaisegassend, bricerebsamen, ehberger, gerkey, jfaustwg, jleibs, leibs, morgan_quigley, pmihelich, rob_wheeler, straszheim, tfoote, vrabaud, watts, wattsk

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged diagnostic_updater at Robotics Stack Exchange

diagnostic_updater package from diagnostics repo

diagnostic_updater self_test

Package Summary

Tags No category tags.
Version 2.0.0
License BSD
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros/diagnostics.git
VCS Type git
VCS Version dashing
Last Updated 2019-09-03
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

diagnostic_updater contains tools for easily updating diagnostics. it is commonly used in device drivers to keep track of the status of output topics, device status, etc.

Additional Links

Maintainers

  • Austin Hendrix
  • Brice Rebsamen
  • Karsten Knese

Authors

  • Kevin Watts
  • Brice Rebsamen
  • Jeremy Leibs
  • Blaise Gassend
README
No README found. No README in repository either.
CHANGELOG

Changelog for package diagnostic_updater

2.0.0 (2019-09-03)

  • Use rclpp timer instead of custom updater logic. (#114)
  • Use std::isfinite since it is supported on all platorms. (#123)
  • Make DiagnosticStatusWrapper no longer implicitly copyable. (#117)
  • Add virtual destructor to task vector class. (#122)
  • Support for node interfaces to allow diagnostics to be used with lifecycle nodes. (#112)
  • Spin on node in diagnostic_updater example to query parameters. (#120)
  • Set diagnostic_updater default period to 1s instead of 1ns. (#110)
  • Make Karsten Knese Maintainer for ROS2 branches #115
  • Migrate diagnostic_updater to ROS2 #102
  • Custom names for FrequencyStatus and TimeStampStatus #86
  • Make FrequencyStatus' name configurable #84
  • Contributors: Austin, Dan Rose, Ian Colwell, Karsten Knese, Nils Bussas, Scott K Logan, VaibhavBhadade

1.9.3 (2018-05-02)

  • Merge pull request #73 from tue-robotics/indigo-devel Add a simple Heartbeat-DiagnosticTask
  • Add Python version of Heartbeat DiagnosticTask
  • Add a very very simple Heartbeat DiagnosticTask
  • Contributors: Austin, Loy van Beek, loy

1.9.2 (2017-07-15)

1.9.1 (2017-07-15)

  • Add queue size parameters on Publishers
  • Minor python updates
  • Contributors: trainman419

1.9.0 (2017-04-25)

  • make rostest in CMakeLists optional (ros/rosdistro#3010)
  • Fixed bug with merge summary in status wrapper
  • Contributors: Lukas Bulwahn, pAIgn10

1.8.10 (2016-06-14)

1.8.9 (2016-03-02)

1.8.8 (2015-08-06)

1.8.7 (2015-01-09)

1.8.6 (2014-12-10)

1.8.5 (2014-07-29)

1.8.4 (2014-07-24 20:51)

1.8.3 (2014-04-23)

  • Initialize next_time_ properly. Fixes #20
  • Add failing test for fast updater
  • Contributors: Austin Hendrix

1.8.2 (2014-04-08)

  • Fix linking. All tests pass. Fixes #12
  • Most tests pass
  • Fix doc reference. Fixes #14
  • Contributors: Austin Hendrix

1.8.1 (2014-04-07)

  • Add myself as maintainer
  • Added ability to supply a custom node name (prefix) to Updater
  • Added ability to supply node handle and private node handle to Updater
  • fixed exporting python API to address #10
  • fixed test related issues in some CMakeLists
  • check for CATKIN_ENABLE_TESTING
  • Contributors: Aero, Austin Hendrix, Brice Rebsamen, Lukas Bulwahn, Mitchell Wills

1.8.0 (2013-04-03)

1.7.11 (2014-07-24 20:24)

  • Fix linking on tests
  • support python binding of diagnostic_updater on groovy
  • Contributors: Ryohei Ueda, trainman419

1.7.10 (2013-02-22)

  • Changed package.xml version number before releasing
  • added missing license header
  • added missing license headers
  • Contributors: Aaron Blasdel, Brice Rebsamen

1.7.9 (2012-12-14)

  • add missing dep to catkin
  • Contributors: Dirk Thomas

1.7.8 (2012-12-06)

  • missing includedirs from roscpp cause compile errors. diagnostic_aggregator/include/diagnostic_aggregator/status_item.h:45:21: fatal error: ros/ros.h: No such file or directory diagnostics/diagnostic_updater/include/diagnostic_updater/diagnostic_updater.h:42:29: fatal error: ros/node_handle.h: No such file or directory compilation terminated.
  • Contributors: Thibault Kruse

1.7.7 (2012-11-10)

1.7.6 (2012-11-07 23:32)

1.7.5 (2012-11-07 21:53)

1.7.4 (2012-11-07 20:18)

1.7.3 (2012-11-04)

  • fix the non-existing xml
  • Contributors: Vincent Rabaud

1.7.2 (2012-10-30 22:31)

  • fix rostest
  • Contributors: Vincent Rabaud

1.7.1 (2012-10-30 15:30)

  • fix a few things after the first release
  • fix a few things all over
  • Contributors: Vincent Rabaud

1.7.0 (2012-10-29)

  • catkinize the stack
  • backport the Python API from 1.7.0
  • use the proper gtest macro
  • Created branch 1.7.0 and reverted corresponding changes in trunk and tag 1.7.0 As a result branch 1.7.0 contains the new python API, and trunk corresponds to 1.6.4
  • Added Python API to diagnostic_updater
  • Fixing docs for frequency status parameters, #5093
  • Remove unused (according to K. Watts) class that depends on now nonexistent ros::Message
  • Remove unused (according to K. Watts) class that depends on now nonexistent ros::Message
  • Fixing formatting for diagnostic updater's update_functions. #4523
  • Adding std_msgs dependency to diagnostic_aggregator. #4491
  • Deprecated message methods removed in diagnostics updater
  • Added Ubuntu platform tags to manifest
  • Corrected the version number in which removeByName was added.
  • Added a removeByName method that allows a diagnostic task to be removed from a diagnostic_updater.
  • Adding checks to diagnostic status wrapper to verify output from bool values
  • Removed special handling of uint8 in diagnostic_status_wrapper. Uint8 isn't always bool.
  • DiagnosticStatusWrapper now has bool support in add() function. #3860
  • Marked diagnostic_updater and self_test as doc reviewed.
  • Tweaked examples and documentation based on doc review feedback.
  • Dox updates for diagnostic updater
  • Changed error to warning level in frequency status regression test
  • Removed ROS API from doxygen. Added setHardwareID method to example code.
  • Fixing param name in diagnostic updater
  • Reporting frequency problems as warning, not error in diagnostic_updater, #3555
  • Took out all deprecated stuff from diagnostic_updater.
  • Made diagnostic_updater example go into bin directory.
  • Changed getParam to getParamCached.
  • Updated review status to API cleared.
  • Returned check of diagnostic_period to only happen when the update happens pending fix of ROS 0.0, -0.0, -0.0, 0.11215413361787796, -0.0)
  • Finished example and documentation. Renamed CombinationDiagnosticUpdater to CompositeDiagnosticUpdater.
  • Added setHardwareID to diagnostic_updater.
  • Reintroduced an Updater constructor that takes a node handle because a lot of nodes actually depend on it.
  • Bug slipped into previous checkin.
  • Updating documentation. Took NodeHandle parameter out of Updater constructor.
  • Added setHardwareID method, and now warns if it is not used.
  • Got rid of ComposableDiagnosticTask. Now all tasks are composable.
  • Modified diagnostic_period so that it gets checked every time the update method is called. This way a long period can get shortened without waiting for the long period to expire.
  • When a diagnostic task is first added to a diagnostic_updater, the initial status is now OK instead of error.
  • Added timestamp to diagnostic updater publish call. Auto-filling of timestamps is deprecated in ROS 0.10
  • Fixed spurious newline in string that was preventing compilation of diagnostic_updater users.
  • Finished updating the diagnostics for diagnostic_updater.
  • Commented the DiagnosedPublisher classes.
  • Added some comments to diagnostic_updater and made ComposableDiagnosticTask::split_run protected.
  • Updated diagnosed publisher code to be able to work with a CameraPublisher
  • Getting diagnostic_updater to compile. Still spewing a bunch of warnings.
  • Added extra debugging options to self_test and diagnostic_updater. On by default for self_test, off for diagnostic_updater. When on, failing statuses will be printed to the console.
  • updated self_test, diagnostic_updater, dynamic_reconfigure and wge100_camera to use new ~ namespace access method
  • Corrected diagnostic status merge logic.
  • diagnostics 0.1 commit. Removed diagnostic_analyzer/generic_analyzer and integrated into diagnostic_aggregator.
  • Add a method to clear the DiagnosticStatus values in DiagnosticStatusWrapper. Clear old values when reusing DiagnosticStatusWrapper.
  • Took out adds and addsf from diagnostic_updater/DiagnosticStatusWrapper now that all other nodes have been modified.
  • Converted adds into add and add-f into addf. Left the old ones, but they are now deprecated.
  • Updated self test for new diagnostic format.
  • Updated DiagnosticStatusWrapper for changes in diagnostic format.
  • Cleaned up DiagnosticStatusWrapper in response to change in diagnostic message.
  • Fixes for diagnostic_msgs::KeyValue::label -> key
  • fixing through diagnostic_updater
  • Changed DiagnosticMessage to DiagnosticArray
  • Changed DiagnosticValue to KeyValue
  • Fixed bug in declaration of deprecated class.
  • Deprecated old self_test and diagnostic_updater APIs.
  • Minor improvements to diagnostic updater.
  • Allowed Publisher to be changed in a DiagnosedPublisher. This allows the Publisher to be created later than the DiagnosedPublisher.
  • add cstdio include for gcc 4.4
  • Took out const_cast that became unnecessary thanks to the resolution of ticket #1228.
  • Added missing includes.
  • robot_msgs/Diagnostic* to diagnostic_msgs/Diagnostic* and robot_srvs/SelfTest into diagnostic_msgs too
  • Added DiagnosedPublisher and HeaderlessDiagnosedPublisher to automatically publish diagnostics upon publication, and integrated them with the forearm_camera. Started writing an outling of the driver_base classes.
  • Committing change from Blaise's tree
  • Added a formatted summary method to DiagnosticStatusWrapper.
  • Corrected a bug in the frequency updater, and made it and the timestamp updaters thread safe.
  • Added a TimeStampStatus diagnostic to monitor that timestamps are reasonably close to now.
  • Slowed timing by 10x in test case to improve odds of passing on 64 bit architectures.
  • Corrected some bugs that could have caused undefined behavior. Added support for automatically publishing a "Starting up" message before the while the node is initializing. Did some refactoring.
  • Fixed a bug in how function classes were being added to the Updater.
  • Fixed a bug in frequency diagnostic reporting.
  • Modified update functions so that they are function classes. Added a correspondence convenience add method to Updater_base.
  • Corrected a possibly infinite recursion in adds.
  • Small fix to compatibility layer for old-style nodes
  • Upgraded the diagnostic_updater to use NodeHandles, and to allow more general functions to be used. Started adding update_functions to do common diagnostic publishing tasks. This will be populated more later.
  • Added a DiagnosticStatusWrapper class derived from DiagnosticStatus. It adds a few methods to more conveniently set the DiagnosticStatus's fields. The diagnostic_updater has been updated so that it can work with DiagnosticStatus or DiagnosticStatusWrapper.:
  • diagnostic_updater: Now can be used with classes that don't inherit from Node.
  • roscpp API changes
    • ros::node -> ros::Node
    • ros::msg -> ros::Message
    • deprecated methods removed
    • rosconsole/rosconsole.h -> ros/console.h
    • goodbye rosthread
  • bogus dependency
  • results from changing ros::Time constructor and all uses of it I can find
  • Adding node name into diagnostic updater status names.
  • Moving package review status from wiki to manifests
  • Changing form of advertise in diagnostic updater.
  • Removing old printf from diagnostic_updater.
  • Checking in package for easy diagnostic updating.
  • Contributors: Vincent Rabaud, blaise, blaisegassend, bricerebsamen, ehberger, gerkey, jfaustwg, jleibs, leibs, morgan_quigley, pmihelich, rob_wheeler, straszheim, tfoote, vrabaud, watts, wattsk

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged diagnostic_updater at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 2.1.3
License BSD-3-Clause
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros/diagnostics.git
VCS Type git
VCS Version galactic
Last Updated 2023-01-09
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

diagnostic_updater contains tools for easily updating diagnostics. it is commonly used in device drivers to keep track of the status of output topics, device status, etc.

Additional Links

Maintainers

  • Austin Hendrix
  • Brice Rebsamen
  • Karsten Knese

Authors

  • Jeremy Leibs
  • Blaise Gassend
  • Kevin Watts
  • Brice Rebsamen
README
No README found. No README in repository either.
CHANGELOG

Changelog for package diagnostic_updater

2.1.3 (2021-08-03)

  • Time Diagnostics can be used with Simulated Time. (#201)
  • Contributors: Marco Lampacrescia

2.1.2 (2021-03-03)

  • Replace every byte creation instance. (#184)
  • Enable multiple tasks publishing for diagnostic updater. (#182)
  • Contributors: BasVolkers

2.1.1 (2021-01-28)

2.1.0 (2021-01-12)

  • Update to latest ros2 rolling. (#177)
  • Contributors: Karsten Knese

2.0.2 (2020-06-03)

  • 2.0.2 Signed-off-by: Karsten Knese <<karsten.knese@us.bosch.com>>
  • generate changelog Signed-off-by: Karsten Knese <<karsten.knese@us.bosch.com>>
  • Re-add leading character to node name (#109) The ROS 2 API is giving us the node name without a leading slash.
  • Ros2 migrate diagnostic aggregator (#118) * Removed AMENT_IGNORE and uncrustified Signed-off-by: Arne Nordmann <<arne.nordmann@de.bosch.com>>
    • Started migration of c++ API

    * To be done: logging, assertions, parameter handling Signed-off-by: Arne Nordmann <<arne.nordmann@de.bosch.com>>

    • Started migration of python tests
    • Started migration of analyzer group
    • Migrated from XMLRPC to ROS2 parameters parsing

    * Doesn't create working analzers, yet Signed-off-by: Arne Nordmann <<arne.nordmann@de.bosch.com>>

    • Migrated analyzers plugin
    • Split anaylzers into seperate plugin lib
    • Build shared lib to be used by plugin class loader

    * Fixed plugin registration of analyzers Signed-off-by: Arne Nordmann <<arne.nordmann@de.bosch.com>>

    • Analyzer group correctly setting up analyzers

    * Improved parameter handling of generic_analyzer Signed-off-by: Arne Nordmann <<arne.nordmann@de.bosch.com>> * API migration to ROS2 c++ + logging Signed-off-by: Arne Nordmann <<arne.nordmann@de.bosch.com>> * uncrustified Signed-off-by: Arne Nordmann <<arne.nordmann@de.bosch.com>>

    • Reworked analyzer paths and names

    * Separate handling of the analyzer's (and analyzer group's): ** "nice" name ** path (path of their results in the robot monitor) ** breadcrumb (prefix of their yaml configuration)

    • Logging
    • Uncrustify
    • Examples
    • Less strict cpplint
    • removed using namespace
    • Fixes complation of analyzer group test
    • Removed dependency to boost

    * Using std::mutex instead of boost::mutex. Using std::lock_guard instead of boost::scoped_lock since std::scoped_lock was not introduced before C++17 * Using std::regex instead of boost::regex Signed-off-by: Arne Nordmann <<arne.nordmann@de.bosch.com>> * Alphabetical order of includes and dependencies Signed-off-by: Arne Nordmann <<arne.nordmann@de.bosch.com>> * Adopted suggestions from review by \@Karsten1987 Signed-off-by: Arne Nordmann <<arne.nordmann@de.bosch.com>>

    • Minor improvements
    • Using unique_ptrs instead of plain c pointers

    * Simplifying loops Signed-off-by: Arne Nordmann <<arne.nordmann@de.bosch.com>> * use class logger variable Signed-off-by: Karsten Knese <<karsten@openrobotics.org>> * make linter tests pass Signed-off-by: Karsten Knese <<karsten@openrobotics.org>> * bring back variable names and (void) them Signed-off-by: Karsten Knese <<karsten@openrobotics.org>> * linters Signed-off-by: Karsten Knese <<karsten@openrobotics.org>> * Aggregator demo launch Signed-off-by: Arne Nordmann <<arne.nordmann@de.bosch.com>>

    • Adds launch-based test
    • Adds launch-based test, starting aggregator with a yaml configuration

    * Test is not yet working, something wrong with process orchestration Signed-off-by: Arne Nordmann <<arne.nordmann@de.bosch.com>>

    • One passing test
    • One passing test, just looking for output of the bond statemachine

    * One failing test, looking for the actual analyzer output we want to test for Signed-off-by: Arne Nordmann <<arne.nordmann@de.bosch.com>> * Short documentation of the demo Signed-off-by: Arne Nordmann <<arne.nordmann@de.bosch.com>> * minor fixes Signed-off-by: Arne Nordmann <<arne.nordmann@de.bosch.com>> * Working tests for analyzer creation from yaml Signed-off-by: Arne Nordmann <<arne.nordmann@de.bosch.com>> * Cleanup, we don't need lifecycle (yes) Signed-off-by: Arne Nordmann <<arne.nordmann@de.bosch.com>>

    • linters
    • Fixed tests
    • launch testing now working withou previous stdcout hack

    * deleted deprecated (not working) tests Signed-off-by: Arne Nordmann <<arne.nordmann@de.bosch.com>> * - QOS config in python demo publisher Signed-off-by: Arne Nordmann <<arne.nordmann@de.bosch.com>>

    • fix install location, necessary for eloquent
    • fix undefined behaviour when parameters are kept as default

    * CMakeLists.txt touchup for OSX Signed-off-by: Karsten Knese <<karsten.knese@us.bosch.com>> * Moved 'Demo' to 'Example' Signed-off-by: Arne Nordmann <<arne.nordmann@de.bosch.com>>

    • Cleanup
    • Removed non-ported python parts (blocked by bondpy port)

    * Uncrustify, cpplint Signed-off-by: Arne Nordmann <<arne.nordmann@de.bosch.com>> * enhance github actions for diagnostic_aggregator package Signed-off-by: Karsten Knese <<karsten.knese@us.bosch.com>>

    • Upgrade to foxy
    • Fixed example

    - Explicit QoS profiles for rclypy publishers Signed-off-by: Arne Nordmann <<arne.nordmann@de.bosch.com>> * use new create_timer API Signed-off-by: Karsten Knese <<karsten.knese@us.bosch.com>> * add launch testing dependency Signed-off-by: Karsten Knese <<karsten.knese@us.bosch.com>> * do not use boost in pluginlib Signed-off-by: Karsten Knese <<karsten.knese@us.bosch.com>> * Removed all features depending on bond(core) Signed-off-by: Arne Nordmann <<arne.nordmann@de.bosch.com>> * use latest github actions Signed-off-by: Karsten Knese <<karsten.knese@us.bosch.com>> * Reoved dependency to uuid Was introduced as upstream dependency for bond(core), which was removed as dependency as well. Signed-off-by: Arne Nordmann <<arne.nordmann@de.bosch.com>> * Adds missing dependency to launch_testing_ros Signed-off-by: Arne Nordmann <<arne.nordmann@de.bosch.com>> * deprecation warning only on non-windows Signed-off-by: Karsten Knese <<karsten.knese@us.bosch.com>> * export symbols on windows Signed-off-by: Karsten Knese <<karsten.knese@us.bosch.com>> * fix cpplint Signed-off-by: Karsten Knese <<karsten.knese@us.bosch.com>> * Proper handling of file separators in cmake Signed-off-by: Arne Nordmann <<arne.nordmann@de.bosch.com>> * Proper handling of file separators in cmake Signed-off-by: Arne Nordmann <<arne.nordmann@de.bosch.com>> * Tests working on windows and linux More path fixes inside tests. Tests were expecting to find the node executable in the CMAKE_BINARY_DIR before, which is true on linux but not on windows. Signed-off-by: Arne Nordmann <<arne.nordmann@de.bosch.com>> * fix windows installation path Signed-off-by: Karsten Knese <<karsten@openrobotics.org>> * correctly enable visibility macros Signed-off-by: Karsten Knese <<karsten@openrobotics.org>> * correct sign conversion Signed-off-by: Karsten Knese <<karsten@openrobotics.org>> Co-authored-by: Arne Nordmann <<arne.nordmann@de.bosch.com>> Co-authored-by: Robin Vanhove <<1r0b1n0@gmail.com>>

  • Fix DiagnosedPublisher (#135)
    • The DiagnosedPublisher should be a wrapper around a publisher for any type of message, but it could only be used with publishers for DiagnosticArray messages. This was fixed.
    • cpplint: include utility
    • Check message type for header
  • fix linters (#134) Signed-off-by: Karsten Knese <<karsten.knese@us.bosch.com>>
  • Contributors: DensoADAS, Karsten Knese, Scott K Logan

2.0.1 (2020-06-03)

  • Re-add leading character to node name (#109)
  • Ros2 migrate diagnostic aggregator (#118)
  • Fix DiagnosedPublisher (#135)
  • fix linters (#134)
  • Contributors: DensoADAS, Arne Nordmann, Robin Vanhove, Karsten Knese, Scott K Logan

2.0.0 (2019-09-03)

  • Use rclpp timer instead of custom updater logic. (#114)
  • Use std::isfinite since it is supported on all platorms. (#123)
  • Make DiagnosticStatusWrapper no longer implicitly copyable. (#117)
  • Add virtual destructor to task vector class. (#122)
  • Support for node interfaces to allow diagnostics to be used with lifecycle nodes. (#112)
  • Spin on node in diagnostic_updater example to query parameters. (#120)
  • Set diagnostic_updater default period to 1s instead of 1ns. (#110)
  • Make Karsten Knese Maintainer for ROS2 branches #115
  • Migrate diagnostic_updater to ROS2 #102
  • Custom names for FrequencyStatus and TimeStampStatus #86
  • Make FrequencyStatus' name configurable #84
  • Contributors: Austin, Dan Rose, Ian Colwell, Karsten Knese, Nils Bussas, Scott K Logan, VaibhavBhadade

1.9.3 (2018-05-02)

  • Merge pull request #73 from tue-robotics/indigo-devel Add a simple Heartbeat-DiagnosticTask
  • Add Python version of Heartbeat DiagnosticTask
  • Add a very very simple Heartbeat DiagnosticTask
  • Contributors: Austin, Loy van Beek, loy

1.9.2 (2017-07-15)

1.9.1 (2017-07-15)

  • Add queue size parameters on Publishers
  • Minor python updates
  • Contributors: trainman419

1.9.0 (2017-04-25)

  • make rostest in CMakeLists optional (ros/rosdistro#3010)
  • Fixed bug with merge summary in status wrapper
  • Contributors: Lukas Bulwahn, pAIgn10

1.8.10 (2016-06-14)

1.8.9 (2016-03-02)

1.8.8 (2015-08-06)

1.8.7 (2015-01-09)

1.8.6 (2014-12-10)

1.8.5 (2014-07-29)

1.8.4 (2014-07-24 20:51)

1.8.3 (2014-04-23)

  • Initialize next_time_ properly. Fixes #20
  • Add failing test for fast updater
  • Contributors: Austin Hendrix

1.8.2 (2014-04-08)

  • Fix linking. All tests pass. Fixes #12
  • Most tests pass
  • Fix doc reference. Fixes #14
  • Contributors: Austin Hendrix

1.8.1 (2014-04-07)

  • Add myself as maintainer
  • Added ability to supply a custom node name (prefix) to Updater
  • Added ability to supply node handle and private node handle to Updater
  • fixed exporting python API to address #10
  • fixed test related issues in some CMakeLists
  • check for CATKIN_ENABLE_TESTING
  • Contributors: Aero, Austin Hendrix, Brice Rebsamen, Lukas Bulwahn, Mitchell Wills

1.8.0 (2013-04-03)

1.7.11 (2014-07-24 20:24)

  • Fix linking on tests
  • support python binding of diagnostic_updater on groovy
  • Contributors: Ryohei Ueda, trainman419

1.7.10 (2013-02-22)

  • Changed package.xml version number before releasing
  • added missing license header
  • added missing license headers
  • Contributors: Aaron Blasdel, Brice Rebsamen

1.7.9 (2012-12-14)

  • add missing dep to catkin
  • Contributors: Dirk Thomas

1.7.8 (2012-12-06)

  • missing includedirs from roscpp cause compile errors. diagnostic_aggregator/include/diagnostic_aggregator/status_item.h:45:21: fatal error: ros/ros.h: No such file or directory diagnostics/diagnostic_updater/include/diagnostic_updater/diagnostic_updater.h:42:29: fatal error: ros/node_handle.h: No such file or directory compilation terminated.
  • Contributors: Thibault Kruse

1.7.7 (2012-11-10)

1.7.6 (2012-11-07 23:32)

1.7.5 (2012-11-07 21:53)

1.7.4 (2012-11-07 20:18)

1.7.3 (2012-11-04)

  • fix the non-existing xml
  • Contributors: Vincent Rabaud

1.7.2 (2012-10-30 22:31)

  • fix rostest
  • Contributors: Vincent Rabaud

1.7.1 (2012-10-30 15:30)

  • fix a few things after the first release
  • fix a few things all over
  • Contributors: Vincent Rabaud

1.7.0 (2012-10-29)

  • catkinize the stack
  • backport the Python API from 1.7.0
  • use the proper gtest macro
  • Created branch 1.7.0 and reverted corresponding changes in trunk and tag 1.7.0 As a result branch 1.7.0 contains the new python API, and trunk corresponds to 1.6.4
  • Added Python API to diagnostic_updater
  • Fixing docs for frequency status parameters, #5093
  • Remove unused (according to K. Watts) class that depends on now nonexistent ros::Message
  • Remove unused (according to K. Watts) class that depends on now nonexistent ros::Message
  • Fixing formatting for diagnostic updater's update_functions. #4523
  • Adding std_msgs dependency to diagnostic_aggregator. #4491
  • Deprecated message methods removed in diagnostics updater
  • Added Ubuntu platform tags to manifest
  • Corrected the version number in which removeByName was added.
  • Added a removeByName method that allows a diagnostic task to be removed from a diagnostic_updater.
  • Adding checks to diagnostic status wrapper to verify output from bool values
  • Removed special handling of uint8 in diagnostic_status_wrapper. Uint8 isn't always bool.
  • DiagnosticStatusWrapper now has bool support in add() function. #3860
  • Marked diagnostic_updater and self_test as doc reviewed.
  • Tweaked examples and documentation based on doc review feedback.
  • Dox updates for diagnostic updater
  • Changed error to warning level in frequency status regression test
  • Removed ROS API from doxygen. Added setHardwareID method to example code.
  • Fixing param name in diagnostic updater
  • Reporting frequency problems as warning, not error in diagnostic_updater, #3555
  • Took out all deprecated stuff from diagnostic_updater.
  • Made diagnostic_updater example go into bin directory.
  • Changed getParam to getParamCached.
  • Updated review status to API cleared.
  • Returned check of diagnostic_period to only happen when the update happens pending fix of ROS 0.0, -0.0, -0.0, 0.11215413361787796, -0.0)
  • Finished example and documentation. Renamed CombinationDiagnosticUpdater to CompositeDiagnosticUpdater.
  • Added setHardwareID to diagnostic_updater.
  • Reintroduced an Updater constructor that takes a node handle because a lot of nodes actually depend on it.
  • Bug slipped into previous checkin.
  • Updating documentation. Took NodeHandle parameter out of Updater constructor.
  • Added setHardwareID method, and now warns if it is not used.
  • Got rid of ComposableDiagnosticTask. Now all tasks are composable.
  • Modified diagnostic_period so that it gets checked every time the update method is called. This way a long period can get shortened without waiting for the long period to expire.
  • When a diagnostic task is first added to a diagnostic_updater, the initial status is now OK instead of error.
  • Added timestamp to diagnostic updater publish call. Auto-filling of timestamps is deprecated in ROS 0.10
  • Fixed spurious newline in string that was preventing compilation of diagnostic_updater users.
  • Finished updating the diagnostics for diagnostic_updater.
  • Commented the DiagnosedPublisher classes.
  • Added some comments to diagnostic_updater and made ComposableDiagnosticTask::split_run protected.
  • Updated diagnosed publisher code to be able to work with a CameraPublisher
  • Getting diagnostic_updater to compile. Still spewing a bunch of warnings.
  • Added extra debugging options to self_test and diagnostic_updater. On by default for self_test, off for diagnostic_updater. When on, failing statuses will be printed to the console.
  • updated self_test, diagnostic_updater, dynamic_reconfigure and wge100_camera to use new ~ namespace access method
  • Corrected diagnostic status merge logic.
  • diagnostics 0.1 commit. Removed diagnostic_analyzer/generic_analyzer and integrated into diagnostic_aggregator.
  • Add a method to clear the DiagnosticStatus values in DiagnosticStatusWrapper. Clear old values when reusing DiagnosticStatusWrapper.
  • Took out adds and addsf from diagnostic_updater/DiagnosticStatusWrapper now that all other nodes have been modified.
  • Converted adds into add and add-f into addf. Left the old ones, but they are now deprecated.
  • Updated self test for new diagnostic format.
  • Updated DiagnosticStatusWrapper for changes in diagnostic format.
  • Cleaned up DiagnosticStatusWrapper in response to change in diagnostic message.
  • Fixes for diagnostic_msgs::KeyValue::label -> key
  • fixing through diagnostic_updater
  • Changed DiagnosticMessage to DiagnosticArray
  • Changed DiagnosticValue to KeyValue
  • Fixed bug in declaration of deprecated class.
  • Deprecated old self_test and diagnostic_updater APIs.
  • Minor improvements to diagnostic updater.
  • Allowed Publisher to be changed in a DiagnosedPublisher. This allows the Publisher to be created later than the DiagnosedPublisher.
  • add cstdio include for gcc 4.4
  • Took out const_cast that became unnecessary thanks to the resolution of ticket #1228.
  • Added missing includes.
  • robot_msgs/Diagnostic* to diagnostic_msgs/Diagnostic* and robot_srvs/SelfTest into diagnostic_msgs too
  • Added DiagnosedPublisher and HeaderlessDiagnosedPublisher to automatically publish diagnostics upon publication, and integrated them with the forearm_camera. Started writing an outling of the driver_base classes.
  • Committing change from Blaise's tree
  • Added a formatted summary method to DiagnosticStatusWrapper.
  • Corrected a bug in the frequency updater, and made it and the timestamp updaters thread safe.
  • Added a TimeStampStatus diagnostic to monitor that timestamps are reasonably close to now.
  • Slowed timing by 10x in test case to improve odds of passing on 64 bit architectures.
  • Corrected some bugs that could have caused undefined behavior. Added support for automatically publishing a "Starting up" message before the while the node is initializing. Did some refactoring.
  • Fixed a bug in how function classes were being added to the Updater.
  • Fixed a bug in frequency diagnostic reporting.
  • Modified update functions so that they are function classes. Added a correspondence convenience add method to Updater_base.
  • Corrected a possibly infinite recursion in adds.
  • Small fix to compatibility layer for old-style nodes
  • Upgraded the diagnostic_updater to use NodeHandles, and to allow more general functions to be used. Started adding update_functions to do common diagnostic publishing tasks. This will be populated more later.
  • Added a DiagnosticStatusWrapper class derived from DiagnosticStatus. It adds a few methods to more conveniently set the DiagnosticStatus's fields. The diagnostic_updater has been updated so that it can work with DiagnosticStatus or DiagnosticStatusWrapper.:
  • diagnostic_updater: Now can be used with classes that don't inherit from Node.
  • roscpp API changes
    • ros::node -> ros::Node
    • ros::msg -> ros::Message
    • deprecated methods removed
    • rosconsole/rosconsole.h -> ros/console.h
    • goodbye rosthread
  • bogus dependency
  • results from changing ros::Time constructor and all uses of it I can find
  • Adding node name into diagnostic updater status names.
  • Moving package review status from wiki to manifests
  • Changing form of advertise in diagnostic updater.
  • Removing old printf from diagnostic_updater.
  • Checking in package for easy diagnostic updating.
  • Contributors: Vincent Rabaud, blaise, blaisegassend, bricerebsamen, ehberger, gerkey, jfaustwg, jleibs, leibs, morgan_quigley, pmihelich, rob_wheeler, straszheim, tfoote, vrabaud, watts, wattsk

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged diagnostic_updater at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 4.3.1
License BSD-3-Clause
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros/diagnostics.git
VCS Type git
VCS Version ros2
Last Updated 2024-07-31
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

diagnostic_updater contains tools for easily updating diagnostics. it is commonly used in device drivers to keep track of the status of output topics, device status, etc.

Additional Links

Maintainers

  • Austin Hendrix
  • Brice Rebsamen
  • Christian Henkel
  • Ralph Lange

Authors

  • Jeremy Leibs
  • Blaise Gassend
  • Kevin Watts
  • Brice Rebsamen

General information about this repository, including legal information, build instructions and known issues/limitations, are given in README.md in the repository root.

The diagnostic_updater package

This package is used to implement the collection of diagnostics information.

Overview

It can for example update the state of sensors or actors of the robot. Common tasks include

  • Publish the status of a sensor topic from a device driver
  • Report that a hardware device is closed
  • Send an error if a value is out bounds (e.g. temperature)

Example

The file example.cpp contains an example of how to use the diagnostic_updater.

C++ and Python API

The main classes are:

DiagnosticStatusWrapper

This class is used to create a diagnostic message. It simplifies the creation of the message by providing methods to set the level, name, message and values. There is also the possibility to merge multiple DiagnosticStatusWrapper into one.

Updater

This class is used to collect the diagnostic messages and to publish them.

DiagnosedPublisher

A ROS publisher with included diagnostics. It diagnoses the frequency of the published messages.

CHANGELOG

Changelog for package diagnostic_updater

4.3.1 (2024-07-30)

  • Fix correctly exporting the library (#388) (#393)
  • Minimize header includes by moving impl to .cpp files (#331) and Fix usage of rclcpp::ok with a non-default context (#352) (#390)
  • Contributors: Christian Henkel, Ramon Wijnands, Hervé Audren

3.2.1 (2024-06-27)

  • change(diagnosed-publisher): allow specifying node clock (#340)
  • Fix usage of rclcpp::ok with a non-default context (#352)
  • Contributors: Hervé Audren, Rein Appeldoorn

3.2.0 (2024-03-22)

  • including depdency (#322)
  • Debugging instability introduced by #317 (#323)
  • feat: add param to use fqn in updater (#320)
  • fix: method names & verbose logging (#307)
  • Fix diagnostic_updater timestamps (#299)
  • Contributors: Christian Henkel, Kevin Schwarzer, h-wata, outrider-jhulas

3.1.2 (2023-03-24)

3.1.1 (2023-03-16)

  • Secretly supporting galactic (#295)
  • Linting additional package (#268)
  • Adding unit test for DiagnosticStatusWrapper
  • Maintainer update
  • Contributors: Austin, Christian Henkel, Jordan Palacios, Ralph Lange

3.1.0 (2023-01-26)

  • Merge of foxy and humble history into rolling for future maintenance from one branch only.
  • Adding READMEs to the repo (#270)
  • License fixes (#263)
  • Fix/cleanup ros1 (#257)
  • Fixed DiagnosedPublisher and switched to ROS_TIME (#243)
  • Check if parameter is already declared to avoid re-declaring it. (#227)
  • Update CMakeLists.txt to support modern cmake syntax
  • Fix diagnostic_updater cmake
  • Fix implicit conversion warnings
  • Contributors: Alberto Soragna, Austin, Christian Henkel, Grzegorz Głowacki, Nikos Koukis, Ralph Lange

3.0.0 (2022-06-10)

  • Merge pull request #217 from boschresearch/ros-time-for-frequency-stat
  • Allow clock instance to be set from outside in FrequencyStatus
  • Use node clock for diagnostic_aggregator and diagnostic_updater (#210)
  • Use DiagnosticStatus.msg values instead of creating bytes manually (#193)
  • Contributors: Arne Nordmann, BasVolkers, Kenji Miyake, Marco Lampacrescia

2.1.3 (2021-08-03)

  • Time Diagnostics can be used with Simulated Time. (#201)
  • Contributors: Marco Lampacrescia

2.1.2 (2021-03-03)

  • Replace every byte creation instance. (#184)
  • Enable multiple tasks publishing for diagnostic updater. (#182)
  • Contributors: BasVolkers

2.1.1 (2021-01-28)

2.1.0 (2021-01-12)

  • Update to latest ros2 rolling. (#177)

* Contributors: Karsten Knese 2.0.9 (2022-11-12) ------------------* Check if parameter is already declared to avoid re-declaring it. (#227) * Fix implicit conversion warnings * Use node clock in FrequencyStatus diagnostic * Allow clock instance to be set from outside in FrequencyStatus * Contributors: Arne Nordmann, Grzegorz Głowacki, Marco Lampacrescia, Nikos Koukis, Ralph Lange

2.0.8 (2021-08-03)

  • [ROS2] Time Diagnostics can be used with Simulated Time (#201) (#205)
  • Contributors: Marco Lampacrescia

2.0.7 (2021-03-04)

  • Enable multiple tasks publishing for diagnostic updater (#182) (#192)
  • Replace every byte creation instance (#184) (#191)
  • Contributors: BasVolkers

2.0.6 (2021-01-28)

2.0.5 (2021-01-06)

2.0.4 (2020-08-05)

2.0.3 (2020-07-09)

2.0.2 (2020-06-03)

  • 2.0.2
  • Re-add leading character to node name (#109)
  • Ros2 migrate diagnostic aggregator (#118)
  • Fix DiagnosedPublisher (#135)
  • fix linters (#134)
  • Contributors: DensoADAS, Karsten Knese, Scott K Logan, Arne Nordmann

2.0.1 (2020-06-03)

  • Re-add leading character to node name (#109)
  • Ros2 migrate diagnostic aggregator (#118)
  • Fix DiagnosedPublisher (#135)
  • fix linters (#134)
  • Contributors: DensoADAS, Arne Nordmann, Robin Vanhove, Karsten Knese, Scott K Logan

2.0.0 (2019-09-03)

  • Use rclpp timer instead of custom updater logic. (#114)
  • Use std::isfinite since it is supported on all platorms. (#123)
  • Make DiagnosticStatusWrapper no longer implicitly copyable. (#117)
  • Add virtual destructor to task vector class. (#122)
  • Support for node interfaces to allow diagnostics to be used with lifecycle nodes. (#112)
  • Spin on node in diagnostic_updater example to query parameters. (#120)
  • Set diagnostic_updater default period to 1s instead of 1ns. (#110)
  • Make Karsten Knese Maintainer for ROS2 branches #115
  • Migrate diagnostic_updater to ROS2 #102
  • Custom names for FrequencyStatus and TimeStampStatus #86
  • Make FrequencyStatus' name configurable #84
  • Contributors: Austin, Dan Rose, Ian Colwell, Karsten Knese, Nils Bussas, Scott K Logan, VaibhavBhadade

1.9.3 (2018-05-02)

  • Merge pull request #73 from tue-robotics/indigo-devel Add a simple Heartbeat-DiagnosticTask
  • Add Python version of Heartbeat DiagnosticTask
  • Add a very very simple Heartbeat DiagnosticTask
  • Contributors: Austin, Loy van Beek, loy

1.9.2 (2017-07-15)

1.9.1 (2017-07-15)

  • Add queue size parameters on Publishers
  • Minor python updates
  • Contributors: trainman419

1.9.0 (2017-04-25)

  • make rostest in CMakeLists optional (ros/rosdistro#3010)
  • Fixed bug with merge summary in status wrapper
  • Contributors: Lukas Bulwahn, pAIgn10

1.8.10 (2016-06-14)

1.8.9 (2016-03-02)

1.8.8 (2015-08-06)

1.8.7 (2015-01-09)

1.8.6 (2014-12-10)

1.8.5 (2014-07-29)

1.8.4 (2014-07-24 20:51)

1.8.3 (2014-04-23)

  • Initialize next_time_ properly. Fixes #20
  • Add failing test for fast updater
  • Contributors: Austin Hendrix

1.8.2 (2014-04-08)

  • Fix linking. All tests pass. Fixes #12
  • Most tests pass
  • Fix doc reference. Fixes #14
  • Contributors: Austin Hendrix

1.8.1 (2014-04-07)

  • Add myself as maintainer
  • Added ability to supply a custom node name (prefix) to Updater
  • Added ability to supply node handle and private node handle to Updater
  • fixed exporting python API to address #10
  • fixed test related issues in some CMakeLists
  • check for CATKIN_ENABLE_TESTING
  • Contributors: Aero, Austin Hendrix, Brice Rebsamen, Lukas Bulwahn, Mitchell Wills

1.8.0 (2013-04-03)

1.7.11 (2014-07-24 20:24)

  • Fix linking on tests
  • support python binding of diagnostic_updater on groovy
  • Contributors: Ryohei Ueda, trainman419

1.7.10 (2013-02-22)

  • Changed package.xml version number before releasing
  • added missing license header
  • added missing license headers
  • Contributors: Aaron Blasdel, Brice Rebsamen

1.7.9 (2012-12-14)

  • add missing dep to catkin
  • Contributors: Dirk Thomas

1.7.8 (2012-12-06)

  • missing includedirs from roscpp cause compile errors. diagnostic_aggregator/include/diagnostic_aggregator/status_item.h:45:21: fatal error: ros/ros.h: No such file or directory diagnostics/diagnostic_updater/include/diagnostic_updater/diagnostic_updater.h:42:29: fatal error: ros/node_handle.h: No such file or directory compilation terminated.
  • Contributors: Thibault Kruse

1.7.7 (2012-11-10)

1.7.6 (2012-11-07 23:32)

1.7.5 (2012-11-07 21:53)

1.7.4 (2012-11-07 20:18)

1.7.3 (2012-11-04)

  • fix the non-existing xml
  • Contributors: Vincent Rabaud

1.7.2 (2012-10-30 22:31)

  • fix rostest
  • Contributors: Vincent Rabaud

1.7.1 (2012-10-30 15:30)

  • fix a few things after the first release
  • fix a few things all over
  • Contributors: Vincent Rabaud

1.7.0 (2012-10-29)

  • catkinize the stack
  • backport the Python API from 1.7.0
  • use the proper gtest macro
  • Created branch 1.7.0 and reverted corresponding changes in trunk and tag 1.7.0 As a result branch 1.7.0 contains the new python API, and trunk corresponds to 1.6.4
  • Added Python API to diagnostic_updater
  • Fixing docs for frequency status parameters, #5093
  • Remove unused (according to K. Watts) class that depends on now nonexistent ros::Message
  • Remove unused (according to K. Watts) class that depends on now nonexistent ros::Message
  • Fixing formatting for diagnostic updater's update_functions. #4523
  • Adding std_msgs dependency to diagnostic_aggregator. #4491
  • Deprecated message methods removed in diagnostics updater
  • Added Ubuntu platform tags to manifest
  • Corrected the version number in which removeByName was added.
  • Added a removeByName method that allows a diagnostic task to be removed from a diagnostic_updater.
  • Adding checks to diagnostic status wrapper to verify output from bool values
  • Removed special handling of uint8 in diagnostic_status_wrapper. Uint8 isn't always bool.
  • DiagnosticStatusWrapper now has bool support in add() function. #3860
  • Marked diagnostic_updater and self_test as doc reviewed.
  • Tweaked examples and documentation based on doc review feedback.
  • Dox updates for diagnostic updater
  • Changed error to warning level in frequency status regression test
  • Removed ROS API from doxygen. Added setHardwareID method to example code.
  • Fixing param name in diagnostic updater
  • Reporting frequency problems as warning, not error in diagnostic_updater, #3555
  • Took out all deprecated stuff from diagnostic_updater.
  • Made diagnostic_updater example go into bin directory.
  • Changed getParam to getParamCached.
  • Updated review status to API cleared.
  • Returned check of diagnostic_period to only happen when the update happens pending fix of ROS 0.0, -0.0, -0.0, 0.11215413361787796, -0.0)
  • Finished example and documentation. Renamed CombinationDiagnosticUpdater to CompositeDiagnosticUpdater.
  • Added setHardwareID to diagnostic_updater.
  • Reintroduced an Updater constructor that takes a node handle because a lot of nodes actually depend on it.
  • Bug slipped into previous checkin.
  • Updating documentation. Took NodeHandle parameter out of Updater constructor.
  • Added setHardwareID method, and now warns if it is not used.
  • Got rid of ComposableDiagnosticTask. Now all tasks are composable.
  • Modified diagnostic_period so that it gets checked every time the update method is called. This way a long period can get shortened without waiting for the long period to expire.
  • When a diagnostic task is first added to a diagnostic_updater, the initial status is now OK instead of error.
  • Added timestamp to diagnostic updater publish call. Auto-filling of timestamps is deprecated in ROS 0.10
  • Fixed spurious newline in string that was preventing compilation of diagnostic_updater users.
  • Finished updating the diagnostics for diagnostic_updater.
  • Commented the DiagnosedPublisher classes.
  • Added some comments to diagnostic_updater and made ComposableDiagnosticTask::split_run protected.
  • Updated diagnosed publisher code to be able to work with a CameraPublisher
  • Getting diagnostic_updater to compile. Still spewing a bunch of warnings.
  • Added extra debugging options to self_test and diagnostic_updater. On by default for self_test, off for diagnostic_updater. When on, failing statuses will be printed to the console.
  • updated self_test, diagnostic_updater, dynamic_reconfigure and wge100_camera to use new ~ namespace access method
  • Corrected diagnostic status merge logic.
  • diagnostics 0.1 commit. Removed diagnostic_analyzer/generic_analyzer and integrated into diagnostic_aggregator.
  • Add a method to clear the DiagnosticStatus values in DiagnosticStatusWrapper. Clear old values when reusing DiagnosticStatusWrapper.
  • Took out adds and addsf from diagnostic_updater/DiagnosticStatusWrapper now that all other nodes have been modified.
  • Converted adds into add and add-f into addf. Left the old ones, but they are now deprecated.
  • Updated self test for new diagnostic format.
  • Updated DiagnosticStatusWrapper for changes in diagnostic format.
  • Cleaned up DiagnosticStatusWrapper in response to change in diagnostic message.
  • Fixes for diagnostic_msgs::KeyValue::label -> key
  • fixing through diagnostic_updater
  • Changed DiagnosticMessage to DiagnosticArray
  • Changed DiagnosticValue to KeyValue
  • Fixed bug in declaration of deprecated class.
  • Deprecated old self_test and diagnostic_updater APIs.
  • Minor improvements to diagnostic updater.
  • Allowed Publisher to be changed in a DiagnosedPublisher. This allows the Publisher to be created later than the DiagnosedPublisher.
  • add cstdio include for gcc 4.4
  • Took out const_cast that became unnecessary thanks to the resolution of ticket #1228.
  • Added missing includes.
  • robot_msgs/Diagnostic* to diagnostic_msgs/Diagnostic* and robot_srvs/SelfTest into diagnostic_msgs too
  • Added DiagnosedPublisher and HeaderlessDiagnosedPublisher to automatically publish diagnostics upon publication, and integrated them with the forearm_camera. Started writing an outling of the driver_base classes.
  • Committing change from Blaise's tree
  • Added a formatted summary method to DiagnosticStatusWrapper.
  • Corrected a bug in the frequency updater, and made it and the timestamp updaters thread safe.
  • Added a TimeStampStatus diagnostic to monitor that timestamps are reasonably close to now.
  • Slowed timing by 10x in test case to improve odds of passing on 64 bit architectures.
  • Corrected some bugs that could have caused undefined behavior. Added support for automatically publishing a "Starting up" message before the while the node is initializing. Did some refactoring.
  • Fixed a bug in how function classes were being added to the Updater.
  • Fixed a bug in frequency diagnostic reporting.
  • Modified update functions so that they are function classes. Added a correspondence convenience add method to Updater_base.
  • Corrected a possibly infinite recursion in adds.
  • Small fix to compatibility layer for old-style nodes
  • Upgraded the diagnostic_updater to use NodeHandles, and to allow more general functions to be used. Started adding update_functions to do common diagnostic publishing tasks. This will be populated more later.
  • Added a DiagnosticStatusWrapper class derived from DiagnosticStatus. It adds a few methods to more conveniently set the DiagnosticStatus's fields. The diagnostic_updater has been updated so that it can work with DiagnosticStatus or DiagnosticStatusWrapper.:
  • diagnostic_updater: Now can be used with classes that don't inherit from Node.
  • roscpp API changes
    • ros::node -> ros::Node
    • ros::msg -> ros::Message
    • deprecated methods removed
    • rosconsole/rosconsole.h -> ros/console.h
    • goodbye rosthread
  • bogus dependency
  • results from changing ros::Time constructor and all uses of it I can find
  • Adding node name into diagnostic updater status names.
  • Moving package review status from wiki to manifests
  • Changing form of advertise in diagnostic updater.
  • Removing old printf from diagnostic_updater.
  • Checking in package for easy diagnostic updating.
  • Contributors: Vincent Rabaud, blaise, blaisegassend, bricerebsamen, ehberger, gerkey, jfaustwg, jleibs, leibs, morgan_quigley, pmihelich, rob_wheeler, straszheim, tfoote, vrabaud, watts, wattsk

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged diagnostic_updater at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 1.9.7
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros/diagnostics.git
VCS Type git
VCS Version indigo-devel
Last Updated 2020-10-06
Dev Status MAINTAINED
CI status Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

diagnostic_updater contains tools for easily updating diagnostics. it is commonly used in device drivers to keep track of the status of output topics, device status, etc.

Additional Links

Maintainers

  • Guglielmo Gemignani
  • Austin Hendrix

Authors

  • Kevin Watts
  • Brice Rebsamen
  • Jeremy Leibs
  • Blaise Gassend
README
No README found. No README in repository either.
CHANGELOG

Changelog for package diagnostic_updater

1.9.7 (2020-09-03)

  • Estract TimestampStatus run to cpp
  • Contributors: Guglielmo Gemignani

1.9.6 (2020-08-18)

  • Add SlowTimeStampStatus (#144)
  • Test build fix on Windows (#8) (#107)
  • Resolve div by zero in updater (#108)
  • Use std::isfinite due to deprecation on osx (#113)
  • Remove extra (not needed) trailing ':' (#116)
  • Fix GCC warnings with -Wpedantic (#124)
  • Contributors: Enrique Fernandez Perdomo, Jacob Perron, Sean Yen, Stephan Sundermann, William Hudgins, gemignani

1.9.5 (2020-08-10)

  • Merge pull request #105 from mikepurvis/py3-httplib Fix httplib import for Python 3.
  • Fix httplib import for Python 3.
  • Merge pull request #97 from kejxu/fix_windows_build_issue fix windows build issue
  • Merge branch 'indigo-devel' into fix_windows_build_issue
  • update windows bringup (#5)
  • avoid ERROR from windows.h
  • windows bringup
  • Merge pull request #86 from icolwell/diagnostic_status_custom_names Custom names for FrequencyStatus and TimeStampStatus
  • Remove C++11 features
  • Wording
  • Custom names for existing diagnostics tasks
  • Merge pull request #84 from nbussas/frequency_status_name Make FrequencyStatus' name configurable
  • Make FrequencyStatus' name configurable
  • Contributors: Austin, Ian Colwell, James Xu, Mike Purvis, Nils Bussas, Sean Yen

1.9.3 (2018-05-02)

  • Merge pull request #73 from tue-robotics/indigo-devel Add a simple Heartbeat-DiagnosticTask
  • Add Python version of Heartbeat DiagnosticTask
  • Add a very very simple Heartbeat DiagnosticTask
  • Contributors: Austin, Loy van Beek, loy

1.9.2 (2017-07-15)

1.9.1 (2017-07-15)

  • Add queue size parameters on Publishers
  • Minor python updates
  • Contributors: trainman419

1.9.0 (2017-04-25)

  • make rostest in CMakeLists optional (ros/rosdistro#3010)
  • Fixed bug with merge summary in status wrapper
  • Contributors: Lukas Bulwahn, pAIgn10

1.8.10 (2016-06-14)

1.8.9 (2016-03-02)

1.8.8 (2015-08-06)

1.8.7 (2015-01-09)

1.8.6 (2014-12-10)

1.8.5 (2014-07-29)

1.8.4 (2014-07-24 20:51)

1.8.3 (2014-04-23)

  • Initialize next_time_ properly. Fixes #20
  • Add failing test for fast updater
  • Contributors: Austin Hendrix

1.8.2 (2014-04-08)

  • Fix linking. All tests pass. Fixes #12
  • Most tests pass
  • Fix doc reference. Fixes #14
  • Contributors: Austin Hendrix

1.8.1 (2014-04-07)

  • Add myself as maintainer
  • Added ability to supply a custom node name (prefix) to Updater
  • Added ability to supply node handle and private node handle to Updater
  • fixed exporting python API to address #10
  • fixed test related issues in some CMakeLists
  • check for CATKIN_ENABLE_TESTING
  • Contributors: Aero, Austin Hendrix, Brice Rebsamen, Lukas Bulwahn, Mitchell Wills

1.8.0 (2013-04-03)

1.7.11 (2014-07-24 20:24)

  • Fix linking on tests
  • support python binding of diagnostic_updater on groovy
  • Contributors: Ryohei Ueda, trainman419

1.7.10 (2013-02-22)

  • Changed package.xml version number before releasing
  • added missing license header
  • added missing license headers
  • Contributors: Aaron Blasdel, Brice Rebsamen

1.7.9 (2012-12-14)

  • add missing dep to catkin
  • Contributors: Dirk Thomas

1.7.8 (2012-12-06)

  • missing includedirs from roscpp cause compile errors. diagnostic_aggregator/include/diagnostic_aggregator/status_item.h:45:21: fatal error: ros/ros.h: No such file or directory diagnostics/diagnostic_updater/include/diagnostic_updater/diagnostic_updater.h:42:29: fatal error: ros/node_handle.h: No such file or directory compilation terminated.
  • Contributors: Thibault Kruse

1.7.7 (2012-11-10)

1.7.6 (2012-11-07 23:32)

1.7.5 (2012-11-07 21:53)

1.7.4 (2012-11-07 20:18)

1.7.3 (2012-11-04)

  • fix the non-existing xml
  • Contributors: Vincent Rabaud

1.7.2 (2012-10-30 22:31)

  • fix rostest
  • Contributors: Vincent Rabaud

1.7.1 (2012-10-30 15:30)

  • fix a few things after the first release
  • fix a few things all over
  • Contributors: Vincent Rabaud

1.7.0 (2012-10-29)

  • catkinize the stack
  • backport the Python API from 1.7.0
  • use the proper gtest macro
  • Created branch 1.7.0 and reverted corresponding changes in trunk and tag 1.7.0 As a result branch 1.7.0 contains the new python API, and trunk corresponds to 1.6.4
  • Added Python API to diagnostic_updater
  • Fixing docs for frequency status parameters, #5093
  • Remove unused (according to K. Watts) class that depends on now nonexistent ros::Message
  • Remove unused (according to K. Watts) class that depends on now nonexistent ros::Message
  • Fixing formatting for diagnostic updater's update_functions. #4523
  • Adding std_msgs dependency to diagnostic_aggregator. #4491
  • Deprecated message methods removed in diagnostics updater
  • Added Ubuntu platform tags to manifest
  • Corrected the version number in which removeByName was added.
  • Added a removeByName method that allows a diagnostic task to be removed from a diagnostic_updater.
  • Adding checks to diagnostic status wrapper to verify output from bool values
  • Removed special handling of uint8 in diagnostic_status_wrapper. Uint8 isn't always bool.
  • DiagnosticStatusWrapper now has bool support in add() function. #3860
  • Marked diagnostic_updater and self_test as doc reviewed.
  • Tweaked examples and documentation based on doc review feedback.
  • Dox updates for diagnostic updater
  • Changed error to warning level in frequency status regression test
  • Removed ROS API from doxygen. Added setHardwareID method to example code.
  • Fixing param name in diagnostic updater
  • Reporting frequency problems as warning, not error in diagnostic_updater, #3555
  • Took out all deprecated stuff from diagnostic_updater.
  • Made diagnostic_updater example go into bin directory.
  • Changed getParam to getParamCached.
  • Updated review status to API cleared.
  • Returned check of diagnostic_period to only happen when the update happens pending fix of ROS 0.0, -0.0, -0.0, 0.11215413361787796, -0.0)
  • Finished example and documentation. Renamed CombinationDiagnosticUpdater to CompositeDiagnosticUpdater.
  • Added setHardwareID to diagnostic_updater.
  • Reintroduced an Updater constructor that takes a node handle because a lot of nodes actually depend on it.
  • Bug slipped into previous checkin.
  • Updating documentation. Took NodeHandle parameter out of Updater constructor.
  • Added setHardwareID method, and now warns if it is not used.
  • Got rid of ComposableDiagnosticTask. Now all tasks are composable.
  • Modified diagnostic_period so that it gets checked every time the update method is called. This way a long period can get shortened without waiting for the long period to expire.
  • When a diagnostic task is first added to a diagnostic_updater, the initial status is now OK instead of error.
  • Added timestamp to diagnostic updater publish call. Auto-filling of timestamps is deprecated in ROS 0.10
  • Fixed spurious newline in string that was preventing compilation of diagnostic_updater users.
  • Finished updating the diagnostics for diagnostic_updater.
  • Commented the DiagnosedPublisher classes.
  • Added some comments to diagnostic_updater and made ComposableDiagnosticTask::split_run protected.
  • Updated diagnosed publisher code to be able to work with a CameraPublisher
  • Getting diagnostic_updater to compile. Still spewing a bunch of warnings.
  • Added extra debugging options to self_test and diagnostic_updater. On by default for self_test, off for diagnostic_updater. When on, failing statuses will be printed to the console.
  • updated self_test, diagnostic_updater, dynamic_reconfigure and wge100_camera to use new ~ namespace access method
  • Corrected diagnostic status merge logic.
  • diagnostics 0.1 commit. Removed diagnostic_analyzer/generic_analyzer and integrated into diagnostic_aggregator.
  • Add a method to clear the DiagnosticStatus values in DiagnosticStatusWrapper. Clear old values when reusing DiagnosticStatusWrapper.
  • Took out adds and addsf from diagnostic_updater/DiagnosticStatusWrapper now that all other nodes have been modified.
  • Converted adds into add and add-f into addf. Left the old ones, but they are now deprecated.
  • Updated self test for new diagnostic format.
  • Updated DiagnosticStatusWrapper for changes in diagnostic format.
  • Cleaned up DiagnosticStatusWrapper in response to change in diagnostic message.
  • Fixes for diagnostic_msgs::KeyValue::label -> key
  • fixing through diagnostic_updater
  • Changed DiagnosticMessage to DiagnosticArray
  • Changed DiagnosticValue to KeyValue
  • Fixed bug in declaration of deprecated class.
  • Deprecated old self_test and diagnostic_updater APIs.
  • Minor improvements to diagnostic updater.
  • Allowed Publisher to be changed in a DiagnosedPublisher. This allows the Publisher to be created later than the DiagnosedPublisher.
  • add cstdio include for gcc 4.4
  • Took out const_cast that became unnecessary thanks to the resolution of ticket #1228.
  • Added missing includes.
  • robot_msgs/Diagnostic* to diagnostic_msgs/Diagnostic* and robot_srvs/SelfTest into diagnostic_msgs too
  • Added DiagnosedPublisher and HeaderlessDiagnosedPublisher to automatically publish diagnostics upon publication, and integrated them with the forearm_camera. Started writing an outling of the driver_base classes.
  • Committing change from Blaise's tree
  • Added a formatted summary method to DiagnosticStatusWrapper.
  • Corrected a bug in the frequency updater, and made it and the timestamp updaters thread safe.
  • Added a TimeStampStatus diagnostic to monitor that timestamps are reasonably close to now.
  • Slowed timing by 10x in test case to improve odds of passing on 64 bit architectures.
  • Corrected some bugs that could have caused undefined behavior. Added support for automatically publishing a "Starting up" message before the while the node is initializing. Did some refactoring.
  • Fixed a bug in how function classes were being added to the Updater.
  • Fixed a bug in frequency diagnostic reporting.
  • Modified update functions so that they are function classes. Added a correspondence convenience add method to Updater_base.
  • Corrected a possibly infinite recursion in adds.
  • Small fix to compatibility layer for old-style nodes
  • Upgraded the diagnostic_updater to use NodeHandles, and to allow more general functions to be used. Started adding update_functions to do common diagnostic publishing tasks. This will be populated more later.
  • Added a DiagnosticStatusWrapper class derived from DiagnosticStatus. It adds a few methods to more conveniently set the DiagnosticStatus's fields. The diagnostic_updater has been updated so that it can work with DiagnosticStatus or DiagnosticStatusWrapper.:
  • diagnostic_updater: Now can be used with classes that don't inherit from Node.
  • roscpp API changes
    • ros::node -> ros::Node
    • ros::msg -> ros::Message
    • deprecated methods removed
    • rosconsole/rosconsole.h -> ros/console.h
    • goodbye rosthread
  • bogus dependency
  • results from changing ros::Time constructor and all uses of it I can find
  • Adding node name into diagnostic updater status names.
  • Moving package review status from wiki to manifests
  • Changing form of advertise in diagnostic updater.
  • Removing old printf from diagnostic_updater.
  • Checking in package for easy diagnostic updating.
  • Contributors: Vincent Rabaud, blaise, blaisegassend, bricerebsamen, ehberger, gerkey, jfaustwg, jleibs, leibs, morgan_quigley, pmihelich, rob_wheeler, straszheim, tfoote, vrabaud, watts, wattsk

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged diagnostic_updater at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 1.9.7
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros/diagnostics.git
VCS Type git
VCS Version indigo-devel
Last Updated 2020-10-06
Dev Status MAINTAINED
CI status Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

diagnostic_updater contains tools for easily updating diagnostics. it is commonly used in device drivers to keep track of the status of output topics, device status, etc.

Additional Links

Maintainers

  • Guglielmo Gemignani
  • Austin Hendrix

Authors

  • Kevin Watts
  • Brice Rebsamen
  • Jeremy Leibs
  • Blaise Gassend
README
No README found. No README in repository either.
CHANGELOG

Changelog for package diagnostic_updater

1.9.7 (2020-09-03)

  • Estract TimestampStatus run to cpp
  • Contributors: Guglielmo Gemignani

1.9.6 (2020-08-18)

  • Add SlowTimeStampStatus (#144)
  • Test build fix on Windows (#8) (#107)
  • Resolve div by zero in updater (#108)
  • Use std::isfinite due to deprecation on osx (#113)
  • Remove extra (not needed) trailing ':' (#116)
  • Fix GCC warnings with -Wpedantic (#124)
  • Contributors: Enrique Fernandez Perdomo, Jacob Perron, Sean Yen, Stephan Sundermann, William Hudgins, gemignani

1.9.5 (2020-08-10)

  • Merge pull request #105 from mikepurvis/py3-httplib Fix httplib import for Python 3.
  • Fix httplib import for Python 3.
  • Merge pull request #97 from kejxu/fix_windows_build_issue fix windows build issue
  • Merge branch 'indigo-devel' into fix_windows_build_issue
  • update windows bringup (#5)
  • avoid ERROR from windows.h
  • windows bringup
  • Merge pull request #86 from icolwell/diagnostic_status_custom_names Custom names for FrequencyStatus and TimeStampStatus
  • Remove C++11 features
  • Wording
  • Custom names for existing diagnostics tasks
  • Merge pull request #84 from nbussas/frequency_status_name Make FrequencyStatus' name configurable
  • Make FrequencyStatus' name configurable
  • Contributors: Austin, Ian Colwell, James Xu, Mike Purvis, Nils Bussas, Sean Yen

1.9.3 (2018-05-02)

  • Merge pull request #73 from tue-robotics/indigo-devel Add a simple Heartbeat-DiagnosticTask
  • Add Python version of Heartbeat DiagnosticTask
  • Add a very very simple Heartbeat DiagnosticTask
  • Contributors: Austin, Loy van Beek, loy

1.9.2 (2017-07-15)

1.9.1 (2017-07-15)

  • Add queue size parameters on Publishers
  • Minor python updates
  • Contributors: trainman419

1.9.0 (2017-04-25)

  • make rostest in CMakeLists optional (ros/rosdistro#3010)
  • Fixed bug with merge summary in status wrapper
  • Contributors: Lukas Bulwahn, pAIgn10

1.8.10 (2016-06-14)

1.8.9 (2016-03-02)

1.8.8 (2015-08-06)

1.8.7 (2015-01-09)

1.8.6 (2014-12-10)

1.8.5 (2014-07-29)

1.8.4 (2014-07-24 20:51)

1.8.3 (2014-04-23)

  • Initialize next_time_ properly. Fixes #20
  • Add failing test for fast updater
  • Contributors: Austin Hendrix

1.8.2 (2014-04-08)

  • Fix linking. All tests pass. Fixes #12
  • Most tests pass
  • Fix doc reference. Fixes #14
  • Contributors: Austin Hendrix

1.8.1 (2014-04-07)

  • Add myself as maintainer
  • Added ability to supply a custom node name (prefix) to Updater
  • Added ability to supply node handle and private node handle to Updater
  • fixed exporting python API to address #10
  • fixed test related issues in some CMakeLists
  • check for CATKIN_ENABLE_TESTING
  • Contributors: Aero, Austin Hendrix, Brice Rebsamen, Lukas Bulwahn, Mitchell Wills

1.8.0 (2013-04-03)

1.7.11 (2014-07-24 20:24)

  • Fix linking on tests
  • support python binding of diagnostic_updater on groovy
  • Contributors: Ryohei Ueda, trainman419

1.7.10 (2013-02-22)

  • Changed package.xml version number before releasing
  • added missing license header
  • added missing license headers
  • Contributors: Aaron Blasdel, Brice Rebsamen

1.7.9 (2012-12-14)

  • add missing dep to catkin
  • Contributors: Dirk Thomas

1.7.8 (2012-12-06)

  • missing includedirs from roscpp cause compile errors. diagnostic_aggregator/include/diagnostic_aggregator/status_item.h:45:21: fatal error: ros/ros.h: No such file or directory diagnostics/diagnostic_updater/include/diagnostic_updater/diagnostic_updater.h:42:29: fatal error: ros/node_handle.h: No such file or directory compilation terminated.
  • Contributors: Thibault Kruse

1.7.7 (2012-11-10)

1.7.6 (2012-11-07 23:32)

1.7.5 (2012-11-07 21:53)

1.7.4 (2012-11-07 20:18)

1.7.3 (2012-11-04)

  • fix the non-existing xml
  • Contributors: Vincent Rabaud

1.7.2 (2012-10-30 22:31)

  • fix rostest
  • Contributors: Vincent Rabaud

1.7.1 (2012-10-30 15:30)

  • fix a few things after the first release
  • fix a few things all over
  • Contributors: Vincent Rabaud

1.7.0 (2012-10-29)

  • catkinize the stack
  • backport the Python API from 1.7.0
  • use the proper gtest macro
  • Created branch 1.7.0 and reverted corresponding changes in trunk and tag 1.7.0 As a result branch 1.7.0 contains the new python API, and trunk corresponds to 1.6.4
  • Added Python API to diagnostic_updater
  • Fixing docs for frequency status parameters, #5093
  • Remove unused (according to K. Watts) class that depends on now nonexistent ros::Message
  • Remove unused (according to K. Watts) class that depends on now nonexistent ros::Message
  • Fixing formatting for diagnostic updater's update_functions. #4523
  • Adding std_msgs dependency to diagnostic_aggregator. #4491
  • Deprecated message methods removed in diagnostics updater
  • Added Ubuntu platform tags to manifest
  • Corrected the version number in which removeByName was added.
  • Added a removeByName method that allows a diagnostic task to be removed from a diagnostic_updater.
  • Adding checks to diagnostic status wrapper to verify output from bool values
  • Removed special handling of uint8 in diagnostic_status_wrapper. Uint8 isn't always bool.
  • DiagnosticStatusWrapper now has bool support in add() function. #3860
  • Marked diagnostic_updater and self_test as doc reviewed.
  • Tweaked examples and documentation based on doc review feedback.
  • Dox updates for diagnostic updater
  • Changed error to warning level in frequency status regression test
  • Removed ROS API from doxygen. Added setHardwareID method to example code.
  • Fixing param name in diagnostic updater
  • Reporting frequency problems as warning, not error in diagnostic_updater, #3555
  • Took out all deprecated stuff from diagnostic_updater.
  • Made diagnostic_updater example go into bin directory.
  • Changed getParam to getParamCached.
  • Updated review status to API cleared.
  • Returned check of diagnostic_period to only happen when the update happens pending fix of ROS 0.0, -0.0, -0.0, 0.11215413361787796, -0.0)
  • Finished example and documentation. Renamed CombinationDiagnosticUpdater to CompositeDiagnosticUpdater.
  • Added setHardwareID to diagnostic_updater.
  • Reintroduced an Updater constructor that takes a node handle because a lot of nodes actually depend on it.
  • Bug slipped into previous checkin.
  • Updating documentation. Took NodeHandle parameter out of Updater constructor.
  • Added setHardwareID method, and now warns if it is not used.
  • Got rid of ComposableDiagnosticTask. Now all tasks are composable.
  • Modified diagnostic_period so that it gets checked every time the update method is called. This way a long period can get shortened without waiting for the long period to expire.
  • When a diagnostic task is first added to a diagnostic_updater, the initial status is now OK instead of error.
  • Added timestamp to diagnostic updater publish call. Auto-filling of timestamps is deprecated in ROS 0.10
  • Fixed spurious newline in string that was preventing compilation of diagnostic_updater users.
  • Finished updating the diagnostics for diagnostic_updater.
  • Commented the DiagnosedPublisher classes.
  • Added some comments to diagnostic_updater and made ComposableDiagnosticTask::split_run protected.
  • Updated diagnosed publisher code to be able to work with a CameraPublisher
  • Getting diagnostic_updater to compile. Still spewing a bunch of warnings.
  • Added extra debugging options to self_test and diagnostic_updater. On by default for self_test, off for diagnostic_updater. When on, failing statuses will be printed to the console.
  • updated self_test, diagnostic_updater, dynamic_reconfigure and wge100_camera to use new ~ namespace access method
  • Corrected diagnostic status merge logic.
  • diagnostics 0.1 commit. Removed diagnostic_analyzer/generic_analyzer and integrated into diagnostic_aggregator.
  • Add a method to clear the DiagnosticStatus values in DiagnosticStatusWrapper. Clear old values when reusing DiagnosticStatusWrapper.
  • Took out adds and addsf from diagnostic_updater/DiagnosticStatusWrapper now that all other nodes have been modified.
  • Converted adds into add and add-f into addf. Left the old ones, but they are now deprecated.
  • Updated self test for new diagnostic format.
  • Updated DiagnosticStatusWrapper for changes in diagnostic format.
  • Cleaned up DiagnosticStatusWrapper in response to change in diagnostic message.
  • Fixes for diagnostic_msgs::KeyValue::label -> key
  • fixing through diagnostic_updater
  • Changed DiagnosticMessage to DiagnosticArray
  • Changed DiagnosticValue to KeyValue
  • Fixed bug in declaration of deprecated class.
  • Deprecated old self_test and diagnostic_updater APIs.
  • Minor improvements to diagnostic updater.
  • Allowed Publisher to be changed in a DiagnosedPublisher. This allows the Publisher to be created later than the DiagnosedPublisher.
  • add cstdio include for gcc 4.4
  • Took out const_cast that became unnecessary thanks to the resolution of ticket #1228.
  • Added missing includes.
  • robot_msgs/Diagnostic* to diagnostic_msgs/Diagnostic* and robot_srvs/SelfTest into diagnostic_msgs too
  • Added DiagnosedPublisher and HeaderlessDiagnosedPublisher to automatically publish diagnostics upon publication, and integrated them with the forearm_camera. Started writing an outling of the driver_base classes.
  • Committing change from Blaise's tree
  • Added a formatted summary method to DiagnosticStatusWrapper.
  • Corrected a bug in the frequency updater, and made it and the timestamp updaters thread safe.
  • Added a TimeStampStatus diagnostic to monitor that timestamps are reasonably close to now.
  • Slowed timing by 10x in test case to improve odds of passing on 64 bit architectures.
  • Corrected some bugs that could have caused undefined behavior. Added support for automatically publishing a "Starting up" message before the while the node is initializing. Did some refactoring.
  • Fixed a bug in how function classes were being added to the Updater.
  • Fixed a bug in frequency diagnostic reporting.
  • Modified update functions so that they are function classes. Added a correspondence convenience add method to Updater_base.
  • Corrected a possibly infinite recursion in adds.
  • Small fix to compatibility layer for old-style nodes
  • Upgraded the diagnostic_updater to use NodeHandles, and to allow more general functions to be used. Started adding update_functions to do common diagnostic publishing tasks. This will be populated more later.
  • Added a DiagnosticStatusWrapper class derived from DiagnosticStatus. It adds a few methods to more conveniently set the DiagnosticStatus's fields. The diagnostic_updater has been updated so that it can work with DiagnosticStatus or DiagnosticStatusWrapper.:
  • diagnostic_updater: Now can be used with classes that don't inherit from Node.
  • roscpp API changes
    • ros::node -> ros::Node
    • ros::msg -> ros::Message
    • deprecated methods removed
    • rosconsole/rosconsole.h -> ros/console.h
    • goodbye rosthread
  • bogus dependency
  • results from changing ros::Time constructor and all uses of it I can find
  • Adding node name into diagnostic updater status names.
  • Moving package review status from wiki to manifests
  • Changing form of advertise in diagnostic updater.
  • Removing old printf from diagnostic_updater.
  • Checking in package for easy diagnostic updating.
  • Contributors: Vincent Rabaud, blaise, blaisegassend, bricerebsamen, ehberger, gerkey, jfaustwg, jleibs, leibs, morgan_quigley, pmihelich, rob_wheeler, straszheim, tfoote, vrabaud, watts, wattsk

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged diagnostic_updater at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 1.9.7
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros/diagnostics.git
VCS Type git
VCS Version indigo-devel
Last Updated 2020-10-06
Dev Status MAINTAINED
CI status Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

diagnostic_updater contains tools for easily updating diagnostics. it is commonly used in device drivers to keep track of the status of output topics, device status, etc.

Additional Links

Maintainers

  • Guglielmo Gemignani
  • Austin Hendrix

Authors

  • Kevin Watts
  • Brice Rebsamen
  • Jeremy Leibs
  • Blaise Gassend
README
No README found. No README in repository either.
CHANGELOG

Changelog for package diagnostic_updater

1.9.7 (2020-09-03)

  • Estract TimestampStatus run to cpp
  • Contributors: Guglielmo Gemignani

1.9.6 (2020-08-18)

  • Add SlowTimeStampStatus (#144)
  • Test build fix on Windows (#8) (#107)
  • Resolve div by zero in updater (#108)
  • Use std::isfinite due to deprecation on osx (#113)
  • Remove extra (not needed) trailing ':' (#116)
  • Fix GCC warnings with -Wpedantic (#124)
  • Contributors: Enrique Fernandez Perdomo, Jacob Perron, Sean Yen, Stephan Sundermann, William Hudgins, gemignani

1.9.5 (2020-08-10)

  • Merge pull request #105 from mikepurvis/py3-httplib Fix httplib import for Python 3.
  • Fix httplib import for Python 3.
  • Merge pull request #97 from kejxu/fix_windows_build_issue fix windows build issue
  • Merge branch 'indigo-devel' into fix_windows_build_issue
  • update windows bringup (#5)
  • avoid ERROR from windows.h
  • windows bringup
  • Merge pull request #86 from icolwell/diagnostic_status_custom_names Custom names for FrequencyStatus and TimeStampStatus
  • Remove C++11 features
  • Wording
  • Custom names for existing diagnostics tasks
  • Merge pull request #84 from nbussas/frequency_status_name Make FrequencyStatus' name configurable
  • Make FrequencyStatus' name configurable
  • Contributors: Austin, Ian Colwell, James Xu, Mike Purvis, Nils Bussas, Sean Yen

1.9.3 (2018-05-02)

  • Merge pull request #73 from tue-robotics/indigo-devel Add a simple Heartbeat-DiagnosticTask
  • Add Python version of Heartbeat DiagnosticTask
  • Add a very very simple Heartbeat DiagnosticTask
  • Contributors: Austin, Loy van Beek, loy

1.9.2 (2017-07-15)

1.9.1 (2017-07-15)

  • Add queue size parameters on Publishers
  • Minor python updates
  • Contributors: trainman419

1.9.0 (2017-04-25)

  • make rostest in CMakeLists optional (ros/rosdistro#3010)
  • Fixed bug with merge summary in status wrapper
  • Contributors: Lukas Bulwahn, pAIgn10

1.8.10 (2016-06-14)

1.8.9 (2016-03-02)

1.8.8 (2015-08-06)

1.8.7 (2015-01-09)

1.8.6 (2014-12-10)

1.8.5 (2014-07-29)

1.8.4 (2014-07-24 20:51)

1.8.3 (2014-04-23)

  • Initialize next_time_ properly. Fixes #20
  • Add failing test for fast updater
  • Contributors: Austin Hendrix

1.8.2 (2014-04-08)

  • Fix linking. All tests pass. Fixes #12
  • Most tests pass
  • Fix doc reference. Fixes #14
  • Contributors: Austin Hendrix

1.8.1 (2014-04-07)

  • Add myself as maintainer
  • Added ability to supply a custom node name (prefix) to Updater
  • Added ability to supply node handle and private node handle to Updater
  • fixed exporting python API to address #10
  • fixed test related issues in some CMakeLists
  • check for CATKIN_ENABLE_TESTING
  • Contributors: Aero, Austin Hendrix, Brice Rebsamen, Lukas Bulwahn, Mitchell Wills

1.8.0 (2013-04-03)

1.7.11 (2014-07-24 20:24)

  • Fix linking on tests
  • support python binding of diagnostic_updater on groovy
  • Contributors: Ryohei Ueda, trainman419

1.7.10 (2013-02-22)

  • Changed package.xml version number before releasing
  • added missing license header
  • added missing license headers
  • Contributors: Aaron Blasdel, Brice Rebsamen

1.7.9 (2012-12-14)

  • add missing dep to catkin
  • Contributors: Dirk Thomas

1.7.8 (2012-12-06)

  • missing includedirs from roscpp cause compile errors. diagnostic_aggregator/include/diagnostic_aggregator/status_item.h:45:21: fatal error: ros/ros.h: No such file or directory diagnostics/diagnostic_updater/include/diagnostic_updater/diagnostic_updater.h:42:29: fatal error: ros/node_handle.h: No such file or directory compilation terminated.
  • Contributors: Thibault Kruse

1.7.7 (2012-11-10)

1.7.6 (2012-11-07 23:32)

1.7.5 (2012-11-07 21:53)

1.7.4 (2012-11-07 20:18)

1.7.3 (2012-11-04)

  • fix the non-existing xml
  • Contributors: Vincent Rabaud

1.7.2 (2012-10-30 22:31)

  • fix rostest
  • Contributors: Vincent Rabaud

1.7.1 (2012-10-30 15:30)

  • fix a few things after the first release
  • fix a few things all over
  • Contributors: Vincent Rabaud

1.7.0 (2012-10-29)

  • catkinize the stack
  • backport the Python API from 1.7.0
  • use the proper gtest macro
  • Created branch 1.7.0 and reverted corresponding changes in trunk and tag 1.7.0 As a result branch 1.7.0 contains the new python API, and trunk corresponds to 1.6.4
  • Added Python API to diagnostic_updater
  • Fixing docs for frequency status parameters, #5093
  • Remove unused (according to K. Watts) class that depends on now nonexistent ros::Message
  • Remove unused (according to K. Watts) class that depends on now nonexistent ros::Message
  • Fixing formatting for diagnostic updater's update_functions. #4523
  • Adding std_msgs dependency to diagnostic_aggregator. #4491
  • Deprecated message methods removed in diagnostics updater
  • Added Ubuntu platform tags to manifest
  • Corrected the version number in which removeByName was added.
  • Added a removeByName method that allows a diagnostic task to be removed from a diagnostic_updater.
  • Adding checks to diagnostic status wrapper to verify output from bool values
  • Removed special handling of uint8 in diagnostic_status_wrapper. Uint8 isn't always bool.
  • DiagnosticStatusWrapper now has bool support in add() function. #3860
  • Marked diagnostic_updater and self_test as doc reviewed.
  • Tweaked examples and documentation based on doc review feedback.
  • Dox updates for diagnostic updater
  • Changed error to warning level in frequency status regression test
  • Removed ROS API from doxygen. Added setHardwareID method to example code.
  • Fixing param name in diagnostic updater
  • Reporting frequency problems as warning, not error in diagnostic_updater, #3555
  • Took out all deprecated stuff from diagnostic_updater.
  • Made diagnostic_updater example go into bin directory.
  • Changed getParam to getParamCached.
  • Updated review status to API cleared.
  • Returned check of diagnostic_period to only happen when the update happens pending fix of ROS 0.0, -0.0, -0.0, 0.11215413361787796, -0.0)
  • Finished example and documentation. Renamed CombinationDiagnosticUpdater to CompositeDiagnosticUpdater.
  • Added setHardwareID to diagnostic_updater.
  • Reintroduced an Updater constructor that takes a node handle because a lot of nodes actually depend on it.
  • Bug slipped into previous checkin.
  • Updating documentation. Took NodeHandle parameter out of Updater constructor.
  • Added setHardwareID method, and now warns if it is not used.
  • Got rid of ComposableDiagnosticTask. Now all tasks are composable.
  • Modified diagnostic_period so that it gets checked every time the update method is called. This way a long period can get shortened without waiting for the long period to expire.
  • When a diagnostic task is first added to a diagnostic_updater, the initial status is now OK instead of error.
  • Added timestamp to diagnostic updater publish call. Auto-filling of timestamps is deprecated in ROS 0.10
  • Fixed spurious newline in string that was preventing compilation of diagnostic_updater users.
  • Finished updating the diagnostics for diagnostic_updater.
  • Commented the DiagnosedPublisher classes.
  • Added some comments to diagnostic_updater and made ComposableDiagnosticTask::split_run protected.
  • Updated diagnosed publisher code to be able to work with a CameraPublisher
  • Getting diagnostic_updater to compile. Still spewing a bunch of warnings.
  • Added extra debugging options to self_test and diagnostic_updater. On by default for self_test, off for diagnostic_updater. When on, failing statuses will be printed to the console.
  • updated self_test, diagnostic_updater, dynamic_reconfigure and wge100_camera to use new ~ namespace access method
  • Corrected diagnostic status merge logic.
  • diagnostics 0.1 commit. Removed diagnostic_analyzer/generic_analyzer and integrated into diagnostic_aggregator.
  • Add a method to clear the DiagnosticStatus values in DiagnosticStatusWrapper. Clear old values when reusing DiagnosticStatusWrapper.
  • Took out adds and addsf from diagnostic_updater/DiagnosticStatusWrapper now that all other nodes have been modified.
  • Converted adds into add and add-f into addf. Left the old ones, but they are now deprecated.
  • Updated self test for new diagnostic format.
  • Updated DiagnosticStatusWrapper for changes in diagnostic format.
  • Cleaned up DiagnosticStatusWrapper in response to change in diagnostic message.
  • Fixes for diagnostic_msgs::KeyValue::label -> key
  • fixing through diagnostic_updater
  • Changed DiagnosticMessage to DiagnosticArray
  • Changed DiagnosticValue to KeyValue
  • Fixed bug in declaration of deprecated class.
  • Deprecated old self_test and diagnostic_updater APIs.
  • Minor improvements to diagnostic updater.
  • Allowed Publisher to be changed in a DiagnosedPublisher. This allows the Publisher to be created later than the DiagnosedPublisher.
  • add cstdio include for gcc 4.4
  • Took out const_cast that became unnecessary thanks to the resolution of ticket #1228.
  • Added missing includes.
  • robot_msgs/Diagnostic* to diagnostic_msgs/Diagnostic* and robot_srvs/SelfTest into diagnostic_msgs too
  • Added DiagnosedPublisher and HeaderlessDiagnosedPublisher to automatically publish diagnostics upon publication, and integrated them with the forearm_camera. Started writing an outling of the driver_base classes.
  • Committing change from Blaise's tree
  • Added a formatted summary method to DiagnosticStatusWrapper.
  • Corrected a bug in the frequency updater, and made it and the timestamp updaters thread safe.
  • Added a TimeStampStatus diagnostic to monitor that timestamps are reasonably close to now.
  • Slowed timing by 10x in test case to improve odds of passing on 64 bit architectures.
  • Corrected some bugs that could have caused undefined behavior. Added support for automatically publishing a "Starting up" message before the while the node is initializing. Did some refactoring.
  • Fixed a bug in how function classes were being added to the Updater.
  • Fixed a bug in frequency diagnostic reporting.
  • Modified update functions so that they are function classes. Added a correspondence convenience add method to Updater_base.
  • Corrected a possibly infinite recursion in adds.
  • Small fix to compatibility layer for old-style nodes
  • Upgraded the diagnostic_updater to use NodeHandles, and to allow more general functions to be used. Started adding update_functions to do common diagnostic publishing tasks. This will be populated more later.
  • Added a DiagnosticStatusWrapper class derived from DiagnosticStatus. It adds a few methods to more conveniently set the DiagnosticStatus's fields. The diagnostic_updater has been updated so that it can work with DiagnosticStatus or DiagnosticStatusWrapper.:
  • diagnostic_updater: Now can be used with classes that don't inherit from Node.
  • roscpp API changes
    • ros::node -> ros::Node
    • ros::msg -> ros::Message
    • deprecated methods removed
    • rosconsole/rosconsole.h -> ros/console.h
    • goodbye rosthread
  • bogus dependency
  • results from changing ros::Time constructor and all uses of it I can find
  • Adding node name into diagnostic updater status names.
  • Moving package review status from wiki to manifests
  • Changing form of advertise in diagnostic updater.
  • Removing old printf from diagnostic_updater.
  • Checking in package for easy diagnostic updating.
  • Contributors: Vincent Rabaud, blaise, blaisegassend, bricerebsamen, ehberger, gerkey, jfaustwg, jleibs, leibs, morgan_quigley, pmihelich, rob_wheeler, straszheim, tfoote, vrabaud, watts, wattsk

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

Name Deps
avt_vimba_camera
cob_monitoring
cob_bms_driver
cob_mimic
cob_undercarriage_ctrl
cob_hand_bridge
diagnostic_common_diagnostics
diagnostics
self_test
driver_base
flir_ptu_driver
freenect_camera
gazebo_plugins
joy
jsk_network_tools
jsk_tools
jsk_topic_tools
jsk_footstep_controller
jsk_teleop_joy
jsk_pcl_ros
jsk_pcl_ros_utils
kobuki_node
swri_roscpp
mavros
microstrain_3dmgx2_imu
microstrain_mips
minas_control
naoqi_driver
planner_cspace
safety_limiter
novatel_gps_driver
novatel_span_driver
omron_os32c_driver
phidgets_imu
play_motion
pointgrey_camera_driver
pr2_mechanism_controllers
ethercat_hardware
pr2_mechanism_diagnostics
ocean_battery_driver
pr2_power_board
pr2_ethercat
pr2_gazebo_plugins
prosilica_camera
rc_visard_driver
robot_localization
canopen_chain_node
sick_ldmrs_driver
sick_safetyscanners
sick_scan
sick_tim
sr_edc_launch
sr_robot_lib
swri_profiler
twist_mux
ubiquity_motor
ublox_gps
urg_node
velodyne_driver
velodyne_pointcloud
wge100_camera
agvs_pad
agvs_robot_control
camera1394
ca_driver
grizzly_motion
infinisoleil
naoqi_dcm_driver
netft_utils
puma_motor_driver
rb1_base_pad
rbcar_pad
rbcar_joystick
rbcar_robot_control
roch_base
sicktoolbox_wrapper
summit_x_robot_control
summit_xl_pad
summit_xl_robot_control
asctec_hl_interface
hokuyo_node
open_controllers_interface
orientus_driver
ros_ethercat_hardware
ros_ethercat_loop
s3000_laser
sr_ronex_drivers
vicon_bridge
drums_ros
epos_hardware
evarobot_gazebo
husky_base
jackal_base
joystick_sdl
rb1_torso_pad
ridgeback_base

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged diagnostic_updater at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 1.8.8
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros/diagnostics.git
VCS Type git
VCS Version hydro-devel
Last Updated 2015-08-07
Dev Status MAINTAINED
CI status Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

diagnostic_updater contains tools for easily updating diagnostics. it is commonly used in device drivers to keep track of the status of output topics, device status, etc.

Additional Links

Maintainers

  • Austin Hendrix
  • Brice Rebsamen

Authors

  • Kevin Watts
  • Brice Rebsamen
  • Jeremy Leibs
  • Blaise Gassend
README
No README found. No README in repository either.
CHANGELOG
No CHANGELOG found.

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged diagnostic_updater at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 1.9.7
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros/diagnostics.git
VCS Type git
VCS Version indigo-devel
Last Updated 2020-10-06
Dev Status MAINTAINED
CI status Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

diagnostic_updater contains tools for easily updating diagnostics. it is commonly used in device drivers to keep track of the status of output topics, device status, etc.

Additional Links

Maintainers

  • Guglielmo Gemignani
  • Austin Hendrix

Authors

  • Kevin Watts
  • Brice Rebsamen
  • Jeremy Leibs
  • Blaise Gassend
README
No README found. No README in repository either.
CHANGELOG

Changelog for package diagnostic_updater

1.9.7 (2020-09-03)

  • Estract TimestampStatus run to cpp
  • Contributors: Guglielmo Gemignani

1.9.6 (2020-08-18)

  • Add SlowTimeStampStatus (#144)
  • Test build fix on Windows (#8) (#107)
  • Resolve div by zero in updater (#108)
  • Use std::isfinite due to deprecation on osx (#113)
  • Remove extra (not needed) trailing ':' (#116)
  • Fix GCC warnings with -Wpedantic (#124)
  • Contributors: Enrique Fernandez Perdomo, Jacob Perron, Sean Yen, Stephan Sundermann, William Hudgins, gemignani

1.9.5 (2020-08-10)

  • Merge pull request #105 from mikepurvis/py3-httplib Fix httplib import for Python 3.
  • Fix httplib import for Python 3.
  • Merge pull request #97 from kejxu/fix_windows_build_issue fix windows build issue
  • Merge branch 'indigo-devel' into fix_windows_build_issue
  • update windows bringup (#5)
  • avoid ERROR from windows.h
  • windows bringup
  • Merge pull request #86 from icolwell/diagnostic_status_custom_names Custom names for FrequencyStatus and TimeStampStatus
  • Remove C++11 features
  • Wording
  • Custom names for existing diagnostics tasks
  • Merge pull request #84 from nbussas/frequency_status_name Make FrequencyStatus' name configurable
  • Make FrequencyStatus' name configurable
  • Contributors: Austin, Ian Colwell, James Xu, Mike Purvis, Nils Bussas, Sean Yen

1.9.3 (2018-05-02)

  • Merge pull request #73 from tue-robotics/indigo-devel Add a simple Heartbeat-DiagnosticTask
  • Add Python version of Heartbeat DiagnosticTask
  • Add a very very simple Heartbeat DiagnosticTask
  • Contributors: Austin, Loy van Beek, loy

1.9.2 (2017-07-15)

1.9.1 (2017-07-15)

  • Add queue size parameters on Publishers
  • Minor python updates
  • Contributors: trainman419

1.9.0 (2017-04-25)

  • make rostest in CMakeLists optional (ros/rosdistro#3010)
  • Fixed bug with merge summary in status wrapper
  • Contributors: Lukas Bulwahn, pAIgn10

1.8.10 (2016-06-14)

1.8.9 (2016-03-02)

1.8.8 (2015-08-06)

1.8.7 (2015-01-09)

1.8.6 (2014-12-10)

1.8.5 (2014-07-29)

1.8.4 (2014-07-24 20:51)

1.8.3 (2014-04-23)

  • Initialize next_time_ properly. Fixes #20
  • Add failing test for fast updater
  • Contributors: Austin Hendrix

1.8.2 (2014-04-08)

  • Fix linking. All tests pass. Fixes #12
  • Most tests pass
  • Fix doc reference. Fixes #14
  • Contributors: Austin Hendrix

1.8.1 (2014-04-07)

  • Add myself as maintainer
  • Added ability to supply a custom node name (prefix) to Updater
  • Added ability to supply node handle and private node handle to Updater
  • fixed exporting python API to address #10
  • fixed test related issues in some CMakeLists
  • check for CATKIN_ENABLE_TESTING
  • Contributors: Aero, Austin Hendrix, Brice Rebsamen, Lukas Bulwahn, Mitchell Wills

1.8.0 (2013-04-03)

1.7.11 (2014-07-24 20:24)

  • Fix linking on tests
  • support python binding of diagnostic_updater on groovy
  • Contributors: Ryohei Ueda, trainman419

1.7.10 (2013-02-22)

  • Changed package.xml version number before releasing
  • added missing license header
  • added missing license headers
  • Contributors: Aaron Blasdel, Brice Rebsamen

1.7.9 (2012-12-14)

  • add missing dep to catkin
  • Contributors: Dirk Thomas

1.7.8 (2012-12-06)

  • missing includedirs from roscpp cause compile errors. diagnostic_aggregator/include/diagnostic_aggregator/status_item.h:45:21: fatal error: ros/ros.h: No such file or directory diagnostics/diagnostic_updater/include/diagnostic_updater/diagnostic_updater.h:42:29: fatal error: ros/node_handle.h: No such file or directory compilation terminated.
  • Contributors: Thibault Kruse

1.7.7 (2012-11-10)

1.7.6 (2012-11-07 23:32)

1.7.5 (2012-11-07 21:53)

1.7.4 (2012-11-07 20:18)

1.7.3 (2012-11-04)

  • fix the non-existing xml
  • Contributors: Vincent Rabaud

1.7.2 (2012-10-30 22:31)

  • fix rostest
  • Contributors: Vincent Rabaud

1.7.1 (2012-10-30 15:30)

  • fix a few things after the first release
  • fix a few things all over
  • Contributors: Vincent Rabaud

1.7.0 (2012-10-29)

  • catkinize the stack
  • backport the Python API from 1.7.0
  • use the proper gtest macro
  • Created branch 1.7.0 and reverted corresponding changes in trunk and tag 1.7.0 As a result branch 1.7.0 contains the new python API, and trunk corresponds to 1.6.4
  • Added Python API to diagnostic_updater
  • Fixing docs for frequency status parameters, #5093
  • Remove unused (according to K. Watts) class that depends on now nonexistent ros::Message
  • Remove unused (according to K. Watts) class that depends on now nonexistent ros::Message
  • Fixing formatting for diagnostic updater's update_functions. #4523
  • Adding std_msgs dependency to diagnostic_aggregator. #4491
  • Deprecated message methods removed in diagnostics updater
  • Added Ubuntu platform tags to manifest
  • Corrected the version number in which removeByName was added.
  • Added a removeByName method that allows a diagnostic task to be removed from a diagnostic_updater.
  • Adding checks to diagnostic status wrapper to verify output from bool values
  • Removed special handling of uint8 in diagnostic_status_wrapper. Uint8 isn't always bool.
  • DiagnosticStatusWrapper now has bool support in add() function. #3860
  • Marked diagnostic_updater and self_test as doc reviewed.
  • Tweaked examples and documentation based on doc review feedback.
  • Dox updates for diagnostic updater
  • Changed error to warning level in frequency status regression test
  • Removed ROS API from doxygen. Added setHardwareID method to example code.
  • Fixing param name in diagnostic updater
  • Reporting frequency problems as warning, not error in diagnostic_updater, #3555
  • Took out all deprecated stuff from diagnostic_updater.
  • Made diagnostic_updater example go into bin directory.
  • Changed getParam to getParamCached.
  • Updated review status to API cleared.
  • Returned check of diagnostic_period to only happen when the update happens pending fix of ROS 0.0, -0.0, -0.0, 0.11215413361787796, -0.0)
  • Finished example and documentation. Renamed CombinationDiagnosticUpdater to CompositeDiagnosticUpdater.
  • Added setHardwareID to diagnostic_updater.
  • Reintroduced an Updater constructor that takes a node handle because a lot of nodes actually depend on it.
  • Bug slipped into previous checkin.
  • Updating documentation. Took NodeHandle parameter out of Updater constructor.
  • Added setHardwareID method, and now warns if it is not used.
  • Got rid of ComposableDiagnosticTask. Now all tasks are composable.
  • Modified diagnostic_period so that it gets checked every time the update method is called. This way a long period can get shortened without waiting for the long period to expire.
  • When a diagnostic task is first added to a diagnostic_updater, the initial status is now OK instead of error.
  • Added timestamp to diagnostic updater publish call. Auto-filling of timestamps is deprecated in ROS 0.10
  • Fixed spurious newline in string that was preventing compilation of diagnostic_updater users.
  • Finished updating the diagnostics for diagnostic_updater.
  • Commented the DiagnosedPublisher classes.
  • Added some comments to diagnostic_updater and made ComposableDiagnosticTask::split_run protected.
  • Updated diagnosed publisher code to be able to work with a CameraPublisher
  • Getting diagnostic_updater to compile. Still spewing a bunch of warnings.
  • Added extra debugging options to self_test and diagnostic_updater. On by default for self_test, off for diagnostic_updater. When on, failing statuses will be printed to the console.
  • updated self_test, diagnostic_updater, dynamic_reconfigure and wge100_camera to use new ~ namespace access method
  • Corrected diagnostic status merge logic.
  • diagnostics 0.1 commit. Removed diagnostic_analyzer/generic_analyzer and integrated into diagnostic_aggregator.
  • Add a method to clear the DiagnosticStatus values in DiagnosticStatusWrapper. Clear old values when reusing DiagnosticStatusWrapper.
  • Took out adds and addsf from diagnostic_updater/DiagnosticStatusWrapper now that all other nodes have been modified.
  • Converted adds into add and add-f into addf. Left the old ones, but they are now deprecated.
  • Updated self test for new diagnostic format.
  • Updated DiagnosticStatusWrapper for changes in diagnostic format.
  • Cleaned up DiagnosticStatusWrapper in response to change in diagnostic message.
  • Fixes for diagnostic_msgs::KeyValue::label -> key
  • fixing through diagnostic_updater
  • Changed DiagnosticMessage to DiagnosticArray
  • Changed DiagnosticValue to KeyValue
  • Fixed bug in declaration of deprecated class.
  • Deprecated old self_test and diagnostic_updater APIs.
  • Minor improvements to diagnostic updater.
  • Allowed Publisher to be changed in a DiagnosedPublisher. This allows the Publisher to be created later than the DiagnosedPublisher.
  • add cstdio include for gcc 4.4
  • Took out const_cast that became unnecessary thanks to the resolution of ticket #1228.
  • Added missing includes.
  • robot_msgs/Diagnostic* to diagnostic_msgs/Diagnostic* and robot_srvs/SelfTest into diagnostic_msgs too
  • Added DiagnosedPublisher and HeaderlessDiagnosedPublisher to automatically publish diagnostics upon publication, and integrated them with the forearm_camera. Started writing an outling of the driver_base classes.
  • Committing change from Blaise's tree
  • Added a formatted summary method to DiagnosticStatusWrapper.
  • Corrected a bug in the frequency updater, and made it and the timestamp updaters thread safe.
  • Added a TimeStampStatus diagnostic to monitor that timestamps are reasonably close to now.
  • Slowed timing by 10x in test case to improve odds of passing on 64 bit architectures.
  • Corrected some bugs that could have caused undefined behavior. Added support for automatically publishing a "Starting up" message before the while the node is initializing. Did some refactoring.
  • Fixed a bug in how function classes were being added to the Updater.
  • Fixed a bug in frequency diagnostic reporting.
  • Modified update functions so that they are function classes. Added a correspondence convenience add method to Updater_base.
  • Corrected a possibly infinite recursion in adds.
  • Small fix to compatibility layer for old-style nodes
  • Upgraded the diagnostic_updater to use NodeHandles, and to allow more general functions to be used. Started adding update_functions to do common diagnostic publishing tasks. This will be populated more later.
  • Added a DiagnosticStatusWrapper class derived from DiagnosticStatus. It adds a few methods to more conveniently set the DiagnosticStatus's fields. The diagnostic_updater has been updated so that it can work with DiagnosticStatus or DiagnosticStatusWrapper.:
  • diagnostic_updater: Now can be used with classes that don't inherit from Node.
  • roscpp API changes
    • ros::node -> ros::Node
    • ros::msg -> ros::Message
    • deprecated methods removed
    • rosconsole/rosconsole.h -> ros/console.h
    • goodbye rosthread
  • bogus dependency
  • results from changing ros::Time constructor and all uses of it I can find
  • Adding node name into diagnostic updater status names.
  • Moving package review status from wiki to manifests
  • Changing form of advertise in diagnostic updater.
  • Removing old printf from diagnostic_updater.
  • Checking in package for easy diagnostic updating.
  • Contributors: Vincent Rabaud, blaise, blaisegassend, bricerebsamen, ehberger, gerkey, jfaustwg, jleibs, leibs, morgan_quigley, pmihelich, rob_wheeler, straszheim, tfoote, vrabaud, watts, wattsk

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

Name Deps
avt_vimba_camera
cob_monitoring
cob_bms_driver
cob_mimic
cob_undercarriage_ctrl
cob_hand_bridge
diagnostic_common_diagnostics
diagnostics
self_test
driver_base
flir_ptu_driver
freenect_camera
gazebo_plugins
hfl_driver
husky_base
ixblue_ins_driver
joy
jsk_network_tools
jsk_tools
jsk_topic_tools
jsk_footstep_controller
jsk_teleop_joy
jsk_pcl_ros
jsk_pcl_ros_utils
khi_robot_control
kobuki_node
kvh_geo_fog_3d_driver
libsensors_monitor
swri_roscpp
mavros
mcl_3dl
microstrain_3dmgx2_imu
microstrain_mips
minas_control
multisense_ros
naoqi_driver
planner_cspace
safety_limiter
novatel_gps_driver
novatel_span_driver
omron_os32c_driver
p2os_driver
phidgets_imu
play_motion
pointgrey_camera_driver
pr2_mechanism_controllers
ethercat_hardware
pr2_mechanism_diagnostics
ocean_battery_driver
pr2_power_board
pr2_ethercat
pr2_gazebo_plugins
prosilica_camera
rc_genicam_driver
rc_visard_driver
rslidar_driver
robot_localization
canopen_chain_node
sick_ldmrs_driver
sick_safetyscanners
sick_scan
sick_tim
sr_edc_launch
sr_robot_lib
swri_profiler
twist_mux
ubiquity_motor
ublox_gps
urg_node
velodyne_driver
velodyne_pointcloud
wge100_camera
agvs_pad
agvs_robot_control
camera1394
ca_driver
spinnaker_camera_driver
image_recognition_age_gender
image_recognition_face_recognition
image_recognition_openface
image_recognition_openpose
image_recognition_pose_estimation
image_recognition_skybiometry
image_recognition_tensorflow
infinisoleil
lslidar_n301_driver
melfa_driver
naoqi_dcm_driver
netft_utils
o3m151_driver
puma_motor_driver
raspicam_node
rb1_base_pad
rbcar_pad
rbcar_joystick
rbcar_robot_control
robotiq_3f_gripper_control
roch_base
sicktoolbox_wrapper
summit_x_robot_control
summit_xl_pad
thormang3_imu_3dm_gx4
xbot_node
xiaoqiang_freenect_camera

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged diagnostic_updater at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 1.9.7
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros/diagnostics.git
VCS Type git
VCS Version indigo-devel
Last Updated 2020-10-06
Dev Status MAINTAINED
CI status
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

diagnostic_updater contains tools for easily updating diagnostics. it is commonly used in device drivers to keep track of the status of output topics, device status, etc.

Additional Links

Maintainers

  • Guglielmo Gemignani
  • Austin Hendrix

Authors

  • Kevin Watts
  • Brice Rebsamen
  • Jeremy Leibs
  • Blaise Gassend
README
No README found. No README in repository either.
CHANGELOG

Changelog for package diagnostic_updater

1.9.7 (2020-09-03)

  • Estract TimestampStatus run to cpp
  • Contributors: Guglielmo Gemignani

1.9.6 (2020-08-18)

  • Add SlowTimeStampStatus (#144)
  • Test build fix on Windows (#8) (#107)
  • Resolve div by zero in updater (#108)
  • Use std::isfinite due to deprecation on osx (#113)
  • Remove extra (not needed) trailing ':' (#116)
  • Fix GCC warnings with -Wpedantic (#124)
  • Contributors: Enrique Fernandez Perdomo, Jacob Perron, Sean Yen, Stephan Sundermann, William Hudgins, gemignani

1.9.5 (2020-08-10)

  • Merge pull request #105 from mikepurvis/py3-httplib Fix httplib import for Python 3.
  • Fix httplib import for Python 3.
  • Merge pull request #97 from kejxu/fix_windows_build_issue fix windows build issue
  • Merge branch 'indigo-devel' into fix_windows_build_issue
  • update windows bringup (#5)
  • avoid ERROR from windows.h
  • windows bringup
  • Merge pull request #86 from icolwell/diagnostic_status_custom_names Custom names for FrequencyStatus and TimeStampStatus
  • Remove C++11 features
  • Wording
  • Custom names for existing diagnostics tasks
  • Merge pull request #84 from nbussas/frequency_status_name Make FrequencyStatus' name configurable
  • Make FrequencyStatus' name configurable
  • Contributors: Austin, Ian Colwell, James Xu, Mike Purvis, Nils Bussas, Sean Yen

1.9.3 (2018-05-02)

  • Merge pull request #73 from tue-robotics/indigo-devel Add a simple Heartbeat-DiagnosticTask
  • Add Python version of Heartbeat DiagnosticTask
  • Add a very very simple Heartbeat DiagnosticTask
  • Contributors: Austin, Loy van Beek, loy

1.9.2 (2017-07-15)

1.9.1 (2017-07-15)

  • Add queue size parameters on Publishers
  • Minor python updates
  • Contributors: trainman419

1.9.0 (2017-04-25)

  • make rostest in CMakeLists optional (ros/rosdistro#3010)
  • Fixed bug with merge summary in status wrapper
  • Contributors: Lukas Bulwahn, pAIgn10

1.8.10 (2016-06-14)

1.8.9 (2016-03-02)

1.8.8 (2015-08-06)

1.8.7 (2015-01-09)

1.8.6 (2014-12-10)

1.8.5 (2014-07-29)

1.8.4 (2014-07-24 20:51)

1.8.3 (2014-04-23)

  • Initialize next_time_ properly. Fixes #20
  • Add failing test for fast updater
  • Contributors: Austin Hendrix

1.8.2 (2014-04-08)

  • Fix linking. All tests pass. Fixes #12
  • Most tests pass
  • Fix doc reference. Fixes #14
  • Contributors: Austin Hendrix

1.8.1 (2014-04-07)

  • Add myself as maintainer
  • Added ability to supply a custom node name (prefix) to Updater
  • Added ability to supply node handle and private node handle to Updater
  • fixed exporting python API to address #10
  • fixed test related issues in some CMakeLists
  • check for CATKIN_ENABLE_TESTING
  • Contributors: Aero, Austin Hendrix, Brice Rebsamen, Lukas Bulwahn, Mitchell Wills

1.8.0 (2013-04-03)

1.7.11 (2014-07-24 20:24)

  • Fix linking on tests
  • support python binding of diagnostic_updater on groovy
  • Contributors: Ryohei Ueda, trainman419

1.7.10 (2013-02-22)

  • Changed package.xml version number before releasing
  • added missing license header
  • added missing license headers
  • Contributors: Aaron Blasdel, Brice Rebsamen

1.7.9 (2012-12-14)

  • add missing dep to catkin
  • Contributors: Dirk Thomas

1.7.8 (2012-12-06)

  • missing includedirs from roscpp cause compile errors. diagnostic_aggregator/include/diagnostic_aggregator/status_item.h:45:21: fatal error: ros/ros.h: No such file or directory diagnostics/diagnostic_updater/include/diagnostic_updater/diagnostic_updater.h:42:29: fatal error: ros/node_handle.h: No such file or directory compilation terminated.
  • Contributors: Thibault Kruse

1.7.7 (2012-11-10)

1.7.6 (2012-11-07 23:32)

1.7.5 (2012-11-07 21:53)

1.7.4 (2012-11-07 20:18)

1.7.3 (2012-11-04)

  • fix the non-existing xml
  • Contributors: Vincent Rabaud

1.7.2 (2012-10-30 22:31)

  • fix rostest
  • Contributors: Vincent Rabaud

1.7.1 (2012-10-30 15:30)

  • fix a few things after the first release
  • fix a few things all over
  • Contributors: Vincent Rabaud

1.7.0 (2012-10-29)

  • catkinize the stack
  • backport the Python API from 1.7.0
  • use the proper gtest macro
  • Created branch 1.7.0 and reverted corresponding changes in trunk and tag 1.7.0 As a result branch 1.7.0 contains the new python API, and trunk corresponds to 1.6.4
  • Added Python API to diagnostic_updater
  • Fixing docs for frequency status parameters, #5093
  • Remove unused (according to K. Watts) class that depends on now nonexistent ros::Message
  • Remove unused (according to K. Watts) class that depends on now nonexistent ros::Message
  • Fixing formatting for diagnostic updater's update_functions. #4523
  • Adding std_msgs dependency to diagnostic_aggregator. #4491
  • Deprecated message methods removed in diagnostics updater
  • Added Ubuntu platform tags to manifest
  • Corrected the version number in which removeByName was added.
  • Added a removeByName method that allows a diagnostic task to be removed from a diagnostic_updater.
  • Adding checks to diagnostic status wrapper to verify output from bool values
  • Removed special handling of uint8 in diagnostic_status_wrapper. Uint8 isn't always bool.
  • DiagnosticStatusWrapper now has bool support in add() function. #3860
  • Marked diagnostic_updater and self_test as doc reviewed.
  • Tweaked examples and documentation based on doc review feedback.
  • Dox updates for diagnostic updater
  • Changed error to warning level in frequency status regression test
  • Removed ROS API from doxygen. Added setHardwareID method to example code.
  • Fixing param name in diagnostic updater
  • Reporting frequency problems as warning, not error in diagnostic_updater, #3555
  • Took out all deprecated stuff from diagnostic_updater.
  • Made diagnostic_updater example go into bin directory.
  • Changed getParam to getParamCached.
  • Updated review status to API cleared.
  • Returned check of diagnostic_period to only happen when the update happens pending fix of ROS 0.0, -0.0, -0.0, 0.11215413361787796, -0.0)
  • Finished example and documentation. Renamed CombinationDiagnosticUpdater to CompositeDiagnosticUpdater.
  • Added setHardwareID to diagnostic_updater.
  • Reintroduced an Updater constructor that takes a node handle because a lot of nodes actually depend on it.
  • Bug slipped into previous checkin.
  • Updating documentation. Took NodeHandle parameter out of Updater constructor.
  • Added setHardwareID method, and now warns if it is not used.
  • Got rid of ComposableDiagnosticTask. Now all tasks are composable.
  • Modified diagnostic_period so that it gets checked every time the update method is called. This way a long period can get shortened without waiting for the long period to expire.
  • When a diagnostic task is first added to a diagnostic_updater, the initial status is now OK instead of error.
  • Added timestamp to diagnostic updater publish call. Auto-filling of timestamps is deprecated in ROS 0.10
  • Fixed spurious newline in string that was preventing compilation of diagnostic_updater users.
  • Finished updating the diagnostics for diagnostic_updater.
  • Commented the DiagnosedPublisher classes.
  • Added some comments to diagnostic_updater and made ComposableDiagnosticTask::split_run protected.
  • Updated diagnosed publisher code to be able to work with a CameraPublisher
  • Getting diagnostic_updater to compile. Still spewing a bunch of warnings.
  • Added extra debugging options to self_test and diagnostic_updater. On by default for self_test, off for diagnostic_updater. When on, failing statuses will be printed to the console.
  • updated self_test, diagnostic_updater, dynamic_reconfigure and wge100_camera to use new ~ namespace access method
  • Corrected diagnostic status merge logic.
  • diagnostics 0.1 commit. Removed diagnostic_analyzer/generic_analyzer and integrated into diagnostic_aggregator.
  • Add a method to clear the DiagnosticStatus values in DiagnosticStatusWrapper. Clear old values when reusing DiagnosticStatusWrapper.
  • Took out adds and addsf from diagnostic_updater/DiagnosticStatusWrapper now that all other nodes have been modified.
  • Converted adds into add and add-f into addf. Left the old ones, but they are now deprecated.
  • Updated self test for new diagnostic format.
  • Updated DiagnosticStatusWrapper for changes in diagnostic format.
  • Cleaned up DiagnosticStatusWrapper in response to change in diagnostic message.
  • Fixes for diagnostic_msgs::KeyValue::label -> key
  • fixing through diagnostic_updater
  • Changed DiagnosticMessage to DiagnosticArray
  • Changed DiagnosticValue to KeyValue
  • Fixed bug in declaration of deprecated class.
  • Deprecated old self_test and diagnostic_updater APIs.
  • Minor improvements to diagnostic updater.
  • Allowed Publisher to be changed in a DiagnosedPublisher. This allows the Publisher to be created later than the DiagnosedPublisher.
  • add cstdio include for gcc 4.4
  • Took out const_cast that became unnecessary thanks to the resolution of ticket #1228.
  • Added missing includes.
  • robot_msgs/Diagnostic* to diagnostic_msgs/Diagnostic* and robot_srvs/SelfTest into diagnostic_msgs too
  • Added DiagnosedPublisher and HeaderlessDiagnosedPublisher to automatically publish diagnostics upon publication, and integrated them with the forearm_camera. Started writing an outling of the driver_base classes.
  • Committing change from Blaise's tree
  • Added a formatted summary method to DiagnosticStatusWrapper.
  • Corrected a bug in the frequency updater, and made it and the timestamp updaters thread safe.
  • Added a TimeStampStatus diagnostic to monitor that timestamps are reasonably close to now.
  • Slowed timing by 10x in test case to improve odds of passing on 64 bit architectures.
  • Corrected some bugs that could have caused undefined behavior. Added support for automatically publishing a "Starting up" message before the while the node is initializing. Did some refactoring.
  • Fixed a bug in how function classes were being added to the Updater.
  • Fixed a bug in frequency diagnostic reporting.
  • Modified update functions so that they are function classes. Added a correspondence convenience add method to Updater_base.
  • Corrected a possibly infinite recursion in adds.
  • Small fix to compatibility layer for old-style nodes
  • Upgraded the diagnostic_updater to use NodeHandles, and to allow more general functions to be used. Started adding update_functions to do common diagnostic publishing tasks. This will be populated more later.
  • Added a DiagnosticStatusWrapper class derived from DiagnosticStatus. It adds a few methods to more conveniently set the DiagnosticStatus's fields. The diagnostic_updater has been updated so that it can work with DiagnosticStatus or DiagnosticStatusWrapper.:
  • diagnostic_updater: Now can be used with classes that don't inherit from Node.
  • roscpp API changes
    • ros::node -> ros::Node
    • ros::msg -> ros::Message
    • deprecated methods removed
    • rosconsole/rosconsole.h -> ros/console.h
    • goodbye rosthread
  • bogus dependency
  • results from changing ros::Time constructor and all uses of it I can find
  • Adding node name into diagnostic updater status names.
  • Moving package review status from wiki to manifests
  • Changing form of advertise in diagnostic updater.
  • Removing old printf from diagnostic_updater.
  • Checking in package for easy diagnostic updating.
  • Contributors: Vincent Rabaud, blaise, blaisegassend, bricerebsamen, ehberger, gerkey, jfaustwg, jleibs, leibs, morgan_quigley, pmihelich, rob_wheeler, straszheim, tfoote, vrabaud, watts, wattsk

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged diagnostic_updater at Robotics Stack Exchange