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

ModalAI Forum

  1. ModalAI Support Forum
  2. Development Drones
  3. RB5 drone goes to a different height than I input

RB5 drone goes to a different height than I input

Scheduled Pinned Locked Moved Unsolved Development Drones
rb5
12 Posts 3 Posters 2.1k 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.
  • A Offline
    A Offline
    Advait Pandit
    Contributor
    wrote on last edited by
    #1

    When I give a takeoff command to RB5 drone using QGC and set a particular height (in meters), it does not go to the set height but always ends up going to what I am assuming is the default height. This causes major issues as I my lab is underground and the drone has hit the top of the the safety net and dropped a couple of times. Can you please advise me on this.

    Thank you!

    Advait P

    Eric KatzfeyE 1 Reply Last reply
    0
    • A Advait Pandit

      When I give a takeoff command to RB5 drone using QGC and set a particular height (in meters), it does not go to the set height but always ends up going to what I am assuming is the default height. This causes major issues as I my lab is underground and the drone has hit the top of the the safety net and dropped a couple of times. Can you please advise me on this.

      Thank you!

      Advait P

      Eric KatzfeyE Offline
      Eric KatzfeyE Offline
      Eric Katzfey
      ModalAI Team
      wrote on last edited by
      #2

      @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
      0
      • Eric KatzfeyE Eric Katzfey

        @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 Offline
        A Offline
        Advait Pandit
        Contributor
        wrote on last edited by
        #3

        @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

        Eric KatzfeyE 1 Reply Last reply
        0
        • A Advait Pandit

          @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

          Eric KatzfeyE Offline
          Eric KatzfeyE Offline
          Eric Katzfey
          ModalAI Team
          wrote on last edited by
          #4

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

          A 1 Reply Last reply
          0
          • Eric KatzfeyE Eric Katzfey

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

            A Offline
            A Offline
            Advait Pandit
            Contributor
            wrote on last edited by
            #5

            @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

            tomT Eric KatzfeyE 2 Replies Last reply
            0
            • A Advait Pandit

              @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

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

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

              A 1 Reply Last reply
              1
              • A Advait Pandit

                @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

                Eric KatzfeyE Offline
                Eric KatzfeyE Offline
                Eric Katzfey
                ModalAI Team
                wrote on last edited by
                #7

                @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
                0
                • tomT tom

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

                  A Offline
                  A Offline
                  Advait Pandit
                  Contributor
                  wrote on last edited by
                  #8

                  @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

                  tomT Eric KatzfeyE 3 Replies Last reply
                  0
                  • A Advait Pandit

                    @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

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

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

                    1 Reply Last reply
                    0
                    • A Advait Pandit

                      @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

                      Eric KatzfeyE Offline
                      Eric KatzfeyE Offline
                      Eric Katzfey
                      ModalAI Team
                      wrote on last edited by
                      #10

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

                      1 Reply Last reply
                      0
                      • A Advait Pandit

                        @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

                        Eric KatzfeyE Offline
                        Eric KatzfeyE Offline
                        Eric Katzfey
                        ModalAI Team
                        wrote on last edited by
                        #11

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

                        A 1 Reply Last reply
                        0
                        • Eric KatzfeyE Eric Katzfey

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

                          A Offline
                          A Offline
                          Advait Pandit
                          Contributor
                          wrote on last edited by
                          #12

                          @Eric-Katzfey

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

                          1 Reply Last reply
                          0

                          Reading along? Create a free ModalAI Forum account to join in.

                          With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.

                          Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.

                          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