Class FixDiagnostic

Class Documentation

class FixDiagnostic

Topic diagnostics for fix / fix_velocity messages.

Public Functions

inline explicit FixDiagnostic(const std::string &name, double freq_tol, int freq_window, double stamp_min, uint16_t nav_rate, uint16_t meas_rate, std::shared_ptr<diagnostic_updater::Updater> updater)

Add a topic diagnostic to the diagnostic updater for fix topics.

The minimum and maximum frequency are equal to the nav rate in Hz.

Parameters:
  • name – the ROS topic

  • freq_tol – the tolerance [%] for the topic frequency

  • freq_window – the number of messages to use for diagnostic statistics

  • stamp_min – the minimum allowed time delay

FixDiagnostic(FixDiagnostic &&c) = delete
FixDiagnostic &operator=(FixDiagnostic &&c) = delete
FixDiagnostic(const FixDiagnostic &c) = delete
FixDiagnostic &operator=(const FixDiagnostic &c) = delete
~FixDiagnostic() = default

Public Members

std::shared_ptr<diagnostic_updater::TopicDiagnostic> diagnostic

Topic frequency diagnostic updater.