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

    Disabling GPS sensor input to PX4

    Sentinel
    2
    3
    458
    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
      jmltt
      last edited by

      Is there a way to disable gps sensor data from being published to PX4 on the sentinel without removing it or disabling gps via px4?

      I have sentinels that I'm flying indoors with VIO and mocap. VIO and mocap don't mesh well together if I send them both to the vehicle as odometry messages. I'm trying to get around this by sending mocap data as fake gps via hil_gps message over mavlink. The problem is I have to have gps enabled in PX4 for it to work correctly, but the bad gps data from the sensor is being fused with the mocap gps.

      I can't disconnect the gps because I need the mag for heading.

      Any help is appreciated. Thanks!

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

        @jmltt Don't start the gps driver. In the file /etc/modalai/voxl-px4.conf set the GPS to NONE.

        J 1 Reply Last reply Reply Quote 0
        • J
          jmltt @Eric Katzfey
          last edited by

          @Eric-Katzfey that did it, thanks!

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