Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL Dev Drones
  3. PX4 Autonomy Developer Kit
  4. lockstep HITL

lockstep HITL

Scheduled Pinned Locked Moved PX4 Autonomy Developer Kit
3 Posts 2 Posters 922 Views 1 Watching
  • 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.
  • W Offline
    W Offline
    westam
    wrote on last edited by
    #1

    Hardware: Voxl2
    System image: 1.7.4-m0054-14.1a-perf
    voxl suite: 1.1.3-1
    px4 version 1.14.0
    vendor version(modalai): 2.0.73

    I'm building voxl-px4 according to the instructions here: https://gitlab.com/voxl-public/voxl-sdk/services/voxl-px4

    I've successfully built and deployed to the m0054 an unmodified instance of voxl-px4 and i'm running voxl-px4-hitl via adb shell, flying via udp using qgroundcontrol. I've got HITL traffic connected through a custom uart->usb bridge cable that is tested working. It is connected to gazebo (i've also used jmavsim and some custom simulation software with success). I'm now trying to enable lockstep HITL.

    By default, voxl-px4-hitl claims lockstep simulation is disabled during build. I've force-enabled it by editing the cmake files simply because that was the fastest way. During build it reports that it is enabled, and all seems well during deployment and normal operation. However, it doesn't seem to respect the HITL setting. Specifically, when I change the physics rate in gazebo, px4 becomes unable to fly and I see timeout messages in px4 for mag and baro(HIL_SENSOR mavlink message).

    I suppose my primary question, before I spend days trying to enable something unsupported, is "does voxl-px4-hitl support lockstep mode?", and if not, can it be made to through a simple set of instructions that i've just failed to locate thus far? If it could in theory be made to, but the effort is more extensive, that is acceptable and I would gladly take any direction provided.

    Eric KatzfeyE 1 Reply Last reply
    0
    • W westam

      Hardware: Voxl2
      System image: 1.7.4-m0054-14.1a-perf
      voxl suite: 1.1.3-1
      px4 version 1.14.0
      vendor version(modalai): 2.0.73

      I'm building voxl-px4 according to the instructions here: https://gitlab.com/voxl-public/voxl-sdk/services/voxl-px4

      I've successfully built and deployed to the m0054 an unmodified instance of voxl-px4 and i'm running voxl-px4-hitl via adb shell, flying via udp using qgroundcontrol. I've got HITL traffic connected through a custom uart->usb bridge cable that is tested working. It is connected to gazebo (i've also used jmavsim and some custom simulation software with success). I'm now trying to enable lockstep HITL.

      By default, voxl-px4-hitl claims lockstep simulation is disabled during build. I've force-enabled it by editing the cmake files simply because that was the fastest way. During build it reports that it is enabled, and all seems well during deployment and normal operation. However, it doesn't seem to respect the HITL setting. Specifically, when I change the physics rate in gazebo, px4 becomes unable to fly and I see timeout messages in px4 for mag and baro(HIL_SENSOR mavlink message).

      I suppose my primary question, before I spend days trying to enable something unsupported, is "does voxl-px4-hitl support lockstep mode?", and if not, can it be made to through a simple set of instructions that i've just failed to locate thus far? If it could in theory be made to, but the effort is more extensive, that is acceptable and I would gladly take any direction provided.

      Eric KatzfeyE Offline
      Eric KatzfeyE Offline
      Eric Katzfey
      ModalAI Team
      wrote on last edited by
      #2

      @westam We have never tired that

      W 1 Reply Last reply
      0
      • Eric KatzfeyE Eric Katzfey

        @westam We have never tired that

        W Offline
        W Offline
        westam
        wrote on last edited by
        #3

        @Eric-Katzfey Thank you for such a quick response! Saved me a few hours down the wrong rabbit hole.

        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