Description
How to solve this issue ;
ar@ubuntu:~/ros2_example_ws$ ros2 launch ros_deep_learning video_viewer.ros2.launch [INFO] [launch]: All log files can be found below /home/ar/.ros/log/2024-10-30-10-17-09-928737-ubuntu-19766 [INFO] [launch]: Default logging verbosity is set to INFO [INFO] [video_source-1]: process started with pid [19767] [INFO] [video_output-2]: process started with pid [19769] [video_output-2] [INFO] [1730272630.308877104] [video_output]: opening video output: display://0 [video_source-1] [INFO] [1730272630.308961966] [video_source]: opening video source: csi://0 [video_output-2] [OpenGL] glDisplay -- X screen 0 resolution: 1920x1080 [video_output-2] [OpenGL] glDisplay -- X window resolution: 1920x1080 [video_source-1] [gstreamer] initialized gstreamer, version 1.20.3.0 [video_source-1] [gstreamer] gstCamera -- attempting to create device csi://0 [video_source-1] [gstreamer] gstCamera pipeline string: [video_source-1] [gstreamer] nvarguscamerasrc sensor-id=0 ! video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, framerate=30/1, format=(string)NV12 ! nvvidconv flip-method=2 ! video/x-raw ! appsink name=mysink [video_output-2] [OpenGL] glDisplay -- display device initialized (1920x1080) [video_output-2] [video] created glDisplay from display://0 [video_output-2] ------------------------------------------------ [video_output-2] glDisplay video options: [video_output-2] ------------------------------------------------ [video_output-2] -- URI: display://0 [video_output-2] - protocol: display [video_output-2] - location: 0 [video_output-2] -- deviceType: display [video_output-2] -- ioType: output [video_output-2] -- width: 1920 [video_output-2] -- height: 1080 [video_output-2] -- frameRate: 0 [video_output-2] -- numBuffers: 4 [video_output-2] -- zeroCopy: true [video_output-2] ------------------------------------------------ [video_output-2] [INFO] [1730272630.415908451] [video_output]: video_output node initialized, waiting for messages [video_source-1] [gstreamer] gstCamera successfully created device csi://0 [video_source-1] [video] created gstCamera from csi://0 [video_source-1] ------------------------------------------------ [video_source-1] gstCamera video options: [video_source-1] ------------------------------------------------ [video_source-1] -- URI: csi://0 [video_source-1] - protocol: csi [video_source-1] - location: 0 [video_source-1] -- deviceType: csi [video_source-1] -- ioType: input [video_source-1] -- width: 1280 [video_source-1] -- height: 720 [video_source-1] -- frameRate: 30 [video_source-1] -- numBuffers: 4 [video_source-1] -- zeroCopy: true [video_source-1] -- flipMethod: rotate-180 [video_source-1] ------------------------------------------------ [video_source-1] [gstreamer] opening gstCamera for streaming, transitioning pipeline to GST_STATE_PLAYING [video_source-1] [gstreamer] gstreamer changed state from NULL to READY ==> mysink [video_source-1] [gstreamer] gstreamer changed state from NULL to READY ==> capsfilter1 [video_source-1] [gstreamer] gstreamer changed state from NULL to READY ==> nvvconv0 [video_source-1] [gstreamer] gstreamer changed state from NULL to READY ==> capsfilter0 [video_source-1] [gstreamer] gstreamer changed state from NULL to READY ==> nvarguscamerasrc0 [video_source-1] [gstreamer] gstreamer changed state from NULL to READY ==> pipeline0 [video_source-1] [gstreamer] gstreamer changed state from READY to PAUSED ==> capsfilter1 [video_source-1] [gstreamer] gstreamer changed state from READY to PAUSED ==> nvvconv0 [video_source-1] [gstreamer] gstreamer changed state from READY to PAUSED ==> capsfilter0 [video_source-1] [gstreamer] gstreamer stream status CREATE ==> src [video_source-1] [gstreamer] gstreamer changed state from READY to PAUSED ==> nvarguscamerasrc0 [video_source-1] [gstreamer] gstreamer changed state from READY to PAUSED ==> pipeline0 [video_source-1] [gstreamer] gstreamer message new-clock ==> pipeline0 [video_source-1] [gstreamer] gstreamer changed state from PAUSED to PLAYING ==> capsfilter1 [video_source-1] [gstreamer] gstreamer changed state from PAUSED to PLAYING ==> nvvconv0 [video_source-1] [gstreamer] gstreamer changed state from PAUSED to PLAYING ==> capsfilter0 [video_source-1] [gstreamer] gstreamer changed state from PAUSED to PLAYING ==> nvarguscamerasrc0 [video_source-1] [gstreamer] gstreamer stream status ENTER ==> src [video_source-1] Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:792 No cameras available [video_source-1] [gstreamer] gstCamera -- end of stream (EOS) [video_source-1] [gstreamer] gstreamer message stream-start ==> pipeline0 [video_source-1] [gstreamer] gstreamer changed state from READY to PAUSED ==> mysink [video_source-1] [gstreamer] gstreamer message async-done ==> pipeline0 [video_source-1] [gstreamer] gstreamer message latency ==> mysink [video_source-1] [gstreamer] gstreamer message warning ==> mysink [video_source-1] [gstreamer] gstreamer changed state from PAUSED to PLAYING ==> mysink [video_source-1] [gstreamer] gstreamer changed state from PAUSED to PLAYING ==> pipeline0 [video_source-1] [gstreamer] gstreamer pipeline0 recieved EOS signal... [video_source-1] [gstreamer] gstCamera::Capture() -- a timeout occurred waiting for the next image buffer [video_source-1] [ERROR] [1730272631.739633893] [video_source]: failed to capture next frame [video_source-1] [gstreamer] gstCamera::Capture() -- a timeout occurred waiting for the next image buffer [video_source-1] [ERROR] [1730272632.740620927] [video_source]: failed to capture next frame [video_source-1] [gstreamer] gstCamera::Capture() -- a timeout occurred waiting for the next image buffer [video_source-1] [ERROR] [1730272633.741235299] [video_source]: failed to capture next frame ^C[WARNING] [launch]: user interrupted with ctrl-c (SIGINT) [video_source-1] [INFO] [1730272634.424817241] [rclcpp]: signal_handler(signum=2) [video_output-2] [INFO] [1730272634.424817145] [rclcpp]: signal_handler(signum=2) [INFO] [video_output-2]: process has finished cleanly [pid 19769] ^C[WARNING] [launch]: user interrupted with ctrl-c (SIGINT) again, ignoring... [video_source-1] [INFO] [1730272634.624112972] [rclcpp]: signal_handler(signum=2) [video_source-1] [gstreamer] gstCamera::Capture() -- a timeout occurred waiting for the next image buffer