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. Passing external estimation input through EKF2 over mavros

Passing external estimation input through EKF2 over mavros

Scheduled Pinned Locked Moved Ask your questions right here!
3 Posts 2 Posters 1.0k Views
  • 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.
  • tanguy sagereT Offline
    tanguy sagereT Offline
    tanguy sagere
    Contributor
    wrote on last edited by
    #1

    Hi! I'm passing an external estimator input (VICON or custom kalman filter) to the (Sentinel's) VOXL2's EKF2 over a MAVROS topic, but I'm not able to get the /mavros/local_position/pose to match the vicon pose.

    My Setup:

    • VOXL2
    • Sentinel
    • Base Station with VICON Poses (in PoseStamp, and PoseStampWithCovariance)
    • Turned off the QVIO on the VOXL PX4
    • I use the PX4 Flight Controller on the board (no external one)

    QGroundControl Parameters:

    • EKF2_AID_MASK
      • vision position fusion
      • vision yaw fusion
    • EKF2_EV_DELAY
      • 50 ms
    • EKF2_HGT_MODE
      • Vision
    • EKF2_MAG_CHECK
      • 0
    • EKF2_MAG_TYPE
      • None

    Process :

    • I use launch the mavros and remap the VICON Pose to the following topics with the frame_id = 'map'.

      • /mavros/vision_pose/pose
      • /mavros/vision_pose/pose_cov (with a covariance matrix of 36 zeroes)
    • If I open rviz I get the and look the the two poses :

      • /mavros/local_position/pose
      • /mavros/vision_pose/pose
      • /mavros/vision_pose/pose_cov
    • I see that first of all the VICON pose does not get accepted by the Flight Controller (EKF2) and also that even without feeding the PX4 with the VICON pose the yaw of the Sentinel (mavros/local_position/pose) is off.

    • I suspect one of the following to be the problem :

      • Calibration
      • After Mavros start it continuously outputs the Info requesting home position. Can it be that I need to set the home position that an external pose estimation with respect to the local body frame can be set. (if so how can I set the home position on the Sentinel VOXL2 ?)
      • Parameters are wrong
      • Coordinates frame are wrong
      • I should use the Odometry topic (mavros/odometry/out)

    Any help would be much appreciated, thank you!

    IMG_2495.png
    IMG_2496.jpg

    1 Reply Last reply
    0
    • tanguy sagereT Offline
      tanguy sagereT Offline
      tanguy sagere
      Contributor
      wrote on last edited by
      #2

      Hi! Is any dev available to help out with this?

      S 1 Reply Last reply
      0
      • tanguy sagereT tanguy sagere

        Hi! Is any dev available to help out with this?

        S Offline
        S Offline
        SMRazaRizvi
        Regular
        wrote on last edited by
        #3

        @tanguy-sagere Hello were you able to solve this?

        @Moderator

        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

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups