ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Matthew Wellner
    • Profile
    • Following 0
    • Followers 0
    • Topics 15
    • Posts 96
    • Best 0
    • Controversial 0
    • Groups 0

    Matthew Wellner

    @Matthew Wellner

    0
    Reputation
    23
    Profile views
    96
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Matthew Wellner Unfollow Follow

    Latest posts made by Matthew Wellner

    • RE: voxl-camera-server saying Boson doesn't support 640x512 resolution when starting

      @Alex-Kushleyev - I re-ran the setup for the Boson camera in the windows app and everything is working with the new hardware that came. Thanks again for the help!

      posted in Ask your questions right here!
      Matthew WellnerM
      Matthew Wellner
    • RE: voxl-camera-server saying Boson doesn't support 640x512 resolution when starting

      @Alex-Kushleyev - I just received the replacement hardware and gave it a try, but now I am getting a "Buffer error" from the Boson camera -

      DEBUG:   Successfully set up pipeline for stream: PREVIEW
      VERBOSE: finished sending request for frame 0 for camera boson
      VERBOSE: returning from SendOneCaptureRequest for frame 1 for camera boson
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: added request for preview stream
      VERBOSE: Sending request for frame 1 for camera boson for 1 streams
      VERBOSE: finished sending request for frame 1 for camera boson
      VERBOSE: returning from SendOneCaptureRequest for frame 2 for camera boson
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: added request for preview stream
      VERBOSE: Sending request for frame 2 for camera boson for 1 streams
      VERBOSE: finished sending request for frame 2 for camera boson
      VERBOSE: returning from SendOneCaptureRequest for frame 3 for camera boson
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: added request for preview stream
      VERBOSE: Sending request for frame 3 for camera boson for 1 streams
      VERBOSE: finished sending request for frame 3 for camera boson
      VERBOSE: returning from SendOneCaptureRequest for frame 4 for camera boson
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: added request for preview stream
      VERBOSE: Sending request for frame 4 for camera boson for 1 streams
      VERBOSE: finished sending request for frame 4 for camera boson
      VERBOSE: returning from SendOneCaptureRequest for frame 5 for camera boson
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: added request for preview stream
      VERBOSE: Sending request for frame 5 for camera boson for 1 streams
      VERBOSE: Received result from HAl3 for frame number 2
      VERBOSE: Received 0 buffers from camera boson, partial result:1
      VERBOSE: Received result from HAl3 for frame number 1
      VERBOSE: Received 0 buffers from camera boson, partial result:1
      VERBOSE: Received result from HAl3 for frame number 3
      VERBOSE: Received 0 buffers from camera boson, partial result:1
      VERBOSE: Received result from HAl3 for frame number 4
      VERBOSE: Received 0 buffers from camera boson, partial result:1
      VERBOSE: Received result from HAl3 for frame number 0
      VERBOSE: Received 0 buffers from camera boson, partial result:2
      VERBOSE: Received metadata for frame 0 from camera boson
      VERBOSE: 	Timestamp: 192798186423
      VERBOSE: 	Gain: 799
      VERBOSE: 	Exposure: 0
      ERROR:   Received "Buffer" error from camera: boson
      VERBOSE: Received result from HAl3 for frame number 0
      VERBOSE: Received 1 buffers from camera boson, partial result:0
      VERBOSE: Received output buffer 0 from camera boson
      VERBOSE: boson procesing new buffer
      VERBOSE: Camera: boson processing preview frame
      DEBUG:   setting thread affinity for cam boson preview
      VERBOSE: finished sending request for frame 5 for camera boson
      VERBOSE: returning from SendOneCaptureRequest for frame 6 for camera boson
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: added request for preview stream
      VERBOSE: Sending request for frame 6 for camera boson for 1 streams
      Aborted
      
      
      posted in Ask your questions right here!
      Matthew WellnerM
      Matthew Wellner
    • RE: voxl-camera-server saying Boson doesn't support 640x512 resolution when starting

      @Alex-Kushleyev - That got me a little further....

      I am able to see the boson camera now, but the voxl-camera-server crashes on start. Here is the output after removing the driver for slot 5:

      voxl2:/$ voxl-camera-server -d 0
      MISP awb str: auto
      Setting MISP AWB to Auto
      MISP channels enabled in defaults : 0
      ERROR: object missing misp_channels
      MISP awb str: auto
      Setting MISP AWB to Auto
      MISP channels enabled in defaults : 0
      ERROR: object missing misp_channels
      =================================================================
      configuration for 2 cameras:
      
      cam #0
          name:                boson
          sensor type:         boson
          isEnabled:           1
          camId:               0
          camId2:              -1
          fps:                 30
          en_rotate:           0
          en_rotate2:          0
      
          en_preview:          1
          pre_width:           640
          pre_height:          512
          en_raw_preview:      1
      
          en_small_video:      0
          small_video_width:   640
          small_video_height:  480
      
          en_large_video:      0
          large_video_width:   -1
          large_video_height:  -1
      
          en_misp:             0
          misp_width:          -1
          misp_height:         -1
      
          en_snapshot:         0
          snap_width:          -1
          snap_height:         -1
          exif_focal_length:   0.000000
          exif_focal_len_35mm_format:0
          exif_fnumber:        0.000000
      
          ae_mode:             off
          msv_exposure_min_us: 20
          msv_exposure_max_us: 33000
          gain_min           : 54
          gain_max           : 8000
          standby_enabled:     0
          decimator:           1
          independent_exposure:0
      
      cam #1
          name:                hires
          sensor type:         ov64b
          isEnabled:           1
          camId:               1
          camId2:              -1
          fps:                 30
          en_rotate:           0
          en_rotate2:          0
      
          en_preview:          1
          pre_width:           1920
          pre_height:          1080
          en_raw_preview:      0
      
          en_small_video:      0
          small_video_width:   1024
          small_video_height:  768
      
          en_large_video:      0
          large_video_width:   3840
          large_video_height:  2160
      
          en_misp:             0
          misp_width:          -1
          misp_height:         -1
      
          en_snapshot:         0
          snap_width:          3840
          snap_height:         2160
          exif_focal_length:   3.100000
          exif_focal_len_35mm_format:17
          exif_fnumber:        1.240000
      
          ae_mode:             isp
          msv_exposure_min_us: 20
          msv_exposure_max_us: 33000
          gain_min           : 54
          gain_max           : 32000
          standby_enabled:     0
          decimator:           1
          independent_exposure:0
      
      fsync_en:            0
      fsync_gpio:          109
      =================================================================
      DEBUG:   Attempting to open the hal module
      DEBUG:   SUCCESS: Camera module opened on attempt 0
      DEBUG:   ----------- Number of cameras: 3
      
      VERBOSE: cci-direct: using voxl_platform_mod config 0 layout
      DEBUG:   Cam idx: 0, Cam slot: 2, Slave Address: 0x00D4, Sensor Id: 0x00FF
      DEBUG:   Cam idx: 1, Cam slot: 3, Slave Address: 0x006C, Sensor Id: 0x6442
      DEBUG:   Cam idx: 2, Cam slot: 5, Slave Address: 0x006C, Sensor Id: 0x6442
      thread is locked to cores: 4 5 6 7
      connected to mavlink pipe
      Connected to cpu-monitor
      DEBUG:   ------ voxl-camera-server: Starting 2 cameras
      Starting Camera: boson (id #0)
      DEBUG:   Checking Gain limits for Camera: boson
      DEBUG:   Using gain limits min: 54 max: 8000
      DEBUG:   cam ID 0 checking for fmt:   37  w:  640 h:  512 o:   0
      DEBUG:   	==> option   0: format= 34 width= 640 height= 512 is_input=0
      DEBUG:   	==> option   4: format= 34 width= 640 height= 512 is_input=1
      ...
      DEBUG:   	==> option 184: format= 32 width= 320 height= 256 is_input=0
      DEBUG:   	==> option 188: format= 36 width= 320 height= 256 is_input=0
      VERBOSE: Successfully found configuration match for camera 0: 640x512
      VERBOSE: Adding preview stream for camera: 0
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      VERBOSE: Opened GBM fd
      gbm_create_device(156): Info: backend name is: msm_drm
      VERBOSE: Created GBM device
      DEBUG:   Allocated BO with width=640 height=512 stride=800 aligned_w=800 aligned_h=512 size=409600 flags=0x20900 format=GBM_FORMAT_RAW10 fd=52 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=640 height=512 stride=800 aligned_w=800 aligned_h=512 size=409600 flags=0x20900 format=GBM_FORMAT_RAW10 fd=54 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=640 height=512 stride=800 aligned_w=800 aligned_h=512 size=409600 flags=0x20900 format=GBM_FORMAT_RAW10 fd=56 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=640 height=512 stride=800 aligned_w=800 aligned_h=512 size=409600 flags=0x20900 format=GBM_FORMAT_RAW10 fd=58 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=640 height=512 stride=800 aligned_w=800 aligned_h=512 size=409600 flags=0x20900 format=GBM_FORMAT_RAW10 fd=60 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=640 height=512 stride=800 aligned_w=800 aligned_h=512 size=409600 flags=0x20900 format=GBM_FORMAT_RAW10 fd=62 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=640 height=512 stride=800 aligned_w=800 aligned_h=512 size=409600 flags=0x20900 format=GBM_FORMAT_RAW10 fd=64 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=640 height=512 stride=800 aligned_w=800 aligned_h=512 size=409600 flags=0x20900 format=GBM_FORMAT_RAW10 fd=66 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=640 height=512 stride=800 aligned_w=800 aligned_h=512 size=409600 flags=0x20900 format=GBM_FORMAT_RAW10 fd=68 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=640 height=512 stride=800 aligned_w=800 aligned_h=512 size=409600 flags=0x20900 format=GBM_FORMAT_RAW10 fd=70 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=640 height=512 stride=800 aligned_w=800 aligned_h=512 size=409600 flags=0x20900 format=GBM_FORMAT_RAW10 fd=72 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=640 height=512 stride=800 aligned_w=800 aligned_h=512 size=409600 flags=0x20900 format=GBM_FORMAT_RAW10 fd=74 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=640 height=512 stride=800 aligned_w=800 aligned_h=512 size=409600 flags=0x20900 format=GBM_FORMAT_RAW10 fd=76 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=640 height=512 stride=800 aligned_w=800 aligned_h=512 size=409600 flags=0x20900 format=GBM_FORMAT_RAW10 fd=78 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=640 height=512 stride=800 aligned_w=800 aligned_h=512 size=409600 flags=0x20900 format=GBM_FORMAT_RAW10 fd=80 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=640 height=512 stride=800 aligned_w=800 aligned_h=512 size=409600 flags=0x20900 format=GBM_FORMAT_RAW10 fd=82 vaddr=(nil)
      DEBUG:   Successfully set up pipeline for stream: PREVIEW
      DEBUG:   Started Camera: boson
      Starting Camera: hires (id #1)
      VERBOSE: Entered thread: cam0-result(tid: 4215)
      VERBOSE: Entered thread: cam0-request(tid: 4214)
      VERBOSE: setting hal3 exposure for boson     5259763   800
      DEBUG:   Checking Gain limits for Camera: hires
      DEBUG:   Using gain limits min: 54 max: 860
      DEBUG:   cam ID 1 checking for fmt:   35  w: 1920 h: 1080 o:   0
      DEBUG:   	==> option   0: format= 34 width=9248 height=6944 is_input=0
      DEBUG:   	==> option   4: format= 34 width=9248 height=6944 is_input=1
      ...
      DEBUG:   	==> option 752: format= 32 width=4624 height=3472 is_input=0
      DEBUG:   	==> option 756: format= 36 width=4624 height=3472 is_input=0
      VERBOSE: Successfully found configuration match for camera 1: 1920x1080
      VERBOSE: Adding preview stream for camera: 1
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: setting hal3 exposure for boson     5259763   800
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=1920 height=1080 stride=1920 aligned_w=1920 aligned_h=1088 size=3133440 flags=0x20900 format=GBM_FORMAT_YCbCr_420_888 fd=105 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=1920 height=1080 stride=1920 aligned_w=1920 aligned_h=1088 size=3133440 flags=0x20900 format=GBM_FORMAT_YCbCr_420_888 fd=107 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=1920 height=1080 stride=1920 aligned_w=1920 aligned_h=1088 size=3133440 flags=0x20900 format=GBM_FORMAT_YCbCr_420_888 fd=109 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=1920 height=1080 stride=1920 aligned_w=1920 aligned_h=1088 size=3133440 flags=0x20900 format=GBM_FORMAT_YCbCr_420_888 fd=111 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=1920 height=1080 stride=1920 aligned_w=1920 aligned_h=1088 size=3133440 flags=0x20900 format=GBM_FORMAT_YCbCr_420_888 fd=113 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=1920 height=1080 stride=1920 aligned_w=1920 aligned_h=1088 size=3133440 flags=0x20900 format=GBM_FORMAT_YCbCr_420_888 fd=115 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=1920 height=1080 stride=1920 aligned_w=1920 aligned_h=1088 size=3133440 flags=0x20900 format=GBM_FORMAT_YCbCr_420_888 fd=117 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=1920 height=1080 stride=1920 aligned_w=1920 aligned_h=1088 size=3133440 flags=0x20900 format=GBM_FORMAT_YCbCr_420_888 fd=119 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=1920 height=1080 stride=1920 aligned_w=1920 aligned_h=1088 size=3133440 flags=0x20900 format=GBM_FORMAT_YCbCr_420_888 fd=121 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=1920 height=1080 stride=1920 aligned_w=1920 aligned_h=1088 size=3133440 flags=0x20900 format=GBM_FORMAT_YCbCr_420_888 fd=123 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=1920 height=1080 stride=1920 aligned_w=1920 aligned_h=1088 size=3133440 flags=0x20900 format=GBM_FORMAT_YCbCr_420_888 fd=125 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=1920 height=1080 stride=1920 aligned_w=1920 aligned_h=1088 size=3133440 flags=0x20900 format=GBM_FORMAT_YCbCr_420_888 fd=127 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=1920 height=1080 stride=1920 aligned_w=1920 aligned_h=1088 size=3133440 flags=0x20900 format=GBM_FORMAT_YCbCr_420_888 fd=129 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=1920 height=1080 stride=1920 aligned_w=1920 aligned_h=1088 size=3133440 flags=0x20900 format=GBM_FORMAT_YCbCr_420_888 fd=131 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=1920 height=1080 stride=1920 aligned_w=1920 aligned_h=1088 size=3133440 flags=0x20900 format=GBM_FORMAT_YCbCr_420_888 fd=133 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=1920 height=1080 stride=1920 aligned_w=1920 aligned_h=1088 size=3133440 flags=0x20900 format=GBM_FORMAT_YCbCr_420_888 fd=135 vaddr=(nil)
      DEBUG:   Successfully set up pipeline for stream: PREVIEW
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: Entered thread: cam1-request(tid: 4227)
      VERBOSE: Entered thread: cam1-result(tid: 4228)
      DEBUG:   Started Camera: hires
      
      ------ voxl-camera-server: Started 2 of 2 cameras
      
      ------ voxl-camera-server: Camera server is now running
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: added request for preview stream
      VERBOSE: Sending request for frame 0 for camera boson for 1 streams
      VERBOSE: Received result from HAl3 for frame number 0
      VERBOSE: Received 0 buffers from camera boson, partial result:1
      VERBOSE: added request for preview stream
      VERBOSE: Sending request for frame 0 for camera hires for 1 streams
      VERBOSE: finished sending request for frame 0 for camera boson
      VERBOSE: returning from SendOneCaptureRequest for frame 1 for camera boson
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: added request for preview stream
      VERBOSE: Sending request for frame 1 for camera boson for 1 streams
      VERBOSE: finished sending request for frame 1 for camera boson
      VERBOSE: returning from SendOneCaptureRequest for frame 2 for camera boson
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: added request for preview stream
      VERBOSE: Sending request for frame 2 for camera boson for 1 streams
      VERBOSE: finished sending request for frame 2 for camera boson
      VERBOSE: returning from SendOneCaptureRequest for frame 3 for camera boson
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: added request for preview stream
      VERBOSE: Sending request for frame 3 for camera boson for 1 streams
      VERBOSE: finished sending request for frame 3 for camera boson
      VERBOSE: returning from SendOneCaptureRequest for frame 4 for camera boson
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: added request for preview stream
      VERBOSE: Sending request for frame 4 for camera boson for 1 streams
      VERBOSE: finished sending request for frame 4 for camera boson
      VERBOSE: returning from SendOneCaptureRequest for frame 5 for camera boson
      VERBOSE: setting hal3 exposure for boson     5259763   800
      VERBOSE: added request for preview stream
      VERBOSE: Sending request for frame 5 for camera boson for 1 streams
      VERBOSE: Received result from HAl3 for frame number 1
      VERBOSE: Received 0 buffers from camera boson, partial result:1
      VERBOSE: Received result from HAl3 for frame number 0
      VERBOSE: Received 0 buffers from camera boson, partial result:2
      VERBOSE: Received metadata for frame 0 from camera boson
      VERBOSE: 	Timestamp: 328840356007
      VERBOSE: 	Gain: 799
      VERBOSE: 	Exposure: 0
      VERBOSE: Received result from HAl3 for frame number 2
      VERBOSE: Received 0 buffers from camera boson, partial result:1
      VERBOSE: Received result from HAl3 for frame number 3
      VERBOSE: Received 0 buffers from camera boson, partial result:1
      VERBOSE: Received result from HAl3 for frame number 4
      VERBOSE: Received 0 buffers from camera boson, partial result:1
      VERBOSE: finished sending request for frame 0 for camera hires
      VERBOSE: returning from SendOneCaptureRequest for frame 1 for camera hires
      VERBOSE: added request for preview stream
      VERBOSE: Sending request for frame 1 for camera hires for 1 streams
      VERBOSE: finished sending request for frame 1 for camera hires
      VERBOSE: returning from SendOneCaptureRequest for frame 2 for camera hires
      VERBOSE: added request for preview stream
      VERBOSE: Sending request for frame 2 for camera hires for 1 streams
      VERBOSE: finished sending request for frame 2 for camera hires
      VERBOSE: returning from SendOneCaptureRequest for frame 3 for camera hires
      VERBOSE: added request for preview stream
      VERBOSE: Sending request for frame 3 for camera hires for 1 streams
      VERBOSE: finished sending request for frame 3 for camera hires
      VERBOSE: returning from SendOneCaptureRequest for frame 4 for camera hires
      VERBOSE: added request for preview stream
      VERBOSE: Sending request for frame 4 for camera hires for 1 streams
      VERBOSE: finished sending request for frame 4 for camera hires
      VERBOSE: returning from SendOneCaptureRequest for frame 5 for camera hires
      VERBOSE: added request for preview stream
      VERBOSE: Sending request for frame 5 for camera hires for 1 streams
      VERBOSE: Received result from HAl3 for frame number 0
      VERBOSE: Received 0 buffers from camera hires, partial result:1
      VERBOSE: Received result from HAl3 for frame number 1
      VERBOSE: Received 0 buffers from camera hires, partial result:1
      VERBOSE: Received result from HAl3 for frame number 2
      VERBOSE: Received 0 buffers from camera hires, partial result:1
      Aborted
      
      posted in Ask your questions right here!
      Matthew WellnerM
      Matthew Wellner
    • RE: voxl-camera-server saying Boson doesn't support 640x512 resolution when starting

      @Alex-Kushleyev - Sounds good. I am on SDK 1.4.5 and my mach.var is 1.0.0.

      voxl2:~$ voxl-version 
      ────────────────────────────────────────────────────────────────────────────────
      system-image: 1.8.02-M0054-14.1a-perf
      kernel:       #1 SMP PREEMPT Mon Nov 11 22:08:01 UTC 2024 4.19.125
      ────────────────────────────────────────────────────────────────────────────────
      hw platform:  M0054
      mach.var:     1.0.0
      SKU:          MCCA-M0054-C8-T0-M0-X0
      ────────────────────────────────────────────────────────────────────────────────
      voxl-suite:   1.4.5
      ────────────────────────────────────────────────────────────────────────────────
      
      
      posted in Ask your questions right here!
      Matthew WellnerM
      Matthew Wellner
    • RE: voxl-camera-server saying Boson doesn't support 640x512 resolution when starting

      @Alex-Kushleyev - I just swapped the cables and reinserted the M0181 into J7 and only the hires camera works? I was thinking that the Boson camera would work when I swapped the cables (if it was the cable). Could there be something wrong with the M0159 / M0181?

      voxl2:~$ voxl-camera-server -d 0
      MISP awb str: auto
      Setting MISP AWB to Auto
      MISP channels enabled in defaults : 0
      ERROR: object missing misp_channels
      MISP awb str: auto
      Setting MISP AWB to Auto
      MISP channels enabled in defaults : 0
      ERROR: object missing misp_channels
      =================================================================
      configuration for 2 cameras:
      
      cam #0
          name:                boson
          sensor type:         boson
          isEnabled:           1
          camId:               0
          camId2:              -1
          fps:                 30
          en_rotate:           0
          en_rotate2:          0
      
          en_preview:          1
          pre_width:           640
          pre_height:          512
          en_raw_preview:      1
      
          en_small_video:      0
          small_video_width:   640
          small_video_height:  480
      
          en_large_video:      0
          large_video_width:   -1
          large_video_height:  -1
      
          en_misp:             0
          misp_width:          -1
          misp_height:         -1
      
          en_snapshot:         0
          snap_width:          -1
          snap_height:         -1
          exif_focal_length:   0.000000
          exif_focal_len_35mm_format:0
          exif_fnumber:        0.000000
      
          ae_mode:             off
          msv_exposure_min_us: 20
          msv_exposure_max_us: 33000
          gain_min           : 54
          gain_max           : 8000
          standby_enabled:     0
          decimator:           1
          independent_exposure:0
      
      cam #1
          name:                hires
          sensor type:         ov64b
          isEnabled:           1
          camId:               1
          camId2:              -1
          fps:                 30
          en_rotate:           0
          en_rotate2:          0
      
          en_preview:          1
          pre_width:           1920
          pre_height:          1080
          en_raw_preview:      0
      
          en_small_video:      0
          small_video_width:   1024
          small_video_height:  768
      
          en_large_video:      0
          large_video_width:   3840
          large_video_height:  2160
      
          en_misp:             0
          misp_width:          -1
          misp_height:         -1
      
          en_snapshot:         0
          snap_width:          3840
          snap_height:         2160
          exif_focal_length:   3.100000
          exif_focal_len_35mm_format:17
          exif_fnumber:        1.240000
      
          ae_mode:             isp
          msv_exposure_min_us: 20
          msv_exposure_max_us: 33000
          gain_min           : 54
          gain_max           : 32000
          standby_enabled:     0
          decimator:           1
          independent_exposure:0
      
      fsync_en:            0
      fsync_gpio:          109
      =================================================================
      DEBUG:   Attempting to open the hal module
      DEBUG:   SUCCESS: Camera module opened on attempt 0
      DEBUG:   ----------- Number of cameras: 2
      
      VERBOSE: cci-direct: using voxl_platform_mod config 0 layout
      DEBUG:   Cam idx: 0, Cam slot: 3, Slave Address: 0x006C, Sensor Id: 0x6442
      DEBUG:   Cam idx: 1, Cam slot: 5, Slave Address: 0x00D4, Sensor Id: 0x00FF
      thread is locked to cores: 4 5 6 7
      connected to mavlink pipe
      Connected to cpu-monitor
      DEBUG:   ------ voxl-camera-server: Starting 2 cameras
      Starting Camera: boson (id #0)
      DEBUG:   Checking Gain limits for Camera: boson
      DEBUG:   Using gain limits min: 54 max: 860
      DEBUG:   cam ID 0 checking for fmt:   37  w:  640 h:  512 o:   0
      DEBUG:   	==> option   0: format= 34 width=9248 height=6944 is_input=0
      ...
      DEBUG:   	==> option 756: format= 36 width=4624 height=3472 is_input=0
      ERROR:   Camera 0 failed to find supported preview config: 640x512
      WARNING: Failed to start cam boson due to invalid resolution
      WARNING: assuming cam is missing and trying to compensate
      Starting Camera: hires (originally id #1) with id offset: 1
      DEBUG:   Checking Gain limits for Camera: hires
      DEBUG:   Using gain limits min: 54 max: 860
      DEBUG:   cam ID 0 checking for fmt:   35  w: 1920 h: 1080 o:   0
      DEBUG:   	==> option   0: format= 34 width=9248 height=6944 is_input=0
      ...
      DEBUG:   	==> option 756: format= 36 width=4624 height=3472 is_input=0
      VERBOSE: Successfully found configuration match for camera 0: 1920x1080
      VERBOSE: Adding preview stream for camera: 0
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      VERBOSE: Opened GBM fd
      gbm_create_device(156): Info: backend name is: msm_drm
      VERBOSE: Created GBM device
      DEBUG:   Allocated BO with width=1920 height=1080 stride=1920 aligned_w=1920 aligned_h=1088 size=3133440 flags=0x20900 format=GBM_FORMAT_YCbCr_420_888 fd=60 vaddr=(nil)
      ...
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=1920 height=1080 stride=1920 aligned_w=1920 aligned_h=1088 size=3133440 flags=0x20900 format=GBM_FORMAT_YCbCr_420_888 fd=90 vaddr=(nil)
      DEBUG:   Successfully set up pipeline for stream: PREVIEW
      VERBOSE: Entered thread: cam0-request(tid: 3796)
      VERBOSE: Entered thread: cam0-result(tid: 3797)
      DEBUG:   Started Camera: hires
      
      ------ voxl-camera-server: Started 1 of 2 cameras
      
      ------ voxl-camera-server: Camera server is now running
      DEBUG:   Value of standby_active is: 0 
      DEBUG:   Value of standby_active is: 0 
      DEBUG:   Value of standby_active is: 0 
      
      posted in Ask your questions right here!
      Matthew WellnerM
      Matthew Wellner
    • RE: voxl-camera-server saying Boson doesn't support 640x512 resolution when starting

      @Alex-Kushleyev - Thanks for the help! I updated libmodal-journal, I swapped M0181 over to J6, and I copied the correct bin files over to /usr/lib/camera but now I don't see either camera:

      voxl2:~$ voxl-camera-server -l
      DEBUG:   Attempting to open the hal module
      DEBUG:   SUCCESS: Camera module opened on attempt 0
      DEBUG:   ----------- Number of cameras: 0
      
      DEBUG:   Note: This list comes from the HAL module and may not be indicative
      DEBUG:   	of configurations that have full pipelines
      
      DEBUG:   Number of cameras: 0
      
      

      I'm guessing based on what you wrote already that there is something going on between the M0181 and the Hadron?

      posted in Ask your questions right here!
      Matthew WellnerM
      Matthew Wellner
    • RE: voxl-camera-server saying Boson doesn't support 640x512 resolution when starting

      @Alex-Kushleyev - I have the M181 board plugged into J7 (the other side is connected to a Hadron matching the connections correctly), but the only sensor driver that detects the boson camera is com.qti.sensormodule.boson_5.bin (not 2 like the directions show). The EO camera works using com.qti.sensormodule.ov64b40_3.bin like the directions show. The ID 5 vs 2 seems like my issue, but I'm not sure how to fix it.

      posted in Ask your questions right here!
      Matthew WellnerM
      Matthew Wellner
    • RE: voxl-camera-server saying Boson doesn't support 640x512 resolution when starting

      I'm still having trouble with this... I've gone back through the instructions again, but I keep getting a message that says the boson doesn't support 640x512 even though that resolution is listed in the debug output:

      DEBUG:   	==> option 644: format= 33 width= 720 height= 480 is_input=0
      DEBUG:   	==> option 648: format= 34 width= 640 height= 512 is_input=0
      DEBUG:   	==> option 652: format= 35 width= 640 height= 512 is_input=0
      DEBUG:   	==> option 656: format= 33 width= 640 height= 512 is_input=0
      DEBUG:   	==> option 660: format= 34 width= 640 height= 480 is_input=0
      DEBUG:   	==> option 664: format= 35 width= 640 height= 480 is_input=0
      DEBUG:   	==> option 668: format= 33 width= 640 height= 480 is_input=0
      DEBUG:   	==> option 672: format= 34 width= 640 height= 400 is_input=0
      DEBUG:   	==> option 676: format= 35 width= 640 height= 400 is_input=0
      DEBUG:   	==> option 680: format= 33 width= 640 height= 400 is_input=0
      DEBUG:   	==> option 684: format= 34 width= 640 height= 360 is_input=0
      DEBUG:   	==> option 688: format= 35 width= 640 height= 360 is_input=0
      DEBUG:   	==> option 692: format= 33 width= 640 height= 360 is_input=0
      DEBUG:   	==> option 696: format= 34 width= 352 height= 288 is_input=0
      DEBUG:   	==> option 700: format= 35 width= 352 height= 288 is_input=0
      DEBUG:   	==> option 704: format= 34 width= 320 height= 240 is_input=0
      DEBUG:   	==> option 708: format= 35 width= 320 height= 240 is_input=0
      DEBUG:   	==> option 712: format= 34 width= 240 height= 320 is_input=0
      DEBUG:   	==> option 716: format= 35 width= 240 height= 320 is_input=0
      DEBUG:   	==> option 720: format= 34 width= 176 height= 144 is_input=0
      DEBUG:   	==> option 724: format= 35 width= 176 height= 144 is_input=0
      DEBUG:   	==> option 728: format= 37 width=9248 height=6944 is_input=0
      DEBUG:   	==> option 732: format= 38 width=9248 height=6944 is_input=0
      DEBUG:   	==> option 736: format= 32 width=9248 height=6944 is_input=0
      DEBUG:   	==> option 740: format= 36 width=9248 height=6944 is_input=0
      DEBUG:   	==> option 744: format= 37 width=4624 height=3472 is_input=0
      DEBUG:   	==> option 748: format= 38 width=4624 height=3472 is_input=0
      DEBUG:   	==> option 752: format= 32 width=4624 height=3472 is_input=0
      DEBUG:   	==> option 756: format= 36 width=4624 height=3472 is_input=0
      ERROR:   Camera 0 failed to find supported preview config: 640x512
      WARNING: Failed to start cam boson due to invalid resolution
      WARNING: assuming cam is missing and trying to compensate
      Starting Camera: hires (originally id #1) with id offset: 1
      DEBUG:   Checking Gain limits for Camera: hires
      DEBUG:   Using gain limits min: 54 max: 860
      
      
      posted in Ask your questions right here!
      Matthew WellnerM
      Matthew Wellner
    • voxl-camera-server saying Boson doesn't support 640x512 resolution when starting

      Hi,

      I am using a VOXL2 running SDK v1.4.5 with a Hadron 640R connected to J7. I am getting a video stream from the EO camera on the Hadron, but the voxl-camera-server says that 640x512 is an invalid resolution and doesn't start.

      I followed the instructions posted here (https://docs.modalai.com/voxl2-hadron) after configuring the Hadron via the USB cable according to the instructions for the Boson camera, but maybe I'm missing something / did something silly?

      The output of voxl-camera-server -l:

      voxl2:~$ voxl-camera-server -l
      ====================================
      Number of cameras detected: 2
      ====================================
      

      My config file (that I pulled from the instructions):

      {
      	"version":	0.1,
      	"fsync_en":	false,
      	"fsync_gpio":	109,
      	"cameras":	[{
      			"type":	"boson",
      			"name":	"boson",
      			"enabled":	true,
      			"camera_id":	0,
      			"fps":	30,
      			"en_preview":	true,
      			"en_misp":	false,
      			"preview_width":	640,
      			"preview_height":	512,
      			"en_raw_preview":	true,
      			"en_small_video":	false,
      			"en_large_video":	false,
      			"ae_mode":	"off",
      			"en_rotate":	false,
      			"small_video_width":	640,
      			"small_video_height":	480,
      			"small_venc_mode":	"h264",
      			"small_venc_br_ctrl":	"cqp",
      			"small_venc_Qfixed":	30,
      			"small_venc_Qmin":	15,
      			"small_venc_Qmax":	40,
      			"small_venc_nPframes":	9,
      			"small_venc_mbps":	2,
      			"small_venc_osd":	false,
      			"large_video_width":	-1,
      			"large_video_height":	-1,
      			"large_venc_mode":	"h264",
      			"large_venc_br_ctrl":	"cqp",
      			"large_venc_Qfixed":	40,
      			"large_venc_Qmin":	15,
      			"large_venc_Qmax":	50,
      			"large_venc_nPframes":	29,
      			"large_venc_mbps":	40,
      			"large_venc_osd":	false,
      			"misp_width":	-1,
      			"misp_height":	-1,
      			"misp_venc_enable":	true,
      			"misp_venc_mode":	"h264",
      			"misp_venc_br_ctrl":	"cqp",
      			"misp_venc_Qfixed":	30,
      			"misp_venc_Qmin":	15,
      			"misp_venc_Qmax":	50,
      			"misp_venc_nPframes":	29,
      			"misp_venc_mbps":	2,
      			"misp_venc_osd":	false,
      			"misp_awb":	"auto",
      			"misp_gamma":	1,
      			"gain_min":	54,
      			"gain_max":	8000
      		}, {
      			"type":	"ov64b",
      			"name":	"hires",
      			"enabled":	true,
      			"camera_id":	1,
      			"fps":	30,
      			"en_preview":	true,
      			"en_misp":	false,
      			"preview_width":	1920,
      			"preview_height":	1080,
      			"en_raw_preview":	false,
      			"en_small_video":	false,
      			"en_large_video":	false,
      			"en_snapshot":	false,
      			"ae_mode":	"isp",
      			"gain_min":	54,
      			"gain_max":	32000,
      			"small_video_width":	1024,
      			"small_video_height":	768,
      			"small_venc_mode":	"h264",
      			"small_venc_br_ctrl":	"cqp",
      			"small_venc_Qfixed":	30,
      			"small_venc_Qmin":	15,
      			"small_venc_Qmax":	40,
      			"small_venc_nPframes":	9,
      			"small_venc_mbps":	2,
      			"small_venc_osd":	false,
      			"large_video_width":	3840,
      			"large_video_height":	2160,
      			"large_venc_mode":	"h264",
      			"large_venc_br_ctrl":	"cqp",
      			"large_venc_Qfixed":	40,
      			"large_venc_Qmin":	15,
      			"large_venc_Qmax":	50,
      			"large_venc_nPframes":	29,
      			"large_venc_mbps":	40,
      			"large_venc_osd":	false,
      			"en_snapshot_width":	3840,
      			"en_snapshot_height":	2160,
      			"exif_focal_length":	3.0999999046325684,
      			"exif_focal_length_in_35mm_format":	17,
      			"exif_fnumber":	1.2400000095367432,
      			"snapshot_jpeg_quality":	75,
      			"misp_width":	-1,
      			"misp_height":	-1,
      			"misp_venc_enable":	true,
      			"misp_venc_mode":	"h265",
      			"misp_venc_br_ctrl":	"cqp",
      			"misp_venc_Qfixed":	38,
      			"misp_venc_Qmin":	15,
      			"misp_venc_Qmax":	50,
      			"misp_venc_nPframes":	29,
      			"misp_venc_mbps":	30,
      			"misp_venc_osd":	false,
      			"misp_awb":	"auto",
      			"misp_gamma":	1.6
      		}]
      }
      

      Output of voxl-camera-server -d 0:

      voxl2:~$ voxl-camera-server -d 0
      MISP awb str: auto
      Setting MISP AWB to Auto
      MISP channels enabled in defaults : 0
      ERROR: object missing misp_channels
      MISP awb str: auto
      Setting MISP AWB to Auto
      MISP channels enabled in defaults : 0
      ERROR: object missing misp_channels
      =================================================================
      configuration for 2 cameras:
      
      cam #0
          name:                boson
          sensor type:         boson
          isEnabled:           1
          camId:               0
          camId2:              -1
          fps:                 30
          en_rotate:           0
          en_rotate2:          0
      
          en_preview:          1
          pre_width:           640
          pre_height:          512
          en_raw_preview:      1
      
          en_small_video:      0
          small_video_width:   640
          small_video_height:  480
      
          en_large_video:      0
          large_video_width:   -1
          large_video_height:  -1
      
          en_misp:             0
          misp_width:          -1
          misp_height:         -1
      
          en_snapshot:         0
          snap_width:          -1
          snap_height:         -1
          exif_focal_length:   0.000000
          exif_focal_len_35mm_format:0
          exif_fnumber:        0.000000
      
          ae_mode:             off
          msv_exposure_min_us: 20
          msv_exposure_max_us: 33000
          gain_min           : 54
          gain_max           : 8000
          standby_enabled:     0
          decimator:           1
          independent_exposure:0
      
      cam #1
          name:                hires
          sensor type:         ov64b
          isEnabled:           1
          camId:               1
          camId2:              -1
          fps:                 30
          en_rotate:           0
          en_rotate2:          0
      
          en_preview:          1
          pre_width:           1920
          pre_height:          1080
          en_raw_preview:      0
      
          en_small_video:      0
          small_video_width:   1024
          small_video_height:  768
      
          en_large_video:      0
          large_video_width:   3840
          large_video_height:  2160
      
          en_misp:             0
          misp_width:          -1
          misp_height:         -1
      
          en_snapshot:         0
          snap_width:          3840
          snap_height:         2160
          exif_focal_length:   3.100000
          exif_focal_len_35mm_format:17
          exif_fnumber:        1.240000
      
          ae_mode:             isp
          msv_exposure_min_us: 20
          msv_exposure_max_us: 33000
          gain_min           : 54
          gain_max           : 32000
          standby_enabled:     0
          decimator:           1
          independent_exposure:0
      
      fsync_en:            0
      fsync_gpio:          109
      =================================================================
      DEBUG:   Attempting to open the hal module
      DEBUG:   SUCCESS: Camera module opened on attempt 0
      DEBUG:   ----------- Number of cameras: 2
      
      VERBOSE: cci-direct: using voxl_platform_mod config 0 layout
      DEBUG:   Cam idx: 0, Cam slot: 3, Slave Address: 0x006C, Sensor Id: 0x6442
      DEBUG:   Cam idx: 1, Cam slot: 5, Slave Address: 0x00D4, Sensor Id: 0x00FF
      thread is locked to cores: 4 5 6 7
      connected to mavlink pipe
      Connected to cpu-monitor
      DEBUG:   ------ voxl-camera-server: Starting 2 cameras
      Starting Camera: boson (id #0)
      DEBUG:   Checking Gain limits for Camera: boson
      DEBUG:   Using gain limits min: 54 max: 860
      DEBUG:   cam ID 0 checking for fmt:   37  w:  640 h:  512 o:   0
      DEBUG:   	==> option   0: format= 34 width=9248 height=6944 is_input=0
      DEBUG:   	==> option   4: format= 34 width=9248 height=6944 is_input=1
      ...
      DEBUG:   	==> option 644: format= 33 width= 720 height= 480 is_input=0
      DEBUG:   	==> option 648: format= 34 width= 640 height= 512 is_input=0
      DEBUG:   	==> option 652: format= 35 width= 640 height= 512 is_input=0
      DEBUG:   	==> option 656: format= 33 width= 640 height= 512 is_input=0
      DEBUG:   	==> option 660: format= 34 width= 640 height= 480 is_input=0
      DEBUG:   	==> option 664: format= 35 width= 640 height= 480 is_input=0
      DEBUG:   	==> option 668: format= 33 width= 640 height= 480 is_input=0
      DEBUG:   	==> option 672: format= 34 width= 640 height= 400 is_input=0
      DEBUG:   	==> option 676: format= 35 width= 640 height= 400 is_input=0
      DEBUG:   	==> option 680: format= 33 width= 640 height= 400 is_input=0
      DEBUG:   	==> option 684: format= 34 width= 640 height= 360 is_input=0
      DEBUG:   	==> option 688: format= 35 width= 640 height= 360 is_input=0
      DEBUG:   	==> option 692: format= 33 width= 640 height= 360 is_input=0
      DEBUG:   	==> option 696: format= 34 width= 352 height= 288 is_input=0
      DEBUG:   	==> option 700: format= 35 width= 352 height= 288 is_input=0
      DEBUG:   	==> option 704: format= 34 width= 320 height= 240 is_input=0
      DEBUG:   	==> option 708: format= 35 width= 320 height= 240 is_input=0
      DEBUG:   	==> option 712: format= 34 width= 240 height= 320 is_input=0
      DEBUG:   	==> option 716: format= 35 width= 240 height= 320 is_input=0
      DEBUG:   	==> option 720: format= 34 width= 176 height= 144 is_input=0
      DEBUG:   	==> option 724: format= 35 width= 176 height= 144 is_input=0
      DEBUG:   	==> option 728: format= 37 width=9248 height=6944 is_input=0
      DEBUG:   	==> option 732: format= 38 width=9248 height=6944 is_input=0
      DEBUG:   	==> option 736: format= 32 width=9248 height=6944 is_input=0
      DEBUG:   	==> option 740: format= 36 width=9248 height=6944 is_input=0
      DEBUG:   	==> option 744: format= 37 width=4624 height=3472 is_input=0
      DEBUG:   	==> option 748: format= 38 width=4624 height=3472 is_input=0
      DEBUG:   	==> option 752: format= 32 width=4624 height=3472 is_input=0
      DEBUG:   	==> option 756: format= 36 width=4624 height=3472 is_input=0
      ERROR:   Camera 0 failed to find supported preview config: 640x512
      WARNING: Failed to start cam boson due to invalid resolution
      WARNING: assuming cam is missing and trying to compensate
      Starting Camera: hires (originally id #1) with id offset: 1
      DEBUG:   Checking Gain limits for Camera: hires
      DEBUG:   Using gain limits min: 54 max: 860
      DEBUG:   cam ID 0 checking for fmt:   35  w: 1920 h: 1080 o:   0
      DEBUG:   	==> option   0: format= 34 width=9248 height=6944 is_input=0
      DEBUG:   	==> option   4: format= 34 width=9248 height=6944 is_input=1
      ...
      DEBUG:   	==> option 748: format= 38 width=4624 height=3472 is_input=0
      DEBUG:   	==> option 752: format= 32 width=4624 height=3472 is_input=0
      DEBUG:   	==> option 756: format= 36 width=4624 height=3472 is_input=0
      VERBOSE: Successfully found configuration match for camera 0: 1920x1080
      VERBOSE: Adding preview stream for camera: 0
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      VERBOSE: Opened GBM fd
      gbm_create_device(156): Info: backend name is: msm_drm
      VERBOSE: Created GBM device
      DEBUG:   Allocated BO with width=1920 height=1080 stride=1920 aligned_w=1920 aligned_h=1088 size=3133440 flags=0x20900 format=GBM_FORMAT_YCbCr_420_888 fd=60 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=1920 height=1080 stride=1920 aligned_w=1920 aligned_h=1088 size=3133440 flags=0x20900 format=GBM_FORMAT_YCbCr_420_888 fd=62 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=1920 height=1080 stride=1920 aligned_w=1920 aligned_h=1088 size=3133440 flags=0x20900 format=GBM_FORMAT_YCbCr_420_888 fd=64 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=1920 height=1080 stride=1920 aligned_w=1920 aligned_h=1088 size=3133440 flags=0x20900 format=GBM_FORMAT_YCbCr_420_888 fd=66 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=1920 height=1080 stride=1920 aligned_w=1920 aligned_h=1088 size=3133440 flags=0x20900 format=GBM_FORMAT_YCbCr_420_888 fd=68 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=1920 height=1080 stride=1920 aligned_w=1920 aligned_h=1088 size=3133440 flags=0x20900 format=GBM_FORMAT_YCbCr_420_888 fd=70 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=1920 height=1080 stride=1920 aligned_w=1920 aligned_h=1088 size=3133440 flags=0x20900 format=GBM_FORMAT_YCbCr_420_888 fd=72 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=1920 height=1080 stride=1920 aligned_w=1920 aligned_h=1088 size=3133440 flags=0x20900 format=GBM_FORMAT_YCbCr_420_888 fd=74 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=1920 height=1080 stride=1920 aligned_w=1920 aligned_h=1088 size=3133440 flags=0x20900 format=GBM_FORMAT_YCbCr_420_888 fd=76 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=1920 height=1080 stride=1920 aligned_w=1920 aligned_h=1088 size=3133440 flags=0x20900 format=GBM_FORMAT_YCbCr_420_888 fd=78 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=1920 height=1080 stride=1920 aligned_w=1920 aligned_h=1088 size=3133440 flags=0x20900 format=GBM_FORMAT_YCbCr_420_888 fd=80 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=1920 height=1080 stride=1920 aligned_w=1920 aligned_h=1088 size=3133440 flags=0x20900 format=GBM_FORMAT_YCbCr_420_888 fd=82 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=1920 height=1080 stride=1920 aligned_w=1920 aligned_h=1088 size=3133440 flags=0x20900 format=GBM_FORMAT_YCbCr_420_888 fd=84 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=1920 height=1080 stride=1920 aligned_w=1920 aligned_h=1088 size=3133440 flags=0x20900 format=GBM_FORMAT_YCbCr_420_888 fd=86 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=1920 height=1080 stride=1920 aligned_w=1920 aligned_h=1088 size=3133440 flags=0x20900 format=GBM_FORMAT_YCbCr_420_888 fd=88 vaddr=(nil)
      DEBUG:   Converted gralloc flags 0x20900 to GBM flags 0x1400000
      VERBOSE: Dumping GBM flags
      DEBUG:   	Found flag GBM_BO_USAGE_CAMERA_WRITE_QTI	
      DEBUG:   	Found flag GBM_BO_USAGE_HW_COMPOSER_QTI	
      DEBUG:   Allocated BO with width=1920 height=1080 stride=1920 aligned_w=1920 aligned_h=1088 size=3133440 flags=0x20900 format=GBM_FORMAT_YCbCr_420_888 fd=90 vaddr=(nil)
      DEBUG:   Successfully set up pipeline for stream: PREVIEW
      VERBOSE: Entered thread: cam0-request(tid: 18927)
      DEBUG:   Started Camera: hires
      
      ------ voxl-camera-server: Started 1 of 2 cameras
      
      ------ voxl-camera-server: Camera server is now running
      VERBOSE: Entered thread: cam0-result(tid: 18928)
      VERBOSE: added request for preview stream
      VERBOSE: Sending request for frame 0 for camera hires for 1 streams
      ...
      
      posted in Ask your questions right here!
      Matthew WellnerM
      Matthew Wellner
    • RE: Flir Boson over m0153 setup

      @Alex-Kushleyev Thanks again for the help. Unfortunately as it turns out, even though I have a Boson 640+ FLIR told me that the version I have is right before they started providing the MIPI output. I can still use the UVC interface, but it doesn't look like the Boson+ that I have can use the MIPI adapter after all. I don't know that many others will have my problem, but you guys might want to note that only the newest version of the Boson camera will support the MIPI adapter kit (https://flir.custhelp.com/app/answers/detail/a_id/6245/~/flir-oem---boson-software-versions).

      Matt

      posted in Ask your questions right here!
      Matthew WellnerM
      Matthew Wellner