41 #ifndef SPINNAKER_CAMERA_DRIVER_DIAGNOSTICS_H
42 #define SPINNAKER_CAMERA_DRIVER_DIAGNOSTICS_H
46 #include <diagnostic_msgs/DiagnosticArray.h>
47 #include <diagnostic_msgs/DiagnosticStatus.h>
48 #include <diagnostic_msgs/AddDiagnostics.h>
63 std::shared_ptr<ros::Publisher>
const& pub,
97 void addDiagnostic(
const Spinnaker::GenICam::gcstring name,
bool check_ranges =
false,
98 std::pair<int, int> operational = std::make_pair(0, 0),
int lower_bound = 0,
int upper_bound = 0);
99 void addDiagnostic(
const Spinnaker::GenICam::gcstring name,
bool check_ranges =
false,
100 std::pair<float, float> operational = std::make_pair(0.0, 0.0),
float lower_bound = 0,
101 float upper_bound = 0);
110 template <
typename T>
130 template <
typename T>
138 std::shared_ptr<bond::Bond>
bond_ =
nullptr;
148 "DeviceVendorName",
"DeviceModelName",
"SensorDescription",
"DeviceFirmwareVersion"
154 #endif // SPINNAKER_CAMERA_DRIVER_DIAGNOSTICS_H