Topic diagnostics for u-blox messages. More...
#include <node.h>
Public Member Functions | |
UbloxTopicDiagnostic () | |
UbloxTopicDiagnostic (std::string topic, double freq_tol, int freq_window) | |
Add a topic diagnostic to the diagnostic updater for. | |
UbloxTopicDiagnostic (std::string topic, double freq_min, double freq_max, double freq_tol, int freq_window) | |
Add a topic diagnostic to the diagnostic updater for. | |
Public Attributes | |
diagnostic_updater::HeaderlessTopicDiagnostic * | diagnostic |
Topic frequency diagnostic updater. | |
double | max_freq |
Maximum allow frequency of topic. | |
double | min_freq |
Minimum allow frequency of topic. |
ublox_node::UbloxTopicDiagnostic::UbloxTopicDiagnostic | ( | std::string | topic, |
double | freq_tol, | ||
int | freq_window | ||
) | [inline] |
Add a topic diagnostic to the diagnostic updater for.
The minimum and maximum frequency are equal to the nav rate in Hz.
name | the ROS topic |
freq_tol | the tolerance [%] for the topic frequency |
freq_window | the number of messages to use for diagnostic statistics |
ublox_node::UbloxTopicDiagnostic::UbloxTopicDiagnostic | ( | std::string | topic, |
double | freq_min, | ||
double | freq_max, | ||
double | freq_tol, | ||
int | freq_window | ||
) | [inline] |
Add a topic diagnostic to the diagnostic updater for.
The minimum and maximum frequency are equal to the nav rate in Hz.
name | the ROS topic |
freq_min | the minimum acceptable frequency for the topic |
freq_max | the maximum acceptable frequency for the topic |
freq_tol | the tolerance [%] for the topic frequency |
freq_window | the number of messages to use for diagnostic statistics |