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

    Broken Package? Unable to configure cameras and hires video record.

    VOXL 2
    3
    6
    400
    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.
    • Jyotish KumarJ
      Jyotish Kumar
      last edited by

      With the aim to use voxl-record-video (which is not available in stable branch), I switched the pkg manager to dev. Now when I try to configure cameras using voxl-configure-cameras 6 (HiRes + tracking + ToF), the following error appears:

      voxl2:/$ voxl-configure-cameras 6
      Camera Configuration: 6
      [ERROR] Your system image is too old to support the new camera driver structure
      [ERROR] Plese update to a system image newer than May 14 2023
      

      I have reflashed the Voxl2 and configured the cameras prior to switching to the dev repository. With that, when I try to record a video, It receives nothing on the hires_record pipeline.

      voxl2:/$ voxl-record-video hires_record -o cameratest.h264
      waiting for server at /run/mpa/hires_record/
      

      It’ll be great if someone could help me with this issue.

      Thanks in advance for the help.

      1 Reply Last reply Reply Quote 0
      • Chad SweetC
        Chad Sweet ModalAI Team
        last edited by

        You can use voxl-list-pipes to debug your issue

        1 Reply Last reply Reply Quote 0
        • Jyotish KumarJ
          Jyotish Kumar
          last edited by Jyotish Kumar

          @Chad-Sweet said in Broken Package? Unable to configure cameras and hires video record.:

          voxl-list-pipe
          Hi, Thank you for your response.
          The following is the output of the voxl-list-pipes

          voxl2:/$ voxl-list-pipes  
          hires
          tof
          tof_conf
          tof_depth
          tof_ir
          tof_pc
          tracking
          

          out of these, when I try to inspect the hires pipeline using voxl-inspect-cam hires, I get a constant flow of frame details as one would normally expect.
          a5fbb0ef-71c5-4094-983d-0caa18b45c28-image.png

          I am not sure how to inspect the hires_record pipeline. The full command for hires video recording as given on the ModalAI technical docs is voxl-record-video hires_record -o /PATH/NAME.h264 Which expects a stream to the /run/mpa/hires_record/

          Your help will be much appreciated. Kindly let me know if I am doing something wrong.

          1 Reply Last reply Reply Quote 0
          • Chad SweetC
            Chad Sweet ModalAI Team
            last edited by

            you are using the dev branch, so the docs are not going to match what you are doing

            if you are using the dev branch, all of the packages need to be on the dev branch. If just one is on the dev branch, and the rest stable, things will break.

            1 Reply Last reply Reply Quote 0
            • Jyotish KumarJ
              Jyotish Kumar
              last edited by

              I see. Appreciate your help. Currently everything is on the dev branch. The two issues that I have originally mentioned prevail viz.
              (1) voxl-configure-camera 6 is giving the error that sysytem image is too old (I am currently on voxl2 image 0.9.5 which is the latest one available in the developer assets). I am able to manually configure the cameras by editing /etc/modalai/voxl-camera-server.conf file to fit my camera arrangement.
              I am able to see the stream of cameras on the voxl-portal.

              (2) voxl-record-video command Is still showing

              waiting for server at /run/mpa/hires_record/
              

              Am I supposed to use some other command to be able to record video?

              Viswanadh CheguV 1 Reply Last reply Reply Quote 0
              • Viswanadh CheguV
                Viswanadh Chegu @Jyotish Kumar
                last edited by Viswanadh Chegu

                @Jyotish-Kumar i have faced the same issue. the record pipe name has changed in dev branch, try to use
                hires_large_encoded or hires_small_encoded based on your resolution requirement. Can find more config parameters in /etc/modalai/voxl-camera-server.conf

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