mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-07 21:37:46 +08:00
fixed depth align
This commit is contained in:
@@ -283,7 +283,7 @@ class OBCameraNode {
|
||||
|
||||
std::shared_ptr<ob::Frame> processDepthFrameFilter(std::shared_ptr<ob::Frame>& frame);
|
||||
|
||||
void onNewFrameSetCallback(const std::shared_ptr<ob::FrameSet>& frame_set);
|
||||
void onNewFrameSetCallback(std::shared_ptr<ob::FrameSet> frame_set);
|
||||
|
||||
std::shared_ptr<ob::Frame> softwareDecodeColorFrame(const std::shared_ptr<ob::Frame>& frame);
|
||||
|
||||
@@ -513,5 +513,7 @@ class OBCameraNode {
|
||||
double diagnostic_period_ = 1.0;
|
||||
bool enable_laser_ = false;
|
||||
int laser_on_off_mode_ = 0;
|
||||
std::unique_ptr<ob::Align> align_filter_ = nullptr;
|
||||
OBStreamType align_target_stream_ = OB_STREAM_COLOR;
|
||||
};
|
||||
} // namespace orbbec_camera
|
||||
|
||||
@@ -65,7 +65,7 @@ bool isOpenNIDevice(int pid);
|
||||
OB_DEPTH_PRECISION_LEVEL depthPrecisionLevelFromString(
|
||||
const std::string& depth_precision_level_str);
|
||||
|
||||
float depthPrecisionFromString(const std::string &depth_precision_level_str) ;
|
||||
float depthPrecisionFromString(const std::string& depth_precision_level_str);
|
||||
|
||||
OBMultiDeviceSyncMode OBSyncModeFromString(const std::string& mode);
|
||||
|
||||
@@ -91,4 +91,6 @@ OBHoleFillingMode holeFillingModeFromString(const std::string& hole_filling_mode
|
||||
|
||||
bool isGemini2R(int pid);
|
||||
|
||||
OBStreamType obStreamTypeFromString(const std::string& stream_type);
|
||||
|
||||
} // namespace orbbec_camera
|
||||
|
||||
Reference in New Issue
Block a user