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

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL Compute & Autopilot
  3. VOXL 2
  4. avoidance collision prevention disabled

avoidance collision prevention disabled

Scheduled Pinned Locked Moved VOXL 2
41 Posts 4 Posters 16.6k Views 1 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.
  • Cliff WongC Cliff Wong

    @AP123 Hey there. Are you running VOA against a stereo camera pair or via a ToF sensor?

    If you run voxl-inspect-points voa_pc_out and see data, then the voxl2 SDK services are good and generating the correct mavlink obstacle distance points to PX4. If not then there's a configuration issue.

    If that is good, then you need to make sure PX4 has
    MPC_POS_MODE = Simple pos control or smooth pos control, COM_OBS_AVOID is enabled, CP_DIST > 0 (e.g. 2) and you must have an established home position (or good position from qvio if that is the case). Typically an "obstacle system not ready" is due to the MPC_POS_MODE (I think we default to acceleration-based input).

    If all those check out, then it's likely missing a home position requirement in PX4 & not voxl, and we'll need to look that up.

    ? Offline
    ? Offline
    A Former User
    wrote on last edited by A Former User
    #31
    This post is deleted!
    tomT 1 Reply Last reply
    0
    • ? A Former User

      This post is deleted!

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

      @AP123 We just released SDK 1.1 yesterday which contains a few months worth of bug fixes, I would recommend loading that and seeing if your issue is resolved

      ? 1 Reply Last reply
      0
      • tomT tom

        @AP123 We just released SDK 1.1 yesterday which contains a few months worth of bug fixes, I would recommend loading that and seeing if your issue is resolved

        ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #33
        This post is deleted!
        tomT 1 Reply Last reply
        0
        • ? A Former User

          This post is deleted!

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

          @AP123 No, didn't realize you were tackling that as well. M0065 PWM support will be in SDK 1.1.1 and we're actively polishing / testing that release and hope to have it out in the next couple weeks

          ? 1 Reply Last reply
          0
          • tomT tom

            @AP123 No, didn't realize you were tackling that as well. M0065 PWM support will be in SDK 1.1.1 and we're actively polishing / testing that release and hope to have it out in the next couple weeks

            ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #35
            This post is deleted!
            tomT 1 Reply Last reply
            0
            • ? A Former User

              This post is deleted!

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

              @AP123 We don't have any known issues with the 4 in 1 escs. If you have an issue can you open a new thread?

              ? 1 Reply Last reply
              0
              • tomT tom

                @AP123 We don't have any known issues with the 4 in 1 escs. If you have an issue can you open a new thread?

                ? Offline
                ? Offline
                A Former User
                wrote on last edited by
                #37
                This post is deleted!
                wilkinsafW 1 Reply Last reply
                0
                • ? A Former User

                  This post is deleted!

                  wilkinsafW Offline
                  wilkinsafW Offline
                  wilkinsaf
                  ModalAI Team
                  wrote on last edited by
                  #38

                  @AP123 This is a shot in the dark, but can you turn off your GPS and Mag and see if that works. We tried to do collision prevention with GPS on and we were getting these errors

                  ? 1 Reply Last reply
                  0
                  • wilkinsafW wilkinsaf

                    @AP123 This is a shot in the dark, but can you turn off your GPS and Mag and see if that works. We tried to do collision prevention with GPS on and we were getting these errors

                    ? Offline
                    ? Offline
                    A Former User
                    wrote on last edited by
                    #39
                    This post is deleted!
                    wilkinsafW 1 Reply Last reply
                    0
                    • ? A Former User

                      This post is deleted!

                      wilkinsafW Offline
                      wilkinsafW Offline
                      wilkinsaf
                      ModalAI Team
                      wrote on last edited by
                      #40

                      @AP123

                      you can turn it off with has_gps and has_mag parameters I believe.
                      Yes, i believe this might be a PX4 thing. Might need to troubleshoot that PX4 bug in order to resolve

                      1 Reply Last reply
                      0
                      • Cliff WongC Offline
                        Cliff WongC Offline
                        Cliff Wong
                        ModalAI Team
                        wrote on last edited by Cliff Wong
                        #41

                        Hi there, looks like there's some confusion with what mode is being tested. Here's some clarification. PX4 has 2 approaches to handling obstacle distance data:
                        a. Obstacle Avoidance(OA) feature which stops the aircraft if object detection occurs from the voxl-voa service. This requires CP_* parameters set that you can compare with your drone listed here based on your application.

                        b. Collision Prevention(CP) feature, which not only includes OA, but also rerouting capability in all autonomous modes (position, alt, mission, offboard) and leverages the same voxl-voa service. This requires not only the CP_* parameters but also requires COM_OBS_AVOID = enable.

                        If your application requires (a), you can leave com_obs_avoid = disable and OA should work out of the box as is. If your application requires (b), then we have discovered a software bug in the VOA service. And the main reason you get the "collision module not ready", no arm possible. It has been corrected [code here] and binaries will be available in our gitlab daily builds shortly.

                        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

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups