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

    Disabling GPS sensor input to PX4

    Sentinel
    2
    3
    529
    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 3 May 2024, 21:03

      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!

      E 1 Reply Last reply 4 May 2024, 15:59 Reply Quote 0
      • E
        Eric Katzfey ModalAI Team @jmltt
        last edited by 4 May 2024, 15:59

        @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 6 May 2024, 15:27 Reply Quote 0
        • J
          jmltt @Eric Katzfey
          last edited by 6 May 2024, 15:27

          @Eric-Katzfey that did it, thanks!

          1 Reply Last reply Reply Quote 0
          1 out of 3
          • First post
            1/3
            Last post
          Powered by NodeBB | Contributors