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

    Obstacle_Detection messages not appearing

    Ask your questions right here!
    2
    17
    736
    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.
    • Daniel RyuD
      Daniel Ryu
      last edited by

      Hello, I am trying to figure out how to turn on the collision prevention in voxl based systems, and despite following the linked instructions, I am unable to get Obstacle_Detection messages to appear in the QGC mavlink inspector. I enabled voa and voa messages to qgc, and configured the PX4 parameters using the given helper file. What should I try to receive Obstacle Detection messages?

      https://docs.modalai.com/voxl-vision-px4-collision-prevention/

      1 Reply Last reply Reply Quote 0
      • Daniel RyuD
        Daniel Ryu
        last edited by Daniel Ryu

        I also calibrated the Stereo cameras and confirmed that output was coming out from the voxl-vision-px4 debug mode (-s flag)

        1 Reply Last reply Reply Quote 0
        • Daniel RyuD
          Daniel Ryu
          last edited by

          Screenshot from 2021-08-24 14-33-52.png

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User
            last edited by

            It looks like everything is set up properly, can you run voxl-inspect-cam dfs-disparityand check to see that you're getting output there?

            Daniel RyuD 1 Reply Last reply Reply Quote 0
            • Daniel RyuD
              Daniel Ryu @Guest
              last edited by

              @Alex-Gardner Doesn't seem like it, its stuck on this screen. Screenshot from 2021-08-25 10-23-50.png

              1 Reply Last reply Reply Quote 0
              • ?
                A Former User
                last edited by

                can you do the same but with stereo: voxl-inspect-cam stereo, if the dfs service is running and receiving frames it should be outputting data

                Daniel RyuD 1 Reply Last reply Reply Quote 0
                • Daniel RyuD
                  Daniel Ryu @Guest
                  last edited by

                  @Alex-Gardner I'm getting output just fine from stereo aloneScreenshot from 2021-08-25 10-35-32.png

                  1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User
                    last edited by

                    What version of voxl suite/system image do you have? voxl-version should print this out

                    Daniel RyuD 1 Reply Last reply Reply Quote 0
                    • Daniel RyuD
                      Daniel Ryu @Guest
                      last edited by

                      @Alex-Gardner System image 3.3.0. Voxl-suite 0.4.6

                      1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User
                        last edited by

                        do you see dfs topics when you do ls /run/mpa

                        1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User
                          last edited by

                          wait the name is dfs_disparity, not dfs-disparity, what does the inspect cam say with that voxl-inspect-cam dfs_disparity

                          Daniel RyuD 1 Reply Last reply Reply Quote 0
                          • Daniel RyuD
                            Daniel Ryu @Guest
                            last edited by

                            @Alex-Gardner Output is generated for dfs_disparity Screenshot from 2021-08-25 10-53-01.png

                            1 Reply Last reply Reply Quote 0
                            • Daniel RyuD
                              Daniel Ryu
                              last edited by

                              Screenshot from 2021-08-25 10-57-35.png

                              1 Reply Last reply Reply Quote 0
                              • ?
                                A Former User
                                last edited by

                                The image is showing some disparity data there, the image is often very dark because it will be black if the dfs algo is unable to match regions and we do a lot of filtering to get rid of noise, but you can see 2 blobs there that it recognizes. If you're shoing the stereo cameras a blank wall or a repeating pattern it will be unable to properly match data.

                                Daniel RyuD 1 Reply Last reply Reply Quote 0
                                • Daniel RyuD
                                  Daniel Ryu @Guest
                                  last edited by

                                  @Alex-Gardner That's good to know! How can I get the Obstacle Detection message to be sent to the QGC?

                                  1 Reply Last reply Reply Quote 0
                                  • ?
                                    A Former User
                                    last edited by

                                    the file at /etc/modalai/voxl-vision-px4.conf has settings for QGC IP, enabling VOA, and sending VOA to QGC. Make sure that the latter two are enabled and that your qgc ip is correct and it should send to QGC

                                    Daniel RyuD 1 Reply Last reply Reply Quote 0
                                    • Daniel RyuD
                                      Daniel Ryu @Guest
                                      last edited by

                                      @Alex-Gardner That was it, the ip address was not inputted correctly. Thanks!

                                      1 Reply Last reply Reply Quote 0
                                      • First post
                                        Last post
                                      Powered by NodeBB | Contributors