mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-09-12 19:20:20 +08:00
print more clean log
This commit is contained in:
@@ -20,22 +20,22 @@ def generate_launch_description():
|
||||
launch_file_dir = os.path.join(package_dir, 'launch')
|
||||
launch1_include = IncludeLaunchDescription(
|
||||
PythonLaunchDescriptionSource(
|
||||
os.path.join(launch_file_dir, 'gemini2.launch.py')
|
||||
os.path.join(launch_file_dir, 'dabai_dcw.launch.py')
|
||||
),
|
||||
launch_arguments={
|
||||
'camera_name': 'camera_01',
|
||||
'usb_port': '6-2.4.4.2',
|
||||
'usb_port': '5-3.4.4.2.1',
|
||||
'device_num': '2'
|
||||
}.items()
|
||||
)
|
||||
|
||||
launch2_include = IncludeLaunchDescription(
|
||||
PythonLaunchDescriptionSource(
|
||||
os.path.join(launch_file_dir, 'gemini2.launch.py')
|
||||
os.path.join(launch_file_dir, 'dabai_dcw.launch.py')
|
||||
),
|
||||
launch_arguments={
|
||||
'camera_name': 'camera_02',
|
||||
'usb_port': '6-2.4.1',
|
||||
'usb_port': '5-3.4.3.1',
|
||||
'device_num': '2'
|
||||
}.items()
|
||||
)
|
||||
|
||||
@@ -193,7 +193,8 @@ void OBCameraNode::setupProfiles() {
|
||||
default_profile =
|
||||
profiles->getVideoStreamProfile(width_[elem], height_[elem], format_[elem]);
|
||||
} catch (const ob::Error &ex) {
|
||||
RCLCPP_ERROR_STREAM(logger_, "Failed to get profile: " << ex.getMessage());
|
||||
RCLCPP_ERROR_STREAM(
|
||||
logger_, "Failed to get " << stream_name_[elem] << " << profile: " << ex.getMessage());
|
||||
RCLCPP_ERROR_STREAM(
|
||||
logger_, "Stream: " << magic_enum::enum_name(elem.first)
|
||||
<< ", Stream Index: " << elem.second << ", Width: " << width_[elem]
|
||||
|
||||
Reference in New Issue
Block a user