The jetson is not reading the CSI camera. what is weird is that when running ls /dev/video0 I get a positive result, however when running start.py run apriltag I get one of two error messages, as far as I can tell they are compleatly random. I have also tried differnt ribbon cables, CSI camera, jetson nanos, and sd cards. any help would be awsome
error 1
apriltag_1 | Connecting…
apriltag_1 | …OK
apriltag_1 | (Argus) Error Timeout: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function openSocketConnection(), line 219)
apriltag_1 | (Argus) Error Timeout: Cannot create camera provider (in src/rpc/socket/client/SocketClientDispatch.cpp, function createCameraProvider(), line 106)
apriltag_1 | (Argus) Error Timeout: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function openSocketConnection(), line 219)
apriltag_1 | (Argus) Error Timeout: Cannot create camera provider (in src/rpc/socket/client/SocketClientDispatch.cpp, function createCameraProvider(), line 106)
apriltag_1 | Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:735 Failed to create CameraProvider
apriltag_1 | made it past cap device
apriltag_1 | [ WARN:0] global /opt/opencv/modules/videoio/src/cap_gstreamer.cpp (935) open OpenCV | GStreamer warning: Cannot query video position: status=0, value=-1, duration=-1
apriltag_1 | terminate called after throwing an instance of ‘cv::Exception’
apriltag_1 | what(): OpenCV(4.5.0) /opt/opencv/modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function ‘cvtColor’
apriltag_1 |
error 2
apriltag_1 | Connecting…
apriltag_1 | …OK
apriltag_1 | GST_ARGUS: Creating output stream
apriltag_1 | CONSUMER: Waiting until producer is connected…
apriltag_1 | GST_ARGUS: Available Sensor modes :
apriltag_1 | GST_ARGUS: 3264 x 2464 FR = 21.000000 fps Duration = 47619048 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;
apriltag_1 |
apriltag_1 | GST_ARGUS: 3264 x 1848 FR = 28.000001 fps Duration = 35714284 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;
apriltag_1 |
apriltag_1 | GST_ARGUS: 1920 x 1080 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;
apriltag_1 |
apriltag_1 | GST_ARGUS: 1640 x 1232 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;
apriltag_1 |
apriltag_1 | GST_ARGUS: 1280 x 720 FR = 59.999999 fps Duration = 16666667 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;
apriltag_1 |
apriltag_1 | GST_ARGUS: 1280 x 720 FR = 120.000005 fps Duration = 8333333 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;
apriltag_1 |
apriltag_1 | GST_ARGUS: Running with following settings:
apriltag_1 | Camera index = 0
apriltag_1 | Camera mode = 5
apriltag_1 | Output Stream W = 1280 H = 720
apriltag_1 | seconds to Run = 0
apriltag_1 | Frame Rate = 120.000005
apriltag_1 | GST_ARGUS: Setup Complete, Starting captures for 0 seconds
apriltag_1 | GST_ARGUS: Starting repeat capture requests.
apriltag_1 | CONSUMER: Producer has connected; continuing.
apriltag_1 | nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
apriltag_1 | nvbuf_utils: Can not get HW buffer from FD… Exiting…
apriltag_1 | CONSUMER: ERROR OCCURRED
apriltag_1 | [ WARN:0] global /opt/opencv/modules/videoio/src/cap_gstreamer.cpp (1761) handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module nvarguscamerasrc0 reported: CANCELLED