mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-04 20:17:47 +08:00
add gemini2 RL
This commit is contained in:
@@ -112,6 +112,7 @@ const int32_t ASTRA_MINI_PID = 0x0404;
|
|||||||
const int32_t ASTRA_MINI_S_PID = 0x0407;
|
const int32_t ASTRA_MINI_S_PID = 0x0407;
|
||||||
const int GEMINI2_PID = 0x0670;
|
const int GEMINI2_PID = 0x0670;
|
||||||
const int GEMINI2R_PID = 0x06d0;
|
const int GEMINI2R_PID = 0x06d0;
|
||||||
|
const int GEMINI2RL_PID = 0x06d1;
|
||||||
const std::string ORB_DEFAULT_LOCK_NAME = "orbbec_device_lock";
|
const std::string ORB_DEFAULT_LOCK_NAME = "orbbec_device_lock";
|
||||||
|
|
||||||
} // namespace orbbec_camera
|
} // namespace orbbec_camera
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ def generate_launch_description():
|
|||||||
DeclareLaunchArgument('temporal_filter_diff_threshold', default_value='0.1'),
|
DeclareLaunchArgument('temporal_filter_diff_threshold', default_value='0.1'),
|
||||||
DeclareLaunchArgument('temporal_filter_weight', default_value='0.4'),
|
DeclareLaunchArgument('temporal_filter_weight', default_value='0.4'),
|
||||||
DeclareLaunchArgument('hole_filling_filter_mode', default_value='FILL_TOP'),
|
DeclareLaunchArgument('hole_filling_filter_mode', default_value='FILL_TOP'),
|
||||||
DeclareLaunchArgument('align_mode', default_value='HW'),
|
DeclareLaunchArgument('align_mode', default_value='SW'),
|
||||||
]
|
]
|
||||||
|
|
||||||
# Node configuration
|
# Node configuration
|
||||||
|
|||||||
@@ -711,7 +711,7 @@ void OBCameraNode::setupPipelineConfig() {
|
|||||||
if (depth_registration_ && enable_stream_[COLOR] && enable_stream_[DEPTH]) {
|
if (depth_registration_ && enable_stream_[COLOR] && enable_stream_[DEPTH]) {
|
||||||
auto info = device_->getDeviceInfo();
|
auto info = device_->getDeviceInfo();
|
||||||
auto pid = info->pid();
|
auto pid = info->pid();
|
||||||
if (pid == FEMTO_BOLT_PID || pid == GEMINI2R_PID) {
|
if (pid == FEMTO_BOLT_PID || pid == GEMINI2R_PID || pid == GEMINI2RL_PID) {
|
||||||
RCLCPP_INFO_STREAM(logger_, "set align mode ALIGN_D2C_SW_MODE.");
|
RCLCPP_INFO_STREAM(logger_, "set align mode ALIGN_D2C_SW_MODE.");
|
||||||
pipeline_config_->setAlignMode(ALIGN_D2C_SW_MODE);
|
pipeline_config_->setAlignMode(ALIGN_D2C_SW_MODE);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user