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

    Voxl ardupilot issue

    VOXL
    2
    3
    266
    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.
    • S
      sergio
      last edited by

      Voxl communicates perfectly with ardupilot but there is big mistake.

      Ardupilot expect earth frame pos and drone frame vels when voxl send out earth frame pos and vels.

      So there is parameter to easily change the frame for vels send out by voxl vision px4 service ?

      Or

      Must you upgrade the voxl firmware to match ardupilot? There is many customers that will be happy when voxl be useable with ardupilot

      1 Reply Last reply Reply Quote 0
      • James StrawsonJ
        James Strawson ModalAI Team
        last edited by

        Hi Sergio,

        voxl-vision-px4 does send out drone-frame (body-frame) velocity via the ODOMETRY mavlink message which is also what PX4 expects.

        A couple references:

        • The section titled "Frames of Reference: Odometry" here https://www.modalai.com/blogs/blog/how-to-autonomously-navigate-with-px4

        • The code where velocity is transformed from local frame to body frame before sending the mavlink message: https://gitlab.com/voxl-public/voxl-sdk/services/voxl-vision-px4/-/blob/master/src/vio_manager.c#L186

        Best,
        James

        S 1 Reply Last reply Reply Quote 0
        • S
          sergio @James Strawson
          last edited by

          @ James-Strawson
          Im sorry but is note the case….
          While just activation voxl vision px4 service from fredh resceived voxl cam, voxl output local frame pos and velocitys via mavlink.

          so how to activate local to body frame velocity transformation?

          Maybe with px4 this work but with ardupilot i check on mavlink analys and i make simple translations and i can ensure you that voxl send out local frame pos and vels.

          Maybe you can tell me ou to force voxl to output local frame pos but body frame vels to ardupilot ?

          Thank you so much.

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