mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-08 13:57:46 +08:00
add enable hardware d2d
This commit is contained in:
@@ -105,7 +105,7 @@ const int32_t OPENNI_START_PID = 0x0601;
|
||||
const int32_t OPENNI_END_PID = 0x06FF;
|
||||
const int32_t ASTRA_MINI_PID = 0x0404;
|
||||
const int32_t ASTRA_MINI_S_PID = 0x0407;
|
||||
|
||||
const int GEMINI2_PID = 0x0670;
|
||||
const std::string DEFAULT_SEM_NAME = "orbbec_device_sem";
|
||||
const key_t DEFAULT_SEM_KEY = 0x0401;
|
||||
|
||||
|
||||
@@ -339,5 +339,6 @@ class OBCameraNode {
|
||||
std::atomic_bool save_colored_point_cloud_{false};
|
||||
rclcpp::Service<std_srvs::srv::Empty>::SharedPtr save_images_srv_;
|
||||
rclcpp::Service<std_srvs::srv::Empty>::SharedPtr save_point_cloud_srv_;
|
||||
bool enable_hardware_d2d_ = true;
|
||||
};
|
||||
} // namespace orbbec_camera
|
||||
|
||||
@@ -61,7 +61,7 @@ class OBCameraNodeDriver : public rclcpp::Node {
|
||||
|
||||
static OBLogSeverity obLogSeverityFromString(const std::string_view& log_level);
|
||||
|
||||
void checkConnectTimer() const;
|
||||
void checkConnectTimer();
|
||||
|
||||
void queryDevice();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user