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

ModalAI Forum

  1. ModalAI Support Forum
  2. Software Development
  3. ROS
  4. Issue with ros-melodic-cv-bridge and voxl-vision-hub conflict on VOXL2

Issue with ros-melodic-cv-bridge and voxl-vision-hub conflict on VOXL2

Scheduled Pinned Locked Moved ROS
8 Posts 4 Posters 2.7k Views 2 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.
  • dleeD Offline
    dleeD Offline
    dlee
    Regular
    wrote on last edited by
    #1

    Hello,

    I am currently working in a VOXL2 board (Ubuntu 18.04 environment with ROS Melodic). I have been attempting to install ros-melodic-cv-bridge sudo apt install ros-melodic-cv-bridge. However, I've encountered a problem where installing cv-bridge leads to the removal of voxl-vision-hub, rendering my camera unusable. Conversely, installing voxl-vision-hub results in the inability to use cv-bridge.

    I was wondering if anyone has encountered a similar issue or has any suggestions for resolving this conflict between ros-melodic-cv-bridge and voxl-vision-hub. Any guidance or solution would be greatly appreciated.

    Thank you!

    tomT 1 Reply Last reply
    0
    • dleeD dlee

      Hello,

      I am currently working in a VOXL2 board (Ubuntu 18.04 environment with ROS Melodic). I have been attempting to install ros-melodic-cv-bridge sudo apt install ros-melodic-cv-bridge. However, I've encountered a problem where installing cv-bridge leads to the removal of voxl-vision-hub, rendering my camera unusable. Conversely, installing voxl-vision-hub results in the inability to use cv-bridge.

      I was wondering if anyone has encountered a similar issue or has any suggestions for resolving this conflict between ros-melodic-cv-bridge and voxl-vision-hub. Any guidance or solution would be greatly appreciated.

      Thank you!

      tomT Offline
      tomT Offline
      tom
      admin
      wrote on last edited by
      #2

      @dlee What SDK version are you running on your voxl2? You can check this with voxl-version

      dleeD 1 Reply Last reply
      0
      • tomT tom

        @dlee What SDK version are you running on your voxl2? You can check this with voxl-version

        dleeD Offline
        dleeD Offline
        dlee
        Regular
        wrote on last edited by
        #3

        @tom I am using 1.1.2 latest version.

        1 Reply Last reply
        0
        • Zachary Lowell 0Z Offline
          Zachary Lowell 0Z Offline
          Zachary Lowell 0
          ModalAI Team
          wrote on last edited by
          #4

          Hi @dlee - this is purposeful. The voxl2 uses a ton of dependencies on a specific build of opencv - so by installing ros-melodic-cv-bridge (which you should NOT even be able to do due to dependency conflicts) you break a lot of what is dependent on that build of opencv, including vision-hub. The ros melodic which is on target is the minimal build, meaning opencv isnt installed due to those specific conflicts above.

          You can always try installing it from source and pointing the third party instead of downloading it in sudo. My other recommendation would be to upgrade to ros2 foxy which is already on target.

          https://github.com/ros-perception/vision_opencv/tree/melodic <-- here is the link to to melodic cv bridge. LMK if that helps!

          dleeD 1 Reply Last reply
          2
          • Zachary Lowell 0Z Offline
            Zachary Lowell 0Z Offline
            Zachary Lowell 0
            ModalAI Team
            wrote on last edited by
            #5

            The other option as well is to use a docker image running ros melodic and cv bridge already on it so you do not get conflicts with what is on target!

            1 Reply Last reply
            0
            • Zachary Lowell 0Z Zachary Lowell 0

              Hi @dlee - this is purposeful. The voxl2 uses a ton of dependencies on a specific build of opencv - so by installing ros-melodic-cv-bridge (which you should NOT even be able to do due to dependency conflicts) you break a lot of what is dependent on that build of opencv, including vision-hub. The ros melodic which is on target is the minimal build, meaning opencv isnt installed due to those specific conflicts above.

              You can always try installing it from source and pointing the third party instead of downloading it in sudo. My other recommendation would be to upgrade to ros2 foxy which is already on target.

              https://github.com/ros-perception/vision_opencv/tree/melodic <-- here is the link to to melodic cv bridge. LMK if that helps!

              dleeD Offline
              dleeD Offline
              dlee
              Regular
              wrote on last edited by
              #6

              Thanks a lot, @Zachary-Lowell-0.
              I didn't want to use docker images, so I used vision_opencv.
              Because the melodic branch required OpenCV 3, I built the package at the noetic branch.

              1 Reply Last reply
              0
              • S Offline
                S Offline
                smilon
                Contributor
                wrote on last edited by
                #7

                Hi i've faced the same issue! Was wondering where voxl-vision-hub went ^^

                How can we get it back on the system? @Zachary-Lowell-0

                Screenshot from 2024-01-17 18-10-28.png

                1 Reply Last reply
                0
                • Zachary Lowell 0Z Offline
                  Zachary Lowell 0Z Offline
                  Zachary Lowell 0
                  ModalAI Team
                  wrote on last edited by
                  #8

                  Hi @dlee and @smilon so if you are installing your vision_opencv into sudo, then the conflicts will wipe out a ton of MPA and SDK programs. This is highly recommended NOT to be done. Instead either use docker, or leverage the package as a third party in a virtual environment or something along that nature.

                  voxl-vision-hub should be on target from the SDK installation:

                  voxl2:/$ sudo apt-get install voxl-vision-hub
                  Reading package lists... Done
                  Building dependency tree       
                  Reading state information... Done
                  voxl-vision-hub is already the newest version (1.7.3).
                  voxl-vision-hub set to manually installed.
                  0 upgraded, 0 newly installed, 0 to remove and 37 not upgraded.
                  1 not fully installed or removed.
                  After this operation, 0 B of additional disk space will be used.
                  

                  However, most likely had the deb wiped or reconfigured when installing the opencv you were trying to leverage. Provided you guys are on sdk 1.1.2, you can just go into the tarball that has since been untarred and adb push the voxl-suite/voxl-vision-hub deb to the voxl2 and then do a sudo dpkg -i voxl-vision-hubXXXDEB - that will install it back onto the system. The other option is to either reflash or do a sudo apt-get upgrade which would pull the most recent debs from the modalAI apt repository on the cloud.

                  Let me know if this helps either of you!

                  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