status.h
Go to the documentation of this file.
1 
34 #ifndef MULTISENSE_ROS_STATUS_H
35 #define MULTISENSE_ROS_STATUS_H
36 
37 #include <ros/ros.h>
38 
39 #include <multisense_lib/MultiSenseChannel.hh>
40 
41 namespace multisense_ros {
42 
43 class Status {
44 public:
45 
47  ~Status();
48 
49 private:
50 
51  //
52  // CRL sensor API
53 
55 
56  //
57  // Driver nodes
58 
60 
61  //
62  // Device Status publisher
63 
65 
66  //
67  // A timer to query our device status at a fixed rate
68 
70 
71  //
72  // The callback used to query the device status in the timer routine
73 
74  void queryStatus(const ros::TimerEvent& event);
75 
76 
77  //
78  // Publish control
79 
80  int32_t subscribers_;
81  void connect();
82  void disconnect();
83 };
84 
85 }
86 
87 #endif
88 
Status(crl::multisense::Channel *driver)
Definition: status.cpp:40
ros::Timer status_timer_
Definition: status.h:69
ros::Publisher status_pub_
Definition: status.h:64
int32_t subscribers_
Definition: status.h:80
ros::NodeHandle device_nh_
Definition: status.h:59
crl::multisense::Channel * driver_
Definition: status.h:54
void queryStatus(const ros::TimerEvent &event)
Definition: status.cpp:58


multisense_ros
Author(s):
autogenerated on Sun Mar 14 2021 02:34:55