mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-09 19:19:49 +08:00
rtabmap_sync tests and doc (#1454)
* rtabmap_sync tests and doc * Added some diagrams * cleanup some diagrams * fixing running tests in parallels
This commit is contained in:
@@ -46,15 +46,18 @@ namespace rtabmap_sync
|
||||
{
|
||||
|
||||
RGBSync::RGBSync(const rclcpp::NodeOptions & options) :
|
||||
Node("rgbd_sync", options),
|
||||
Node("rgb_sync", options),
|
||||
compressedRate_(0),
|
||||
fillEmptyDepth_(false),
|
||||
lastCompressedPublished_(0, 0, RCL_ROS_TIME),
|
||||
approxSync_(0),
|
||||
exactSync_(0)
|
||||
{
|
||||
int topicQueueSize = 10;
|
||||
int syncQueueSize = 10;
|
||||
bool approxSync = true;
|
||||
// A camera publisher sends the image and its camera_info together, with the same
|
||||
// stamp, so the exact policy is both cheaper and impossible to mismatch.
|
||||
bool approxSync = false;
|
||||
int qos = RMW_QOS_POLICY_RELIABILITY_SYSTEM_DEFAULT;
|
||||
double approxSyncMaxInterval = 0.0;
|
||||
approxSync = this->declare_parameter("approx_sync", approxSync);
|
||||
|
||||
@@ -51,6 +51,7 @@ RGBDSync::RGBDSync(const rclcpp::NodeOptions & options) :
|
||||
decimation_(1),
|
||||
compressedRate_(0),
|
||||
approxSyncMaxInterval_(0.0),
|
||||
lastCompressedPublished_(0, 0, RCL_ROS_TIME),
|
||||
approxSyncDepth_(0),
|
||||
exactSyncDepth_(0)
|
||||
{
|
||||
|
||||
@@ -48,6 +48,7 @@ StereoSync::StereoSync(const rclcpp::NodeOptions & options) :
|
||||
Node("stereo_sync", options),
|
||||
compressedRate_(0),
|
||||
approxSyncMaxInterval_(0.0),
|
||||
lastCompressedPublished_(0, 0, RCL_ROS_TIME),
|
||||
approxSync_(0),
|
||||
exactSync_(0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user