Heifu_diagnostic.hpp
Go to the documentation of this file.
1 #ifndef HEIFU_DIAGNOSTIC_HPP
2 #define HEIFU_DIAGNOSTIC_HPP
3 
4 #include <ros/ros.h>
5 #include <ros/package.h>
6 #include <std_msgs/Int8.h>
7 #include <diagnostic_msgs/DiagnosticArray.h>
8 
9 namespace HD
10 {
12  {
13  public:
14 
16  virtual ~Heifu_diagnostic (){};
17 
18  void run();
19 
20  private:
22 
23  // Subscribers
25 
26  // Publishers
28 
29  // Parameters
30  double paramNodeRate;
31 
32  // Variables
33  std_msgs::Int8 gpsFixMode;
34 
35  // Const
36  std::string str1 = "3D fix";
37  std::string str2 = "Fix type";
38 
39  // Functions
40  void cbCheckGpsFix(const diagnostic_msgs::DiagnosticArrayConstPtr& msg);
41  };
42 
43 }
44 
45 #endif
std_msgs::Int8 gpsFixMode
ros::Subscriber subDiagnostic
void cbCheckGpsFix(const diagnostic_msgs::DiagnosticArrayConstPtr &msg)
ros::Publisher pubGpsFixState


heifu_diagnostic
Author(s):
autogenerated on Tue Feb 2 2021 03:56:30