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

    avoidance collision prevention disabled

    VOXL 2
    4
    41
    10788
    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 Former User @tom
      last edited by

      This post is deleted!
      tomT 1 Reply Last reply Reply Quote 0
      • tomT
        tom admin @Guest
        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/

        ? 3 Replies Last reply Reply Quote 0
        • ?
          A Former User @tom
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • ?
            A Former User @tom
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • ?
              A Former User @tom
              last edited by

              This post is deleted!
              tomT 1 Reply Last reply Reply Quote 0
              • tomT
                tom admin @Guest
                last edited by

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

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

                  This post is deleted!
                  Cliff WongC 1 Reply Last reply Reply Quote 0
                  • Cliff WongC
                    Cliff Wong ModalAI Team @Guest
                    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.

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

                      This post is deleted!
                      tomT 1 Reply Last reply Reply Quote 0
                      • tomT
                        tom admin @Guest
                        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

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

                          This post is deleted!
                          tomT 1 Reply Last reply Reply Quote 0
                          • tomT
                            tom admin @Guest
                            last edited by

                            @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 Reply Quote 0
                            • ?
                              A Former User @tom
                              last edited by

                              This post is deleted!
                              tomT 1 Reply Last reply Reply Quote 0
                              • tomT
                                tom admin @Guest
                                last edited by

                                @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 Reply Quote 0
                                • ?
                                  A Former User @tom
                                  last edited by

                                  This post is deleted!
                                  wilkinsafW 1 Reply Last reply Reply Quote 0
                                  • wilkinsafW
                                    wilkinsaf ModalAI Team @Guest
                                    last edited by

                                    @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 Reply Quote 0
                                    • ?
                                      A Former User @wilkinsaf
                                      last edited by

                                      This post is deleted!
                                      wilkinsafW 1 Reply Last reply Reply Quote 0
                                      • wilkinsafW
                                        wilkinsaf ModalAI Team @Guest
                                        last edited by

                                        @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 Reply Quote 0
                                        • Cliff WongC
                                          Cliff Wong ModalAI Team
                                          last edited by Cliff Wong

                                          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 Reply Quote 0
                                          • First post
                                            Last post
                                          Powered by NodeBB | Contributors