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

    Error in Camera Server when trying to use TOF Sensor

    Ask your questions right here!
    3
    5
    411
    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.
    • D
      danielh
      last edited by danielh 28 Jun 2021, 19:26 28 Jun 2021, 19:25

      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 Reply Quote 0
      • ?
        A Former User
        last edited by 29 Jun 2021, 18:23

        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 Reply Quote 0
        • D
          danielh
          last edited by 14 Jul 2021, 10:22

          @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 Reply Quote 0
          • P
            plusk01
            last edited by 14 Jul 2021, 16:11

            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 Reply Quote 0
            • ?
              A Former User
              last edited by 14 Jul 2021, 16:42

              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 Reply Quote 0
              • First post
                Last post
              Powered by NodeBB | Contributors