Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. Flir Boson+ Issues on VOXL2 Mini

Flir Boson+ Issues on VOXL2 Mini

Scheduled Pinned Locked Moved Ask your questions right here!
6 Posts 2 Posters 1.1k Views 1 Watching
  • 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.
  • J Offline
    J Offline
    jon
    Regular
    wrote on last edited by
    #1

    Set up is as follows: FLIR Boson+ with M0201 adapter board (red) connected to J1 port M0181 board plugged into J7 port of VOXL2 mini.

    Steps taken:

    1. Set up Boson+ camera using FLIR software, followed all steps detailed here: https://docs.modalai.com/M0153/

    2. Was not able to run voxl-configure-cameras 51 or voxl-configure-cameras 52 as the documentation suggested, so instead added 'boson-fpv' to the J7_LOWER field of the custom config file located at /data/modalai/custom_camera_config.txt
      Then ran voxl-configure-cameras and picked the 'C' option, which generated this camera config file:
      (I also have an imx412 hooked up to the J6 connector on the mini)

    	"version":	0.1,
    	"fsync_en":	false,
    	"fsync_gpio":	109,
    	"cameras":	[{
    			"type":	"imx412",
    			"name":	"hires",
    			"enabled":	true,
    			"camera_id":	0,
    			"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":	3.0999999046325684,
    			"exif_focal_length_in_35mm_format":	17,
    			"exif_fnumber":	1.2400000095367432,
    			"snapshot_jpeg_quality":	75,
    			"ae_mode":	"isp",
    			"gain_min":	54,
    			"gain_max":	8000
    		}, {
    			"type":	"boson-fpv",
    			"name":	"boson",
    			"enabled":	true,
    			"camera_id":	1,
    			"fps":	30,
    			"en_rotate":	false,
    			"en_preview":	true,
    			"preview_width":	640,
    			"preview_height":	512,
    			"en_raw_preview":	true,
    			"en_small_video":	true,
    			"small_video_width":	640,
    			"small_video_height":	512,
    			"small_venc_mode":	"h265",
    			"small_venc_br_ctrl":	"cbr",
    			"small_venc_Qfixed":	38,
    			"small_venc_Qmin":	15,
    			"small_venc_Qmax":	50,
    			"small_venc_nPframes":	29,
    			"small_venc_mbps":	2,
    			"small_venc_osd":	false,
    			"ae_mode":	"lme_msv",
    			"gain_min":	54,
    			"gain_max":	8000,
    			"ae_desired_msv":	60,
    			"exposure_min_us":	20,
    			"exposure_max_us":	33000,
    			"exposure_soft_min_us":	5000,
    			"ae_filter_alpha":	0.600000023841858,
    			"ae_ignore_fraction":	0.20000000298023224,
    			"ae_slope":	0.05000000074505806,
    			"ae_exposure_period":	1,
    			"ae_gain_period":	1
    		}]
    }
    
    1. Restarted camera server & drone etc.

    I am able to see the camera listed when running voxl-camera-server -l. However, when I try to view the stream via either voxl-inspect-cam -a or the portal, the VOXL just crashes. I don't know how to get any more verbose debug info, and I believe everything is set up correctly with regards to the camera & the software running on the VOXL.

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jon
      Regular
      wrote on last edited by
      #2

      Just to update with some extra information, this is the exact camera: https://www.oemcameras.com/product/22640a032-htm/

      Alex KushleyevA 1 Reply Last reply
      0
      • J jon

        Just to update with some extra information, this is the exact camera: https://www.oemcameras.com/product/22640a032-htm/

        Alex KushleyevA Offline
        Alex KushleyevA Offline
        Alex Kushleyev
        ModalAI Team
        wrote on last edited by Alex Kushleyev
        #3

        @jonathankampia ,

        (just FYI we just updated some more information about M0201 / M0153 here : https://docs.modalai.com/M0153/)

        It seems that connection is not an issue in your case. However, the config file is not correct.

        Please use the minimum config, as provided in the Hadron setup docs. We will update the Boson setup with a minimum config as well.

        Link Preview Image
        FLIR Hadron

        ModalAI technical documentation for VOXL and VOXL 2 Companion Computers for PX4 and ArduPilot Obstacle Avoidance and GPS-denied navigation, assembled in the USA

        favicon

        ModalAI Technical Docs (docs.modalai.com)

        What is happening is that the ISP is not liking the custom resolution of the Boson (640x512) and it causes a low level buffer overrun, causing voxl to crash. So disabling small and large streams should fix it. use preview stream only and enable raw preview.

        Here is the config snippet from the above link:

        {
                  "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"
              },
        

        (please note that after you run voxl-camera-server with this minimal config entry, the camera server will auto populate some additional fields). Also note that i did not paste the full config here, just the camera entry - a few more lines at the top and bottom (mostly braces) are misssing.

        I am going to add Boson support in our MISP processing pipeline so you will be able to get h264/h265 encoded boson video feed as well, but meanwhile you could just use voxl-streamer to encode these relatively small frames.

        Please let me know if the config update fixes your issue.

        Alex

        J 2 Replies Last reply
        0
        • Alex KushleyevA Alex Kushleyev

          @jonathankampia ,

          (just FYI we just updated some more information about M0201 / M0153 here : https://docs.modalai.com/M0153/)

          It seems that connection is not an issue in your case. However, the config file is not correct.

          Please use the minimum config, as provided in the Hadron setup docs. We will update the Boson setup with a minimum config as well.

          Link Preview Image
          FLIR Hadron

          ModalAI technical documentation for VOXL and VOXL 2 Companion Computers for PX4 and ArduPilot Obstacle Avoidance and GPS-denied navigation, assembled in the USA

          favicon

          ModalAI Technical Docs (docs.modalai.com)

          What is happening is that the ISP is not liking the custom resolution of the Boson (640x512) and it causes a low level buffer overrun, causing voxl to crash. So disabling small and large streams should fix it. use preview stream only and enable raw preview.

          Here is the config snippet from the above link:

          {
                    "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"
                },
          

          (please note that after you run voxl-camera-server with this minimal config entry, the camera server will auto populate some additional fields). Also note that i did not paste the full config here, just the camera entry - a few more lines at the top and bottom (mostly braces) are misssing.

          I am going to add Boson support in our MISP processing pipeline so you will be able to get h264/h265 encoded boson video feed as well, but meanwhile you could just use voxl-streamer to encode these relatively small frames.

          Please let me know if the config update fixes your issue.

          Alex

          J Offline
          J Offline
          jon
          Regular
          wrote on last edited by
          #4

          @Alex-Kushleyev Hey, thanks for the response! It fixed the crashing issue, and I can see frames being processed by running 'voxl-inspect-cam -a', but viewing the boson feed on the web portal shows a blank (black) video feed. I copied the config snippet into my file (swapping out the camera for the correct one). Something interesting to note is that even though I configured the camera for 30fps in FLIR software and on VOXL end, it seems to only be streaming about 11-12 fps. Maybe something is wrong on the camera side?

          1 Reply Last reply
          0
          • Alex KushleyevA Alex Kushleyev

            @jonathankampia ,

            (just FYI we just updated some more information about M0201 / M0153 here : https://docs.modalai.com/M0153/)

            It seems that connection is not an issue in your case. However, the config file is not correct.

            Please use the minimum config, as provided in the Hadron setup docs. We will update the Boson setup with a minimum config as well.

            Link Preview Image
            FLIR Hadron

            ModalAI technical documentation for VOXL and VOXL 2 Companion Computers for PX4 and ArduPilot Obstacle Avoidance and GPS-denied navigation, assembled in the USA

            favicon

            ModalAI Technical Docs (docs.modalai.com)

            What is happening is that the ISP is not liking the custom resolution of the Boson (640x512) and it causes a low level buffer overrun, causing voxl to crash. So disabling small and large streams should fix it. use preview stream only and enable raw preview.

            Here is the config snippet from the above link:

            {
                      "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"
                  },
            

            (please note that after you run voxl-camera-server with this minimal config entry, the camera server will auto populate some additional fields). Also note that i did not paste the full config here, just the camera entry - a few more lines at the top and bottom (mostly braces) are misssing.

            I am going to add Boson support in our MISP processing pipeline so you will be able to get h264/h265 encoded boson video feed as well, but meanwhile you could just use voxl-streamer to encode these relatively small frames.

            Please let me know if the config update fixes your issue.

            Alex

            J Offline
            J Offline
            jon
            Regular
            wrote on last edited by
            #5

            @Alex-Kushleyev Just gonna bump this

            Alex KushleyevA 1 Reply Last reply
            0
            • J jon

              @Alex-Kushleyev Just gonna bump this

              Alex KushleyevA Offline
              Alex KushleyevA Offline
              Alex Kushleyev
              ModalAI Team
              wrote on last edited by Alex Kushleyev
              #6

              @jonathankampia ,

              Have you checked that your Boson actually works (using a USB interface with either Flir GUI or a UVC interface)?

              Also, is your Boson configured to send MIPI data in 8-bit raw format?

              The camera server cannot change the FPS of Boson (or any of its streaming parameters). In fact there is no communication at all happening from VOXL2 to Boson (besides just probing / detection) - all the settings have to be configured by the user prior connecting to VOXL2 (including resolution, fps, etc).

              Link Preview Image
              M0153 MIPI Boson Image Sensor Adapter

              ModalAI technical documentation for VOXL and VOXL 2 Companion Computers for PX4 and ArduPilot Obstacle Avoidance and GPS-denied navigation, assembled in the USA

              favicon

              ModalAI Technical Docs (docs.modalai.com)

              Please double check these points..

              Alex

              1 Reply Last reply
              0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              ModalAI
              Categories Recent Tags ModalAI.com Docs
              © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups