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

    Mix multiple sensors for position estimation

    Support Request Format for Best Results
    3
    6
    407
    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.
    • J
      jocacace13
      last edited by

      Hi to all,

      I am trying to add different sensors to improve the estimation of the local position (i.e. the Local_position_ned). However, everything I made to set the ekf2 (using the px4 variables ekf2_ev params and similar) is ignored by the autopilot. I am also interested to understand more how the vision hub shares information with the px4 control stack. Is there any reference?

      Regards,

      ModeratorM 1 Reply Last reply Reply Quote 0
      • ModeratorM
        Moderator ModalAI Team @jocacace13
        last edited by

        @jocacace13 Yes, the source code is available here: https://gitlab.com/voxl-public/voxl-sdk/services/voxl-vision-hub/-/blob/master/src/vio_manager.c?ref_type=heads

        A high level overview is here: https://docs.modalai.com/configure-extrinsics/

        J 1 Reply Last reply Reply Quote 0
        • J
          jocacace13 @Moderator
          last edited by

          @Moderator Thanks for the quick reply. Do you think that, inspecting that source code and studying the High level architecture, I am also able to completely substitute the vision hub input, to feed the autopilot with a slam-generated odometry?

          ModeratorM 1 Reply Last reply Reply Quote 0
          • ModeratorM
            Moderator ModalAI Team @jocacace13
            last edited by

            @jocacace13 yes. A better approach would be to use voxl-qvio-server as a template and replace the qvio algorithm with yours.

            J 1 Reply Last reply Reply Quote 0
            • J
              jocacace13 @Moderator
              last edited by

              Dear @Moderator, again many thanks for the reply. More or less it is clear to me the code structure. However, I am struggling with a something that I am not able to understand.

              I am connected with QGround to the voxl2 board running px4 v 1.14. I went to the mavlink inspect pane to listen to the LOCAL_POSITION_NED. Even if I stop or disable the voxl-qvio-server, the position is still received from the autopilot. How is this possible? Who is sending this data?

              Eric KatzfeyE 1 Reply Last reply Reply Quote 0
              • Eric KatzfeyE
                Eric Katzfey ModalAI Team @jocacace13
                last edited by

                @jocacace13 PX4 sends out it's local position (as Mavlink LOCAL_POSITION_NED)

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