#include <diagnostics_publisher.h>
Public Member Functions | |
DiagnosticsPublisher (ros::NodeHandle &nh) | |
void | setHardwareID (const std::string &hwId) |
void | stdImuTick (const ros::Time &stamp) |
void | updateStatus (const boost::optional< ixblue_stdbin_decoder::Data::INSSystemStatus > &systemStatus, const boost::optional< ixblue_stdbin_decoder::Data::INSAlgorithmStatus > &algorithmStatus) |
Private Member Functions | |
void | diagTimerCallback (const ros::TimerEvent &) |
void | produceStatusDiagnostics (diagnostic_updater::DiagnosticStatusWrapper &status) |
Private Attributes | |
double | connection_lost_timeout |
ros::Timer | diagnosticsTimer |
diagnostic_updater::Updater | diagnosticsUpdater |
double | expected_frequency |
const double | frequency_tolerance = 0.1 |
boost::optional< ixblue_stdbin_decoder::Data::INSAlgorithmStatus > | lastAlgorithmStatus |
ros::SteadyTime | lastMessageReceivedStamp |
boost::optional< ixblue_stdbin_decoder::Data::INSSystemStatus > | lastSystemStatus |
double | max_latency |
std::unique_ptr< diagnostic_updater::TopicDiagnostic > | stdImuTopicDiagnostic |
Definition at line 15 of file diagnostics_publisher.h.
DiagnosticsPublisher::DiagnosticsPublisher | ( | ros::NodeHandle & | nh | ) |
Definition at line 3 of file diagnostics_publisher.cpp.
|
private |
Definition at line 44 of file diagnostics_publisher.cpp.
|
private |
Definition at line 49 of file diagnostics_publisher.cpp.
void DiagnosticsPublisher::setHardwareID | ( | const std::string & | hwId | ) |
Definition at line 24 of file diagnostics_publisher.cpp.
void DiagnosticsPublisher::stdImuTick | ( | const ros::Time & | stamp | ) |
Definition at line 29 of file diagnostics_publisher.cpp.
void DiagnosticsPublisher::updateStatus | ( | const boost::optional< ixblue_stdbin_decoder::Data::INSSystemStatus > & | systemStatus, |
const boost::optional< ixblue_stdbin_decoder::Data::INSAlgorithmStatus > & | algorithmStatus | ||
) |
Definition at line 34 of file diagnostics_publisher.cpp.
|
private |
Definition at line 34 of file diagnostics_publisher.h.
|
private |
Definition at line 36 of file diagnostics_publisher.h.
|
private |
Definition at line 37 of file diagnostics_publisher.h.
|
private |
Definition at line 31 of file diagnostics_publisher.h.
|
private |
Definition at line 32 of file diagnostics_publisher.h.
|
private |
Definition at line 41 of file diagnostics_publisher.h.
|
private |
Definition at line 39 of file diagnostics_publisher.h.
|
private |
Definition at line 40 of file diagnostics_publisher.h.
|
private |
Definition at line 33 of file diagnostics_publisher.h.
|
private |
Definition at line 38 of file diagnostics_publisher.h.