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

    voxl-mapper/planner for a Seeker drone

    Ask your questions right here!
    2
    25
    1.3k
    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.
    • P
      Pooyan
      last edited by Pooyan 5 Feb 2024, 17:46 5 Feb 2024, 17:26

      Hello all,

      I am doing the voxl-mapper/planner for a Seeker drone using the following repository:

      [https://gitlab.com/voxl-public/voxl-sdk/services/voxl-mapper/-/tree/master?ref_type=heads](link url)

      I am done with all of the steps provided there, but when I run the voxl-mapper I get the following error constantly:

      ERROR validating TOF2 data received through pipe: read partial packet
      read 693516 bytes, but it should be a multiple of 693516
      make sure you are using a recent voxl-camera-server that publishes a tof2_data_t type
      it's likely you are using an old voxl-camera-server

      I have done the following commands to update camera-server, and I got a massage about being updated to the final version:

      c0c5ea06-5d3e-4f3d-a702-a1f4fe89c125-image.png

      03618296-462a-4d5d-9a3a-8e0ac83313b0-image.png
      e12b02a9-87ec-46d0-b185-1537ec873b26-image.png

      I would appreciate it if you could give me some hints.

      @tom, can you take a look please.

      T 1 Reply Last reply 5 Feb 2024, 18:01 Reply Quote 0
      • T
        tom admin @Pooyan
        last edited by 5 Feb 2024, 18:01

        @Pooyan What SDK are you using? You can see this with voxl-version

        P 1 Reply Last reply 5 Feb 2024, 18:13 Reply Quote 0
        • P
          Pooyan @tom
          last edited by 5 Feb 2024, 18:13

          @tom thank you for your reply.

          It is 0.9.5

          T 1 Reply Last reply 5 Feb 2024, 18:15 Reply Quote 0
          • T
            tom admin @Pooyan
            last edited by 5 Feb 2024, 18:15

            @Pooyan Okay you can't mix and match packages like that. voxl-camera-server from dev can't be used with SDK 0.9.5.

            You need to use SDK 1.1.2 and use the packages as they come, not pull in others, it won't work

            P 2 Replies Last reply 5 Feb 2024, 19:35 Reply Quote 0
            • P
              Pooyan @tom
              last edited by 5 Feb 2024, 19:35

              @tom yes, thanks. But, is there any other version I could use to fit the Camera-Server on the SDK version that I have?

              T 1 Reply Last reply 5 Feb 2024, 20:00 Reply Quote 0
              • T
                tom admin @Pooyan
                last edited by 5 Feb 2024, 20:00

                @Pooyan No, the only voxl-camera-server package compatible with that SDK would be the one installed with it.

                Why are you trying to change versions?

                P 3 Replies Last reply 5 Feb 2024, 20:56 Reply Quote 0
                • P
                  Pooyan @tom
                  last edited by 5 Feb 2024, 20:56

                  @tom I don't want to change any versions, but as you said I need to update the SDK, I was wondering maybe I could solve the problem with no upgrading SDK, but using another version of Camera-server.

                  The thing is that it used to work for sure when you were working on 0.9.5 version. That is why I was asking.

                  1 Reply Last reply Reply Quote 0
                  • P
                    Pooyan @tom
                    last edited by 5 Feb 2024, 22:37

                    @tom is there any way to have voxl-mapper on the SDK 0.9.5?

                    I am trying to upgrade another Seeker, so in the mean time I was wondering if I could proceed with this one.

                    1 Reply Last reply Reply Quote 0
                    • P
                      Pooyan @tom
                      last edited by 5 Feb 2024, 22:49

                      @tom I am just putting the versioning as well, in case there is anything you wanted to see:
                      06889cb0-7bbe-4104-97b6-0d3adec06f84-image.png

                      T 1 Reply Last reply 5 Feb 2024, 23:24 Reply Quote 0
                      • T
                        tom admin @Pooyan
                        last edited by 5 Feb 2024, 23:24

                        @Pooyan We can really only offer support with the latest SDK, you can read through the SDK 0.9 docs here if you'd like to see our old docs: https://docs.modalai.com/voxl-sdk-0_9/

                        This is the voxl-mapper section based on SDK 0.9.5 https://docs.modalai.com/voxl-mapper-0_9/

                        P 2 Replies Last reply 6 Feb 2024, 15:56 Reply Quote 0
                        • P
                          Pooyan @tom
                          last edited by 6 Feb 2024, 15:56

                          @tom Thank you so much for the reply and information. I understand that for sure.

                          1 Reply Last reply Reply Quote 0
                          • P
                            Pooyan @tom
                            last edited by 6 Feb 2024, 17:41

                            @tom Now I have upgrade SDK to 1.1.2, and did everything again through this link:
                            https://gitlab.com/voxl-public/voxl-sdk/services/voxl-mapper/-/tree/master?ref_type=heads

                            The thing is that the voxl-mapper is Enabled but not running and when I am trying the voxl-mapper command, I get the following error:
                            4241c0a9-0e68-4bf8-b14c-fff1e486d89f-image.png
                            I would appreciate it if you could give me some hint on this.
                            Thank you so much.

                            P 1 Reply Last reply 7 Feb 2024, 21:29 Reply Quote 0
                            • P
                              Pooyan @Pooyan
                              last edited by 7 Feb 2024, 21:29

                              @Pooyan there was an internet connection issue and after that I used "opkg update && opkg upgrade", and then "opkg install voxl-portal voxl-mapper " for installing mapper again and now this problem is solved.

                              1 Reply Last reply Reply Quote 0
                              • P
                                Pooyan @tom
                                last edited by Pooyan 7 Feb 2024, 22:14 7 Feb 2024, 21:34

                                @tom Hello again,

                                The SDK was updated to 1.2.0 and it was because of putting the configure-opkg on dev as it was said in the GitLab voxl-mapper link. I went through every steps in the following link again. Do you have any idea about what I can do?
                                https://gitlab.com/voxl-public/voxl-sdk/services/voxl-mapper
                                6cb6a586-f848-41e3-9038-b4ceef09d8a6.jpg
                                as you can see, when I run the "voxl-mapper", I get the following errors and it keeps repeating.

                                Thank you so much for your help.

                                P 1 Reply Last reply 8 Feb 2024, 00:40 Reply Quote 0
                                • P
                                  Pooyan @Pooyan
                                  last edited by 8 Feb 2024, 00:40

                                  @tom Again I changed the version to 1.1.2 and got the same issue about loading shared libraries: libvoxblox.so. So I want to explain more what I do in case you could help me better.
                                  I have included the screenshot as well.
                                  Screenshot from 2024-02-07 18-23-182.jpg
                                  When I push the built mapper to voxl I get the following error as well. I wanted to show that to you as well:
                                  Screenshot from 2024-02-07 18-23-18.jpg
                                  The codes I use to do that are as follow:
                                  git clone https://gitlab.com/voxl-public/voxl-sdk/services/voxl-mapper.git
                                  ./install_build_deps.sh APQ8096 dev
                                  ./build.sh apq8096
                                  ./make_package.sh ipk
                                  ./deploy_to_voxl.sh

                                  I would appreciate it if you could give me any hints on this.

                                  T 1 Reply Last reply 8 Feb 2024, 00:52 Reply Quote 0
                                  • T
                                    tom admin @Pooyan
                                    last edited by 8 Feb 2024, 00:52

                                    @Pooyan After a fresh flash using the release and ./install.sh if you adb on and run opkg install voxl-mapper and then run voxl-mapper what happens?

                                    P 1 Reply Last reply 9 Feb 2024, 17:51 Reply Quote 0
                                    • P
                                      Pooyan @tom
                                      last edited by 9 Feb 2024, 17:51

                                      @tom I have just flashed it again and before anything else I did opkg install voxl-mapper and I got this:

                                      Screenshot from 2024-02-09 10-29-17.png

                                      I did it when the seeker is connected to the internet and the adb cable is connected, and I got this:

                                      726564fb-3d01-49b2-85ff-dc879297114a.jpg

                                      Still I didn't even install the FC2 through QGC or doing anything else.

                                      T 1 Reply Last reply 9 Feb 2024, 18:00 Reply Quote 0
                                      • T
                                        tom admin @Pooyan
                                        last edited by 9 Feb 2024, 18:00

                                        @Pooyan Oh sorry, on voxl run opkg install /data/voxl-suite-offline-packages/voxl-mapper*.ipk

                                        P 1 Reply Last reply 9 Feb 2024, 18:02 Reply Quote 0
                                        • P
                                          Pooyan @tom
                                          last edited by 9 Feb 2024, 18:02

                                          @tom thank you for the command. I get this now:
                                          2525b057-6d1a-4c04-8692-6aa56c4783cd.jpg

                                          T 1 Reply Last reply 9 Feb 2024, 18:06 Reply Quote 0
                                          • T
                                            tom admin @Pooyan
                                            last edited by tom 9 Feb 2024, 18:06 9 Feb 2024, 18:06

                                            @Pooyan Okay you'll just have to install the dependencies in the same way. I just did this on my voxl1:

                                            cd /data/voxl-suite-offline-packages/
                                            opkg install voxl-ceres-solver_2\:1.14.0-10.ipk 
                                            opkg install voxl-nlopt_2.5.0-4.ipk 
                                            opkg install voxl-voxblox_1.1.5.ipk 
                                            opkg install voxl-mapper_0.2.0.ipk
                                            
                                            P 1 Reply Last reply 9 Feb 2024, 18:21 Reply Quote 0
                                            1 out of 25
                                            • First post
                                              1/25
                                              Last post
                                            Powered by NodeBB | Contributors