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. Error in Camera Server when trying to use TOF Sensor

Error in Camera Server when trying to use TOF Sensor

Scheduled Pinned Locked Moved Ask your questions right here!
5 Posts 3 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.
  • danielhD Offline
    danielhD Offline
    danielh
    wrote on last edited by danielh
    #1

    Hi, System is currently on 3.2.0. When connecting the TOF and configuring it, camera server almost always dies on start-up with the following error. Physical connection seems to be fine! Is there some docs on camera server errors?
    photo_2021-06-28_21-24-09.jpg

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Hi Daniel,
      This definitely looks like a connection issue. Even if there are no visible breaks in the cable, this can be caused by a number of other issues, such as the cable being plugged in the wrong way or a fold in the cable. Can you send a picture of your tof cable setup.

      1 Reply Last reply
      0
      • danielhD Offline
        danielhD Offline
        danielh
        wrote on last edited by
        #3

        @Alex-Gardner
        Sorry for the late answer, just got back to working on this stuff. After getting this error again and restarting voxl a few times, I'm now getting a seg fault everytime I try to start camera server. I included the segfault and the connection in the pictures. Same error happens when I don't use the extension cable.
        segfault.jpeg
        cable.jpeg

        1 Reply Last reply
        0
        • P Offline
          P Offline
          plusk01
          Contributor
          wrote on last edited by
          #4

          I've also been seeing this behaviour (system img 3.3) when using TOF - particularly when other cameras are also enabled (via voxl-configure-cameras)

          Like @danielh's first picture, i have seen error code -19 and also 4 and 2, all from TOF camera - these seem to be from mmqcamera / hal3 camera manager -- is there any documentation on what these error codes correspond to?

          I'll also note that i had neither fan nor heat sink and noticed a potential correlation with the error and high cpu temps

          1 Reply Last reply
          0
          • ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #5

            The segfault error is an error that occurs when closing camera server, not while it's running. This is happening immediately after running camera server because systemctl detected the segfault and tried to rerun camera server (thus closing yours since only one instance of camera server can be running at a time). If you want to run camera server manually, make sure to run systemctl stop(or kill) voxl-camera-server first to make sure there's no background conflict.

            The generic hal3 error codes can be found here, the -19 is a qualcomm specific one that we've found to be equivalent to ERROR_DEVICE (though we have been unable to find its proper definition), and has indicated that there is an error with the device and it will be unable to process any more requests.

            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