ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    camera not working and missing configuration

    Video and Image Sensors
    2
    2
    25
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mkriesel
      last edited by mkriesel

      Hello,

      I have 3 drones setup with what is essentially the flight deck setup with a front stereo and tracking camera and a voxl2. The voxl 2's have been replaced from their original and the ones we received are on SDK 1.5.0, in this version there is no option 11 for the voxl-configure-cameras

      Available camera config IDs are as follows:

      22 - M0173 Seeker V5+ dual AR0144
      26 - M0173 Starling 2 IMX412 + dual AR0144
      27 - M0173 Starling 2 PMD IMX412 triple AR0144
      28 - M0173 Starling 2 Max dual IMX412 + dual AR0144
      29 - M0173 Starling 2 Max PMD + dual IMX412 + dual AR0144
      30 - M0173 Starling 2 Prototype dual PMD + dual IMX412 + dual AR0144
      36 - M0173 Seeker V5+ IMX412 + dual AR0144
      37 - M0173 Seeker V5+ IMX412 + dual AR0144 + Boson
      46 - M0173 Seeker V5+ IMX664 + dual AR0144
      47 - M0173 Seeker V5+ IMX664 + dual AR0144 + Boson
      C - use user-defined custom camera config in
      (/data/modalai/custom_camera_config.txt)
      q - Quit The Wizard

      selection:

      One of the drones is on sdk 1.4.5 and has had no issues and I can configure option 11. I have copied all the same bins in /usr/lib/camera/ and am using the same voxl-camera-server.conf.

      voxl-camera-server -l only shows 1 camera and it is only 1 of the stereo cameras and the voxl-camera-server does not start any of the cameras

      Starting Camera: stereo_front (id #0)
      gbm_create_device(156): Info: backend name is: msm_drm
      setting ov7251 BLC register for cam id 0
      ERROR: Failed to request camera info for camID 1, cam likely disconnected
      ERROR: Camera 1 failed to find supported preview config: 640x480
      WARNING: Failed to start cam stereo_front due to invalid resolution
      WARNING: assuming cam is missing and trying to compensate
      Starting Camera: tracking (originally id #2) with id offset: 1
      WARNING: cam tracking (id 1) does not seem to be alive
      Starting Camera: hires (originally id #3) with id offset: 1
      WARNING: cam hires (id 2) does not seem to be alive
      Starting Camera: stereo_rear (originally id #5) with id offset: 1
      WARNING: cam stereo_rear (id 4) does not seem to be alive
      ERROR: failed to initialize any cameras

      ------ voxl-camera-server: Started 0 of 4 cameras

      ------ voxl-camera-server: Camera server is now running

      ------ voxl-camera-server: Camera server is now stopping

      ------ voxl-camera-server: Camera server exited gracefully, returning -1

      tomT 1 Reply Last reply Reply Quote 0
      • tomT
        tom admin @mkriesel
        last edited by

        @mkriesel You'll need to re-flash the SDK and select the correct kernel option that supports C11.

        When running ./install.sh you'll see the following options:

        Would you like to continue with SDK install?
        1) Yes, with questions along the way to configure VOXL 2
        2) Yes, just update SDK keeping the same SKU configuration
        3) No
        

        Select, option 1, and you'll get the option to choose which kernel to flash

        Detected: M0054-1 (QRB5165M)
        Detected: Config 1 w/ M0173 Breakout Board (Starling 2 Max, Starling 2, FPV V5)
        
        =======================================================================================================
        In order to support all of VOXL's camera configurations, specific drones require differing kernel images.
        Please select your drone hardware to proceed with flashing the appropriate kernel image.
        =======================================================================================================
        
        PLEASE SELECT WHICH KERNEL TO FLASH
        0. M0054-1 -> QRB5165M, Starling (D0005), Sentinel (D0006), FPV V4 (D0008), D0010, PX4 Dev Kit (D0011)
        1. M0054-1 -> QRB5165M w/ M0173 Camera Breakout Board, Starling 2 Max (D0012), Starling 2 (D0014), FPV V5 (D0008/D0019/D0020)
        
        Select your choice from the options above
        or press [Enter] to continue with current config: 
        

        For your use case, you'll want to select option 0 as you are not using an M0173 camera breakout board and the C11 camera config is inherited from the sentinel (D0006) platform.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Powered by NodeBB | Contributors