• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
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
    337
    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 6 Oct 2023, 15:01

      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.

      E 1 Reply Last reply 6 Oct 2023, 15:03 Reply Quote 0
      • E
        Eric Katzfey ModalAI Team @martongonczy
        last edited by 6 Oct 2023, 15:03

        @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 10 Oct 2023, 15:07 Reply Quote 0
        • M
          martongonczy @Eric Katzfey
          last edited by 10 Oct 2023, 15:07

          @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?

          M 1 Reply Last reply 10 Oct 2023, 15:29 Reply Quote 0
          • M
            Moderator ModalAI Team @martongonczy
            last edited by 10 Oct 2023, 15:29

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

            M 1 Reply Last reply 29 Oct 2023, 14:36 Reply Quote 0
            • M
              martongonczy @Moderator
              last edited by 29 Oct 2023, 14:36

              @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