mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-07 21:37:46 +08:00
Resolving the Femto Bolt D2C point cloud issue.
This commit is contained in:
@@ -466,7 +466,13 @@ void OBCameraNode::setupPipelineConfig() {
|
||||
}
|
||||
pipeline_config_ = std::make_shared<ob::Config>();
|
||||
if (depth_registration_ && enable_stream_[COLOR] && enable_stream_[DEPTH]) {
|
||||
pipeline_config_->setAlignMode(ALIGN_D2C_HW_MODE);
|
||||
if (device_info_->pid() == FEMTO_BOLT_PID) {
|
||||
RCLCPP_INFO_STREAM(logger_, "set align mode ALIGN_D2C_SW_MODE.");
|
||||
pipeline_config_->setAlignMode(ALIGN_D2C_SW_MODE);
|
||||
} else {
|
||||
RCLCPP_INFO_STREAM(logger_, "set align mode ALIGN_D2C_HW_MODE.");
|
||||
pipeline_config_->setAlignMode(ALIGN_D2C_HW_MODE);
|
||||
}
|
||||
}
|
||||
for (const auto &stream_index : IMAGE_STREAMS) {
|
||||
if (enable_stream_[stream_index]) {
|
||||
|
||||
Reference in New Issue
Block a user