#include <base_realsense_node.h>
Public Member Functions | |
void | Enable (bool is_enabled) |
uint32_t | getNumSubscribers () |
void | Pause () |
void | Publish (sensor_msgs::Imu msg) |
void | Resume () |
SyncedImuPublisher () | |
SyncedImuPublisher (ros::Publisher imu_publisher, std::size_t waiting_list_size=1000) | |
~SyncedImuPublisher () | |
Private Member Functions | |
void | PublishPendingMessages () |
Private Attributes | |
bool | _is_enabled |
std::mutex | _mutex |
bool | _pause_mode |
std::queue< sensor_msgs::Imu > | _pending_messages |
ros::Publisher | _publisher |
std::size_t | _waiting_list_size |
Definition at line 94 of file base_realsense_node.h.
|
inline |
Definition at line 97 of file base_realsense_node.h.
SyncedImuPublisher::SyncedImuPublisher | ( | ros::Publisher | imu_publisher, |
std::size_t | waiting_list_size = 1000 |
||
) |
Definition at line 21 of file base_realsense_node.cpp.
SyncedImuPublisher::~SyncedImuPublisher | ( | ) |
Definition at line 26 of file base_realsense_node.cpp.
|
inline |
Definition at line 104 of file base_realsense_node.h.
|
inline |
Definition at line 103 of file base_realsense_node.h.
void SyncedImuPublisher::Pause | ( | ) |
Definition at line 50 of file base_realsense_node.cpp.
void SyncedImuPublisher::Publish | ( | sensor_msgs::Imu | msg | ) |
Definition at line 31 of file base_realsense_node.cpp.
|
private |
Definition at line 64 of file base_realsense_node.cpp.
void SyncedImuPublisher::Resume | ( | ) |
Definition at line 57 of file base_realsense_node.cpp.
|
private |
Definition at line 115 of file base_realsense_node.h.
|
private |
Definition at line 110 of file base_realsense_node.h.
|
private |
Definition at line 112 of file base_realsense_node.h.
|
private |
Definition at line 113 of file base_realsense_node.h.
|
private |
Definition at line 111 of file base_realsense_node.h.
|
private |
Definition at line 114 of file base_realsense_node.h.