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

    avoidance collision prevention disabled

    VOXL 2
    4
    41
    3100
    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.
    • A
      AP123 @tom
      last edited by

      @tom image2.png

      nope nothing

      tomT 1 Reply Last reply Reply Quote 0
      • tomT
        tom admin @AP123
        last edited by

        @AP123 What about the "stereo" one itself?

        A 2 Replies Last reply Reply Quote 0
        • A
          AP123 @tom
          last edited by

          @tom yes i have camera feed there

          1 Reply Last reply Reply Quote 0
          • A
            AP123 @tom
            last edited by

            @tom ok, i am getting data now from all off them! Although the avoidance system is still not working

            tomT 1 Reply Last reply Reply Quote 0
            • tomT
              tom admin @AP123
              last edited by

              @AP123 might be worth trying this to see if the voxl-vision-px4 is handling the avoidance data correctly: https://docs.modalai.com/voxl-vision-px4-collision-prevention-0_9/#debugging-collision-prevention

              A 1 Reply Last reply Reply Quote 0
              • A
                AP123 @tom
                last edited by

                @tom The data is flowing properly but QGC is still saying Not Ready, and Avoidance system not ready. What else can i do?

                tomT 1 Reply Last reply Reply Quote 0
                • tomT
                  tom admin @AP123
                  last edited by

                  @AP123 When you click on Not Ready does it give you any more info?

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    AP123 @tom
                    last edited by

                    @tom it does not, I'm trying to read errors in the log but there are so many and none say anything relating to avoidance system.

                    tomT 1 Reply Last reply Reply Quote 0
                    • tomT
                      tom admin @AP123
                      last edited by

                      @AP123 What hardware setup are you using? One of our drones or a custom setup?

                      A 1 Reply Last reply Reply Quote 0
                      • A
                        AP123 @tom
                        last edited by

                        @tom custom setup. I have calibrated the front stereo but the rear is giving me issues could that be why?

                        tomT 1 Reply Last reply Reply Quote 0
                        • tomT
                          tom admin @AP123
                          last edited by

                          @AP123 It's possible, I would take a look here as well for some relevant info: https://docs.modalai.com/configure-extrinsics/

                          A 3 Replies Last reply Reply Quote 0
                          • A
                            AP123 @tom
                            last edited by

                            @tom Thank you i will take a look at that today. The error i am getting the most in the logs is this one

                            [E] at qrc:/qml/QGroundControl/FlightDisplay/ObstacleDistanceOverlayMap.qml:42 - "qrc:/qml/QGroundControl/FlightDisplay/ObstacleDistanceOverlayMap.qml:42: Error: createRadialGradient(): Incorrect arguments"

                            Is that something to do with the avoidance system?

                            Thank you

                            1 Reply Last reply Reply Quote 0
                            • A
                              AP123 @tom
                              last edited by

                              @tom hey tom when i send voxl-inspect-points tof_pc to the voxl the output is only waiting for server at /run/mpa/tof_pc/
                              no data is seen, is this the issue?

                              1 Reply Last reply Reply Quote 0
                              • A
                                AP123 @tom
                                last edited by

                                @tom i discovered if there are objects in the surrounding of the drone object avoidance reads disabled, yet if it is in open space it reads error.

                                tomT 1 Reply Last reply Reply Quote 0
                                • tomT
                                  tom admin @AP123
                                  last edited by

                                  @AP123 I'm at the end of my personal knowledge with VOA, I'll see if I can tag someone in

                                  A 1 Reply Last reply Reply Quote 0
                                  • A
                                    AP123 @tom
                                    last edited by

                                    @tom Both brand new voxl 2 units from you guys 1 with SDK 0.9.5 and 1 with SDK 1.0.0 are both saying avoidance system not ready, one of your engineers must have encountered this before.

                                    Cliff WongC 1 Reply Last reply Reply Quote 0
                                    • Cliff WongC
                                      Cliff Wong ModalAI Team @AP123
                                      last edited by

                                      @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.

                                      A 1 Reply Last reply Reply Quote 0
                                      • A
                                        AP123 @Cliff Wong
                                        last edited by AP123

                                        @Cliff-Wong said in avoidance collision prevention disabled:

                                        voxl-inspect-points voa_pc_out

                                        Thank you Cliff for your support, everything is set properly and i am getting data from oxl-inspect-points voa_pc_out.Screenshot from 2023-11-14 09-30-40.png

                                        Screenshot from 2023-11-14 09-32-58.png Screenshot from 2023-11-14 09-34-15.png

                                        Isn't home position set once i arm the drone? How can i do that if it wont let me arm it?

                                        tomT 1 Reply Last reply Reply Quote 0
                                        • tomT
                                          tom admin @AP123
                                          last edited by

                                          @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

                                          A 1 Reply Last reply Reply Quote 0
                                          • A
                                            AP123 @tom
                                            last edited by

                                            @tom is it compatible with the PWM board 0065?

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