Main Page
Namespaces
Namespace List
Namespace Members
All
b
c
e
g
i
m
s
w
y
Functions
Variables
Enumerations
Classes
Class List
Class Members
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
~
Functions
a
b
c
d
e
g
h
i
j
l
m
o
p
q
r
s
t
u
v
~
Variables
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
v
w
Typedefs
Files
File List
File Members
All
Functions
Variables
Macros
include
multisense_ros
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
46
Status
(
crl::multisense::Channel
* driver);
47
~Status
();
48
49
private
:
50
51
//
52
// CRL sensor API
53
54
crl::multisense::Channel
*
driver_
;
55
56
//
57
// Driver nodes
58
59
ros::NodeHandle
device_nh_
;
60
61
//
62
// Device Status publisher
63
64
ros::Publisher
status_pub_
;
65
66
//
67
// A timer to query our device status at a fixed rate
68
69
ros::Timer
status_timer_
;
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
ros::Publisher
ros.h
multisense_ros::Status::connect
void connect()
Definition:
status.cpp:98
multisense_ros::Status::status_timer_
ros::Timer status_timer_
Definition:
status.h:69
multisense_ros::Status::device_nh_
ros::NodeHandle device_nh_
Definition:
status.h:59
multisense_ros::Status
Definition:
status.h:43
multisense_ros::Status::disconnect
void disconnect()
Definition:
status.cpp:103
multisense_ros
Definition:
camera.h:58
multisense_ros::Status::driver_
crl::multisense::Channel * driver_
Definition:
status.h:54
ros::TimerEvent
multisense_ros::Status::subscribers_
int32_t subscribers_
Definition:
status.h:80
multisense_ros::Status::~Status
~Status()
Definition:
status.cpp:54
crl::multisense::Channel
multisense_ros::Status::status_pub_
ros::Publisher status_pub_
Definition:
status.h:64
multisense_ros::Status::Status
Status(crl::multisense::Channel *driver)
Definition:
status.cpp:40
ros::Timer
multisense_ros::Status::queryStatus
void queryStatus(const ros::TimerEvent &event)
Definition:
status.cpp:58
ros::NodeHandle
multisense_ros
Author(s):
autogenerated on Thu Feb 20 2025 03:51:03