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

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL Dev Kits
  3. VOXL-CAM
  4. voxl-camera-server can only run two cameras at a time

voxl-camera-server can only run two cameras at a time

Scheduled Pinned Locked Moved VOXL-CAM
3 Posts 2 Posters 1.0k 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.
  • M Offline
    M Offline
    mrawding
    wrote on last edited by mrawding
    #1

    Hello,

    I've adapted voxl-cam-server to ROS2 and directly pass data into ROS messages instead the pipe architectures.

    I am using the exact same API and function calls that you do in hal3_camera_mngr.cpp and hal3_camera_core.cpp.

    To construct the perCameraInfo fields I use the camera_defaults.cpp. I have gotten the program to work seamlessly with two cameras at once. i.e, stereo/hires, hires/tracking, tracking/stereo. However, when running all three I receive this error for the last camera initialized in the hal3 message callback, the first two work as expected.

    voxl-camera-server ERROR: Error sending request 0, ErrorCode: -1
    
    voxl-camera-server FATAL: Recieved Fatal error from camera: stereo
                              Camera server will be stopped
    voxl-camera-server ERROR: Error sending request 1, ErrorCode: -1
    
    voxl-camera-server FATAL: Recieved Fatal error from camera: stereo
                              Camera server will be stopped
    voxl-camera-server ERROR: Error sending request 2, ErrorCode: -1
    

    I am hoping someone could divulge some information about this specific error code, and what I can do in the configuration to change it. It seems like the camera module reports the camera ID's to be 0 (hires), 1 (tracking), 2 (stereo).

    Of course, if you are interested in ROS2 code, I can share that too.

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

      The main thing that I could think might be causing this in software is the start order of the cameras, they need to be started in the order of tracking->hires->stereo. Can you run the standard voxl-camera-server successfully? If not it may be a hardware issue.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mrawding
        wrote on last edited by mrawding
        #3

        Yes,

        I've tried tracking->hires->stereo, that does not work. How would it be hardware if each of the cameras can run fine on their own and any combination of the two work at the same time?

        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