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. Collision prevention

Collision prevention

Scheduled Pinned Locked Moved Ask your questions right here!
8 Posts 4 Posters 1.7k Views 3 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.
  • G Offline
    G Offline
    gauravshukla914
    Regular
    wrote on last edited by
    #1

    Hi, We are trying to test the collision prevention feature on our Voxl flight deck enabled drone. We've set the PX4 parameters as mentioned in the documentation of collision prevention. Its working fine when I set the cp_dist to 1.5 meters as told. It works well and the drone stops.

    However, if at all I keep some other value less than 1.5 m, for example, 1 meter or 1.2 meter, or 0.8 meters, it doesn't stop for the obstacle and I just hear "collision warning" from QgroundControl station. So is 1.5 meter a standard value and we can't use any number less than that?

    1 Reply Last reply
    0
    • modaltbM Offline
      modaltbM Offline
      modaltb
      ModalAI Team
      wrote on last edited by
      #2

      Hi @gauravshukla914 ,

      I didn't know of any limitation, our factory test uses 1.5 --> https://gitlab.com/voxl-public/flight-core-px4/px4-parameters/-/blob/master/helpers/collision_prevention.params#L7

      We'll need to check out what is introducing the limit.

      1 Reply Last reply
      0
      • G Offline
        G Offline
        gauravshukla914
        Regular
        wrote on last edited by
        #3

        Thanks for your reply @modaltb . That'd be great. I'll look forward to your response.

        1 Reply Last reply
        0
        • K Offline
          K Offline
          kiprock
          Contributor
          wrote on last edited by
          #4

          gauravshukla914 Just curious, are you trying https://github.com/PX4/PX4-Avoidance or something else for collision prevention?

          1 Reply Last reply
          0
          • G Offline
            G Offline
            gauravshukla914
            Regular
            wrote on last edited by
            #5

            @modaltb any idea on this?

            1 Reply Last reply
            0
            • G Offline
              G Offline
              gauravshukla914
              Regular
              wrote on last edited by
              #6

              @kiprock No. I'm following the modalai collison prevention documentation.

              1 Reply Last reply
              0
              • Chad SweetC Offline
                Chad SweetC Offline
                Chad Sweet
                ModalAI Team
                wrote on last edited by
                #7

                I don't think we have tried other values. You can see where PX4 computes min_distance here, that might help

                1 Reply Last reply
                0
                • modaltbM Offline
                  modaltbM Offline
                  modaltb
                  ModalAI Team
                  wrote on last edited by
                  #8

                  The only lower bound I've seen is 20cm here:
                  https://gitlab.com/voxl-public/modal-pipe-architecture/voxl-vision-px4/-/blob/master/src/voa_manager.c#L165

                  So I'm still puzzled.

                  If you debug stereo, what kind of data are you seeing? https://docs.modalai.com/voxl-vision-px4-collision-prevention/#debug-tools

                  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