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

    Getting voxl-streamer running

    Ask your questions right here!
    6
    18
    1.3k
    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.
    • E
      Eric Katzfey ModalAI Team
      last edited by 27 Feb 2021, 19:26

      Our dev repo is very active and occasionally we end up with some dependency mismatches in it. I fixed the problem with voxl-streamer. Can you please start with a fresh install of the system image and follow the instructions in this thread to try again? It should all be working now. Thanks!

      L 1 Reply Last reply 27 Feb 2021, 19:56 Reply Quote 0
      • L
        Lynn Koudsi @Eric Katzfey
        last edited by 27 Feb 2021, 19:56

        @Eric-Katzfey Hi Eric,

        Thanks for the reply!

        I actually found the issue. the camera server was broadcasting under /run/mpa/hires_preview when vox-streamer was looking for run/mpa/hires/preview so I just changed that value in the script and it works 🙂

        E D 2 Replies Last reply 27 Feb 2021, 20:13 Reply Quote 0
        • E
          Eric Katzfey ModalAI Team @Lynn Koudsi
          last edited by 27 Feb 2021, 20:13

          @Lynn-Koudsi Great! Yep, that was the issue 🙂

          1 Reply Last reply Reply Quote 0
          • D
            Dean Fortier @Lynn Koudsi
            last edited by 31 Mar 2021, 01:30

            Hi @Lynn-Koudsi and @Eric-Katzfey,

            I am having the same issue as you Lynn where I am getting the error:

            yocto:/# voxl-streamer
            Using configuration file /etc/modalai/voxl-streamer.conf
            closing FDs for client channel 0
            ERROR: Couldn't open MPA pipe /run/mpa/hires/preview/
            

            Where is the script where you changed /run/mpa/hires_preview?

            Thanks,

            Dean

            E 1 Reply Last reply 31 Mar 2021, 16:10 Reply Quote 0
            • E
              Eric Katzfey ModalAI Team
              last edited by 31 Mar 2021, 15:01

              @Dean-Fortier It is in the voxl-streamer configuration file. /etc/modalai/voxl-streamer.conf.

              D 1 Reply Last reply 2 Apr 2021, 02:55 Reply Quote 0
              • E
                Eric Katzfey ModalAI Team @Dean Fortier
                last edited by 31 Mar 2021, 16:10

                @Dean-Fortier BTW, The latest software installer is now available at https://developer.modalai.com/asset. With the new release you won't need to modify the configuration file manually. (beta) VOXL Platform Release 3.2.0-0.3.4-b https://developer.modalai.com/asset/download/69

                1 Reply Last reply Reply Quote 0
                • D
                  Dean Fortier @Eric Katzfey
                  last edited by 2 Apr 2021, 02:55

                  Hi @Eric-Katzfey,
                  Thanks for the tip, I installed the 3.2.0-0.3.4-b release and still have the same issue. Also I am not sure what to modify in the voxl-streamer.conf file. I modified line 6 from:

                  "mpa-camera": "hires_preview" },
                  

                  to:

                  "mpa-camera": "hires/preview" },
                  

                  but I think I am missing something as I am getting the same error message.

                  Thanks,
                  Dean

                  E 1 Reply Last reply 2 Apr 2021, 16:19 Reply Quote 0
                  • E
                    Eric Katzfey ModalAI Team @Dean Fortier
                    last edited by Eric Katzfey 2 Apr 2021, 16:22 2 Apr 2021, 16:19

                    @Dean-Fortier The issue with the path was that, originally, it was specified as "hires/preview". This is where voxl-camera-server created the pipe and where voxl-streamer looked for it. In a newer version of voxl-camera-server, the name changed to "hires_preview". Until voxl-streamer was updated, you had to manually go into the configuration file and change it yourself. Now voxl-streamer has been updated and the manual change is no longer necessary. That is what is in 3.2.0-0.3.4-b. You can take a look at the directories yourself to see what voxl-camera-server is doing. After a power cycle and before you start voxl-camera-server you should see something like this:

                    yocto:/run/mpa# ls
                    imu0  imu1
                    

                    And then after starting voxl-camera-server you will see the new directories:

                    yocto:/run/mpa# ls
                    hires_preview  imu0  imu1  stereo  tracking
                    

                    If you don't see those directories then the problem is somewhere else.

                    1 Reply Last reply Reply Quote 0
                    • D
                      Dean Fortier
                      last edited by 2 Apr 2021, 17:39

                      @Eric-Katzfey Thanks for the explanation, I was not starting the voxl-camera-server before.

                      When I started the voxl-camera-server, I had my camera configuration include the tracking camera which stopped the voxl-camera-server from starting correctly.

                      Once I changed my camera configuration with voxl-configure-cameras to "hires only" I was able to start the camera server and then start the voxl-streamer as well.

                      1 Reply Last reply Reply Quote 0
                      • G
                        Gaurav Borade @Eric Katzfey
                        last edited by 18 Jun 2021, 11:40

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Powered by NodeBB | Contributors