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

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. Failsafe Landing bug in PX4 1.14?

Failsafe Landing bug in PX4 1.14?

Scheduled Pinned Locked Moved Ask your questions right here!
21 Posts 3 Posters 6.3k 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.
  • Eric KatzfeyE Eric Katzfey

    @hmlow We did a quick check with HITL simulation but in that case the landing is perfectly straight down every time. So we need to have our flight team recreate this with a real drone to see if it can be replicated but that will take a few days for them to get to it.

    H Offline
    H Offline
    hmlow
    Regular
    wrote on last edited by
    #10

    @Eric-Katzfey Thanks keep me posted

    Eric KatzfeyE 2 Replies Last reply
    0
    • H hmlow

      @Eric-Katzfey Thanks keep me posted

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

      @hmlow Our flight team was able to recreate the issue today. Now we just need to figure out what is causing that to happen.

      1 Reply Last reply
      0
      • H hmlow

        @Eric-Katzfey Thanks keep me posted

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

        @hmlow This seems like a fundamental bug in PX4 when dealing with EV modes so we're working with the PX4 developers to figure out who and how this will be addressed.

        H 2 Replies Last reply
        0
        • Eric KatzfeyE Eric Katzfey

          @hmlow This seems like a fundamental bug in PX4 when dealing with EV modes so we're working with the PX4 developers to figure out who and how this will be addressed.

          H Offline
          H Offline
          hmlow
          Regular
          wrote on last edited by
          #13

          @Eric-Katzfey thanks for the update. At least the issue has been identified. Looking forward to some fixes in the near future..

          1 Reply Last reply
          0
          • Eric KatzfeyE Eric Katzfey

            @hmlow This seems like a fundamental bug in PX4 when dealing with EV modes so we're working with the PX4 developers to figure out who and how this will be addressed.

            H Offline
            H Offline
            hmlow
            Regular
            wrote on last edited by
            #14

            @Eric-Katzfey hi. Any progress on this?
            Thanks

            Eric KatzfeyE 2 Replies Last reply
            0
            • H hmlow

              @Eric-Katzfey hi. Any progress on this?
              Thanks

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

              @hmlow Not really. I don't think anyone in the px4 community has time to assist on this so it's going to be up to ModalAI to fix it. Unfortunately, I can't offer any estimate on when we will be able to resolve this yet.

              1 Reply Last reply
              0
              • H hmlow

                @Eric-Katzfey hi. Any progress on this?
                Thanks

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

                @hmlow I have been able to recreate the issue in HITL with the Gazebo simulator so that should help with testing and investigation on this issue.

                H 1 Reply Last reply
                0
                • Eric KatzfeyE Eric Katzfey

                  @hmlow I have been able to recreate the issue in HITL with the Gazebo simulator so that should help with testing and investigation on this issue.

                  H Offline
                  H Offline
                  hmlow
                  Regular
                  wrote on last edited by
                  #17

                  @Eric-Katzfey that's good. Looking forward to the fix

                  Eric KatzfeyE 2 Replies Last reply
                  0
                  • H hmlow

                    @Eric-Katzfey that's good. Looking forward to the fix

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

                    @hmlow This fixes it in HITL:

                    diff --git a/src/modules/navigator/mission_block.cpp b/src/modules/navigator/mission_block.cpp
                    index 565b2f2150..ac36732214 100644
                    --- a/src/modules/navigator/mission_block.cpp
                    +++ b/src/modules/navigator/mission_block.cpp
                    @@ -664,8 +664,8 @@ MissionBlock::mission_item_to_position_setpoint(const mission_item_s &item, posi
                                    return false;
                            }
                     
                    -       sp->lat = item.lat;
                    -       sp->lon = item.lon;
                    +       sp->lat = static_cast<double>(NAN);
                    +       sp->lon = static_cast<double>(NAN);
                            sp->alt = get_absolute_altitude_for_item(item);
                            sp->yaw = item.yaw;
                            sp->yaw_valid = PX4_ISFINITE(item.yaw);```
                    1 Reply Last reply
                    0
                    • H hmlow

                      @Eric-Katzfey that's good. Looking forward to the fix

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

                      @hmlow But that probably only works for VIO mode. Not sure what it would do in GPS mode. So it isn't a fix that will be acceptable for general use. So it still needs more work but that is the heart of the issue.

                      S 1 Reply Last reply
                      0
                      • Eric KatzfeyE Eric Katzfey referenced this topic on
                      • LaborzaubererTHIL LaborzaubererTHI referenced this topic on
                      • Eric KatzfeyE Eric Katzfey

                        @hmlow But that probably only works for VIO mode. Not sure what it would do in GPS mode. So it isn't a fix that will be acceptable for general use. So it still needs more work but that is the heart of the issue.

                        S Offline
                        S Offline
                        swickliff
                        Contributor
                        wrote on last edited by
                        #20

                        @Eric-Katzfey Has any testing been done with this fix in GPS mode?

                        Eric KatzfeyE 1 Reply Last reply
                        0
                        • S swickliff

                          @Eric-Katzfey Has any testing been done with this fix in GPS mode?

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

                          @swickliff No, it hasn't. Supposedly all of this is fixed in latest mainline but we haven't tested it. But we do have a mainline build available to try: http://voxl-packages.modalai.com/dists/qrb5165/dev/binary-arm64/voxl-mainline-px4_1.16.0-1.0.0-202502271326_arm64.deb

                          1 Reply Last reply
                          0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          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