You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I am contacting you because an error occurred during execution.
ubuntu : 20.04
ROS : foxy
depthai-ros branch : foxy
opencv : 4.2.0
When running ros2 launch depthai_ros_driver camera.launch.py, the error log below is displayed.
root@user-desktop:~# ros2 launch depthai_ros_driver camera.launch.py
/opt/ros/foxy/bin/ros2:6: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
from pkg_resources import load_entry_point
[INFO] [launch]: All log files can be found below /root/.ros/log/2024-09-26-09-27-09-677788-user-desktop-24115
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [robot_state_publisher-1]: process started with pid [24129]
[INFO] [component_container-2]: process started with pid [24131]
[robot_state_publisher-1] Parsing robot urdf xml string.
[robot_state_publisher-1] Link oak had 5 children
[robot_state_publisher-1] Link oak_imu_frame had 0 children
[robot_state_publisher-1] Link oak_left_camera_frame had 1 children
[robot_state_publisher-1] Link oak_left_camera_optical_frame had 0 children
[robot_state_publisher-1] Link oak_model_origin had 0 children
[robot_state_publisher-1] Link oak_rgb_camera_frame had 1 children
[robot_state_publisher-1] Link oak_rgb_camera_optical_frame had 0 children
[robot_state_publisher-1] Link oak_right_camera_frame had 1 children
[robot_state_publisher-1] Link oak_right_camera_optical_frame had 0 children
[robot_state_publisher-1] [INFO] [1727342829.920797137] [oak_state_publisher]: got segment oak
[robot_state_publisher-1] [INFO] [1727342829.920916434] [oak_state_publisher]: got segment oak-d-base-frame
[robot_state_publisher-1] [INFO] [1727342829.920931762] [oak_state_publisher]: got segment oak_imu_frame
[robot_state_publisher-1] [INFO] [1727342829.920939986] [oak_state_publisher]: got segment oak_left_camera_frame
[robot_state_publisher-1] [INFO] [1727342829.920946962] [oak_state_publisher]: got segment oak_left_camera_optical_frame
[robot_state_publisher-1] [INFO] [1727342829.920953458] [oak_state_publisher]: got segment oak_model_origin
[robot_state_publisher-1] [INFO] [1727342829.920959218] [oak_state_publisher]: got segment oak_rgb_camera_frame
[robot_state_publisher-1] [INFO] [1727342829.920964915] [oak_state_publisher]: got segment oak_rgb_camera_optical_frame
[robot_state_publisher-1] [INFO] [1727342829.920970835] [oak_state_publisher]: got segment oak_right_camera_frame
[robot_state_publisher-1] [INFO] [1727342829.920976595] [oak_state_publisher]: got segment oak_right_camera_optical_frame
[component_container-2] [INFO] [1727342830.141695202] [oak_container]: Load Library: /root/dai_ws/install/depthai_ros_driver/lib/libdepthai_ros_driver.so
[component_container-2] [INFO] [1727342830.222270919] [oak_container]: Found class: rclcpp_components::NodeFactoryTemplate<depthai_ros_driver::Camera>
[component_container-2] [INFO] [1727342830.222344072] [oak_container]: Instantiate class: rclcpp_components::NodeFactoryTemplate<depthai_ros_driver::Camera>
[component_container-2] [INFO] [1727342830.229445098] [oak]: No ip/mxid specified, connecting to the next available device.
[component_container-2] [INFO] [1727342832.563486098] [oak]: Camera with MXID: 19443010B16E992E00 and Name: 1.4.2 connected!
[component_container-2] [INFO] [1727342832.565007424] [oak]: USB SPEED: HIGH
[component_container-2] [INFO] [1727342832.615830420] [oak]: Device type: OAK-D-PRO
[component_container-2] [INFO] [1727342832.618918416] [oak]: Pipeline type: RGBD
[component_container-2] [INFO] [1727342832.633488470] [oak]: NN Family: mobilenet
[component_container-2] [INFO] [1727342833.745083756] [oak]: NN input size: 300 x 300. Resizing input image in case of different dimensions.
[component_container-2] [INFO] [1727342834.754160851] [oak]: Finished setting up pipeline.
[component_container-2] [19443010B16E992E00] [1.4.2] [3.638] [ColorCamera(0)] [warning] Unsupported resolution set for detected camera OV9782, needs 800_P or 720_P. Defaulting to 800_P
[component_container-2] [ERROR] [1727342837.653554415] [oak_container]: Component constructor threw an exception: ColorCamera(0) - 'video' width or height (1280, 720) bigger than maximum at current sensor resolution (854, 534)
[ERROR] [launch_ros.actions.load_composable_nodes]: Failed to load node 'oak' of type 'depthai_ros_driver::Camera' in container '/oak_container': Component constructor threw an exception: ColorCamera(0) - 'video' width or height (1280, 720) bigger than maximum at current sensor resolution (854, 534)
The text was updated successfully, but these errors were encountered:
HI, unfortunately Foxy is no longer supported so I would recommend switching to Humble branch. Other than that, setting rgb.i_set_isp_scale: false parameter might help
Hi!
I am contacting you because an error occurred during execution.
ubuntu : 20.04
ROS : foxy
depthai-ros branch : foxy
opencv : 4.2.0
When running ros2 launch depthai_ros_driver camera.launch.py, the error log below is displayed.
root@user-desktop:~# ros2 launch depthai_ros_driver camera.launch.py
/opt/ros/foxy/bin/ros2:6: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
from pkg_resources import load_entry_point
[INFO] [launch]: All log files can be found below /root/.ros/log/2024-09-26-09-27-09-677788-user-desktop-24115
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [robot_state_publisher-1]: process started with pid [24129]
[INFO] [component_container-2]: process started with pid [24131]
[robot_state_publisher-1] Parsing robot urdf xml string.
[robot_state_publisher-1] Link oak had 5 children
[robot_state_publisher-1] Link oak_imu_frame had 0 children
[robot_state_publisher-1] Link oak_left_camera_frame had 1 children
[robot_state_publisher-1] Link oak_left_camera_optical_frame had 0 children
[robot_state_publisher-1] Link oak_model_origin had 0 children
[robot_state_publisher-1] Link oak_rgb_camera_frame had 1 children
[robot_state_publisher-1] Link oak_rgb_camera_optical_frame had 0 children
[robot_state_publisher-1] Link oak_right_camera_frame had 1 children
[robot_state_publisher-1] Link oak_right_camera_optical_frame had 0 children
[robot_state_publisher-1] [INFO] [1727342829.920797137] [oak_state_publisher]: got segment oak
[robot_state_publisher-1] [INFO] [1727342829.920916434] [oak_state_publisher]: got segment oak-d-base-frame
[robot_state_publisher-1] [INFO] [1727342829.920931762] [oak_state_publisher]: got segment oak_imu_frame
[robot_state_publisher-1] [INFO] [1727342829.920939986] [oak_state_publisher]: got segment oak_left_camera_frame
[robot_state_publisher-1] [INFO] [1727342829.920946962] [oak_state_publisher]: got segment oak_left_camera_optical_frame
[robot_state_publisher-1] [INFO] [1727342829.920953458] [oak_state_publisher]: got segment oak_model_origin
[robot_state_publisher-1] [INFO] [1727342829.920959218] [oak_state_publisher]: got segment oak_rgb_camera_frame
[robot_state_publisher-1] [INFO] [1727342829.920964915] [oak_state_publisher]: got segment oak_rgb_camera_optical_frame
[robot_state_publisher-1] [INFO] [1727342829.920970835] [oak_state_publisher]: got segment oak_right_camera_frame
[robot_state_publisher-1] [INFO] [1727342829.920976595] [oak_state_publisher]: got segment oak_right_camera_optical_frame
[component_container-2] [INFO] [1727342830.141695202] [oak_container]: Load Library: /root/dai_ws/install/depthai_ros_driver/lib/libdepthai_ros_driver.so
[component_container-2] [INFO] [1727342830.222270919] [oak_container]: Found class: rclcpp_components::NodeFactoryTemplate<depthai_ros_driver::Camera>
[component_container-2] [INFO] [1727342830.222344072] [oak_container]: Instantiate class: rclcpp_components::NodeFactoryTemplate<depthai_ros_driver::Camera>
[component_container-2] [INFO] [1727342830.229445098] [oak]: No ip/mxid specified, connecting to the next available device.
[component_container-2] [INFO] [1727342832.563486098] [oak]: Camera with MXID: 19443010B16E992E00 and Name: 1.4.2 connected!
[component_container-2] [INFO] [1727342832.565007424] [oak]: USB SPEED: HIGH
[component_container-2] [INFO] [1727342832.615830420] [oak]: Device type: OAK-D-PRO
[component_container-2] [INFO] [1727342832.618918416] [oak]: Pipeline type: RGBD
[component_container-2] [INFO] [1727342832.633488470] [oak]: NN Family: mobilenet
[component_container-2] [INFO] [1727342833.745083756] [oak]: NN input size: 300 x 300. Resizing input image in case of different dimensions.
[component_container-2] [INFO] [1727342834.754160851] [oak]: Finished setting up pipeline.
[component_container-2] [19443010B16E992E00] [1.4.2] [3.638] [ColorCamera(0)] [warning] Unsupported resolution set for detected camera OV9782, needs 800_P or 720_P. Defaulting to 800_P
[component_container-2] [ERROR] [1727342837.653554415] [oak_container]: Component constructor threw an exception: ColorCamera(0) - 'video' width or height (1280, 720) bigger than maximum at current sensor resolution (854, 534)
[ERROR] [launch_ros.actions.load_composable_nodes]: Failed to load node 'oak' of type 'depthai_ros_driver::Camera' in container '/oak_container': Component constructor threw an exception: ColorCamera(0) - 'video' width or height (1280, 720) bigger than maximum at current sensor resolution (854, 534)
The text was updated successfully, but these errors were encountered: