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

    RB5 drone goes to a different height than I input

    Qualcomm Flight RB5 5G Drone
    3
    12
    525
    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.
    • E
      Eric Katzfey ModalAI Team @Advait Pandit
      last edited by 2 Apr 2024, 15:11

      @Advait-Pandit I'm guessing that this could be more of a PX4 issue than an RB5 issue so I would recommend also posting this on the PX4 forum to see if you can get some feedback there. Also, I would recommend trying your scenario using HITL testing first to make sure everything works as expected. If it works fine in HITL but not during an actual flight then perhaps there is an RB5 issue. https://docs.modalai.com/voxl2-PX4-hitl/

      A 1 Reply Last reply 2 Apr 2024, 17:10 Reply Quote 0
      • A
        Advait Pandit @Eric Katzfey
        last edited by 2 Apr 2024, 17:10

        @Eric-Katzfey

        Thank you Eric, I will also post this on the PX4 forum. Would you suggest putting the mavsdk script directly onto the drone to avoid errors/latency issues due to a udp/tcp connection? Is there a way to execute a script on the drone without connecting it with a usb cable. Thanks!

        Kind regards,

        Advait P

        E 1 Reply Last reply 3 Apr 2024, 15:03 Reply Quote 0
        • E
          Eric Katzfey ModalAI Team @Advait Pandit
          last edited by 3 Apr 2024, 15:03

          @Advait-Pandit You can certainly run mavsdk directly on the drone.

          A 1 Reply Last reply 3 Apr 2024, 17:46 Reply Quote 0
          • A
            Advait Pandit @Eric Katzfey
            last edited by 3 Apr 2024, 17:46

            @Eric-Katzfey

            Great, so how can I remotely trigger this script on the drone? I successfully pushed the script using 'adb push' onto the drone's file system but this obviously required a usb connection. Given that the drone needs to run a good distance away, I would need a way to 'adb shell' onto the drone without a usb cable, how could I do that?

            Thanks,

            Advait P

            T E 2 Replies Last reply 3 Apr 2024, 19:04 Reply Quote 0
            • T
              tom admin @Advait Pandit
              last edited by 3 Apr 2024, 19:04

              @Advait-Pandit If you have a network connection i.e. WiFi you can ssh onto the drone

              A 1 Reply Last reply 3 Apr 2024, 21:30 Reply Quote 1
              • E
                Eric Katzfey ModalAI Team @Advait Pandit
                last edited by 3 Apr 2024, 20:35

                @Advait-Pandit I would very strongly recommend testing all this with HITL first. Then try it on a real flight when it is working as expected.

                1 Reply Last reply Reply Quote 0
                • A
                  Advait Pandit @tom
                  last edited by 3 Apr 2024, 21:30

                  @tom

                  Thank you, I was able to ssh onto the drone via wifi. There is an issue with packages when trying to work with python scripts. I can't download python packages using pip even after creating a virtual environment. I get the error: -bash: pip: command not found

                  Kind regards,

                  Advait P

                  T E 3 Replies Last reply 3 Apr 2024, 21:32 Reply Quote 0
                  • T
                    tom admin @Advait Pandit
                    last edited by 3 Apr 2024, 21:32

                    @Advait-Pandit I think we only use pip3. I can't speak on venvs

                    1 Reply Last reply Reply Quote 0
                    • E
                      Eric Katzfey ModalAI Team @Advait Pandit
                      last edited by 4 Apr 2024, 15:36

                      @Advait-Pandit It's much easier to use mavsdk inside a docker container where you can configure the proper environment.

                      1 Reply Last reply Reply Quote 0
                      • E
                        Eric Katzfey ModalAI Team @Advait Pandit
                        last edited by 4 Apr 2024, 15:37

                        @Advait-Pandit Here is some documentation: https://docs.modalai.com/mavsdk/

                        A 1 Reply Last reply 4 Apr 2024, 22:38 Reply Quote 0
                        • A
                          Advait Pandit @Eric Katzfey
                          last edited by 4 Apr 2024, 22:38

                          @Eric-Katzfey

                          Thank you for the advise, I will take a look!

                          1 Reply Last reply Reply Quote 0
                          2 out of 12
                          • First post
                            2/12
                            Last post
                          Powered by NodeBB | Contributors