ArduCAM / MIPI_Camera

223 stars 107 forks source link

Unable to control PTZ camera in Jetson Orin Nano with AverMedia D131 #190

Open proin225 opened 5 months ago

proin225 commented 5 months ago

I use

Issue

  1. git clone http://github.com/arducam/mipi_camera
  2. cd mipi_camera/Jetson/JestonNano_PTZ
  3. python3 FocuserExample.py -i 7 I typed 0 ~ 10 I2C_BUS. Printed this.
    
    GST_ARGUS: Creating output stream
    CONSUMER: Waiting until producer is connected...
    GST_ARGUS: Available Sensor modes :
    GST_ARGUS: 3840 x 2160 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 22.250000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1920 x 1080 FR = 59.999999 fps Duration = 16666667 ; Analog Gain range min 1.000000, max 22.250000; Exposure Range min 13000, max 683709000;

GST_ARGUS: Running with following settings: Camera index = 0 Camera mode = 1 Output Stream W = 1920 H = 1080 seconds to Run = 0 Frame Rate = 59.999999 GST_ARGUS: Setup Complete, Starting captures for 0 seconds GST_ARGUS: Starting repeat capture requests. CONSUMER: Producer has connected; continuing. [ WARN:0] global /home/ubuntu/build_opencv/opencv/modules/videoio/src/cap_gstreamer.cpp (1100) open OpenCV | GStreamer warning: Cannot query video position: status=0, value=-1, duration=-1 Gtk-Message: 09:41:07.834: Failed to load module "canberra-gtk-module" CONSUMER: Done Success (Argus) Error InvalidState: Argus client is exiting with 2 outstanding client threads (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 366) WARNING Argus: 6 client objects still exist during shutdown: 281473641829360 (0xffff64000f20) 281473655159328 (0xffff64000cb0) 281473655159488 (0xffff64001540) 281473655159680 (0xffff64001430) 281473655164320 (0xffff64003570) 281473655172472 (0xffff64003688)



How can I resolve this issue?