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

    Error when running voxl-cross image on Voxl2

    Ask your questions right here!
    3
    5
    334
    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.
    • M
      martongonczy
      last edited by

      Hi,
      I am trying to run the voxl-cross image on the Voxl2 but after I push the image to the drone and try to run it I get this message.

      3e79c9c9-ca98-401c-a7f1-88c43829672c-image.png

      I only added a few lines to the Dockerfile (to have opencv and numpy) and changed the build command to be compatible with the target environment (linux/arm64/v8) as I had that error originally.

      Does someone know what the problem could be? I cannot find any information about this on the internet.

      Eric KatzfeyE 1 Reply Last reply Reply Quote 0
      • Eric KatzfeyE
        Eric Katzfey ModalAI Team @martongonczy
        last edited by

        @martongonczy voxl-cross is a docker image you run on your host machine. It has a cross compiler to build applications to run on voxl. On voxl2 you have native compilers installed and don't need a docker.

        M 1 Reply Last reply Reply Quote 0
        • M
          martongonczy @Eric Katzfey
          last edited by

          @Eric-Katzfey Thank you for your reply.

          So if I want to have OpenCV and Numpy installed on the drone I have to download it directly onto the drone without using Docker?

          ModeratorM 1 Reply Last reply Reply Quote 0
          • ModeratorM
            Moderator ModalAI Team @martongonczy
            last edited by

            @martongonczy OpenCV is already installed on VOXL 2. numpy would require you to install it

            M 1 Reply Last reply Reply Quote 0
            • M
              martongonczy @Moderator
              last edited by

              @Moderator thank you for your help. When I run cmake it throws an error saying that it cannot locate OpenCV, I am using

              Find the OpenCV package

              find_package(OpenCV REQUIRED)
              include_directories( ${OpenCV_INCLUDE_DIRS} )

              This is from the OpenCV documentation but it does not work for me. What could be the solution?

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Powered by NodeBB | Contributors