ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Riccardo Benedetti
    3. Posts
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 3
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by Riccardo Benedetti

    • RE: voxl-camera-server failed to set pipe size: Cannot allocate memory

      Hello,
      Same issue and same SDK here:

      voxl2:~$ voxl-camera-server
      detected system image 1.8.2
      using new imx412 defaults
      MISP awb str: auto
      Setting MISP AWB to AutoMISP awb str: auto
      Setting MISP AWB to Auto=================================================================
      configuration for 3 cameras:
      
      cam #0
          name:                hires
          sensor type:         imx412
          isEnabled:           1
          camId:               1
          camId2:              -1
          fps:                 30
          en_rotate:           0
          en_rotate2:          0
      
          en_preview:          0
          pre_width:           640
          pre_height:          480
          en_raw_preview:      0
      
          en_small_video:      1
          small_video_width:   1024
          small_video_height:  768
      
          en_large_video:      1
          large_video_width:   4056
          large_video_height:  3040
      
          en_misp:             0
          misp_width:          -1
          misp_height:         -1
      
          en_snapshot:         1
          snap_width:          4056
          snap_height:         3040
          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           : 8000
          standby_enabled:     0
          decimator:           1
          independent_exposure:0
      
      cam #1
          name:                tracking_rear
          sensor type:         ar0144
          isEnabled:           0
          camId:               2
          camId2:              -1
          fps:                 30
          en_rotate:           0
          en_rotate2:          0
      
          en_preview:          1
          pre_width:           1280
          pre_height:          800
          en_raw_preview:      1
      
          en_small_video:      0
          small_video_width:   -1
          small_video_height:  -1
      
          en_large_video:      0
          large_video_width:   -1
          large_video_height:  -1
      
          en_misp:             1
          misp_width:          1280
          misp_height:         800
      
          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:             lme_msv
          msv_exposure_min_us: 20
          msv_exposure_max_us: 12000
          gain_min           : 54
          gain_max           : 8000
          standby_enabled:     0
          decimator:           1
          independent_exposure:0
      
      cam #2
          name:                tracking_down
          sensor type:         ar0144
          isEnabled:           0
          camId:               0
          camId2:              -1
          fps:                 30
          en_rotate:           0
          en_rotate2:          0
      
          en_preview:          1
          pre_width:           1280
          pre_height:          800
          en_raw_preview:      1
      
          en_small_video:      0
          small_video_width:   -1
          small_video_height:  -1
      
          en_large_video:      0
          large_video_width:   -1
          large_video_height:  -1
      
          en_misp:             1
          misp_width:          1280
          misp_height:         800
      
          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:             lme_msv
          msv_exposure_min_us: 20
          msv_exposure_max_us: 12000
          gain_min           : 54
          gain_max           : 8000
          standby_enabled:     0
          decimator:           1
          independent_exposure:0
      
      fsync_en:            1
      fsync_gpio:          109
      =================================================================
      thread is locked to cores: 4 5 6 7
      connected to mavlink pipe
      Connected to cpu-monitor
      Starting Camera: hires (id #1)
      gbm_create_device(156): Info: backend name is: msm_drm
      Skipping Camera: tracking_rear, configuration marked disabled
      Skipping Camera: tracking_down, configuration marked disabled
      
      ------ voxl-camera-server: Started 1 of 3 cameras
      
      ------ voxl-camera-server: Camera server is now running
      WARNING failed to set pipe size: Cannot allocate memory
      ***
      PIPE NOT CREATED!!
      ***
      pipe 5 size achieved: -1 requested: 1048576
      Killed
      voxl2:~$ 
      
      voxl2:~$ voxl-version
      --------------------------------------------------------------------------------
      system-image: 1.8.02-M0054-14.1a-perf
      kernel:       #1 SMP PREEMPT Mon Nov 11 22:47:44 UTC 2024 4.19.125
      --------------------------------------------------------------------------------
      hw platform:  M0054
      mach.var:     1.0.1
      --------------------------------------------------------------------------------
      voxl-suite:   1.4.1
      

      Any insight?

      posted in Ask your questions right here!
      Riccardo BenedettiR
      Riccardo Benedetti
    • RE: Voxl2 camera RAW

      Hi all, I work with Roberto, adding here the voxl-camera-server.conf file we are currently using.

      {
      	"version":	0.1,
      	"fsync_en":	true,
      	"fsync_gpio":	109,
      	"cameras":	[{
      			"type":	"imx412",
      			"name":	"hires",
      			"enabled":	true,
      			"camera_id":	1,
      			"fps":	30,
      			"en_preview":	false,
      			"preview_width":	640,
      			"preview_height":	480,
      			"en_raw_preview":	false,
      			"en_small_video":	true,
      			"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,
      			"en_large_video":	true,
      			"large_video_width":	4056,
      			"large_video_height":	3040,
      			"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":	true,
      			"en_snapshot_width":	4056,
      			"en_snapshot_height":	3040,
      			"exif_focal_length":	4.5,
      			"exif_focal_length_in_35mm_format":	25,
      			"exif_fnumber":	4.5,
      			"ae_mode":	"off",
      			"gain_min":	54,
      			"gain_max":	8000,
      			"snapshot_jpeg_quality":	100
      		}]
      }
      
      

      We are using the snapshots for one of our projects and we would need to have the most detailed image possible to be processed with an external algo.
      Thanks

      posted in Ask your questions right here!
      Riccardo BenedettiR
      Riccardo Benedetti
    • RE: Stereo cameras not working with 14.5cm extension cable

      Hi @Vinny and @Alex-Kushleyev,
      any update about the config files?
      Thank you

      posted in Ask your questions right here!
      Riccardo BenedettiR
      Riccardo Benedetti