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

ModalAI Forum

  1. ModalAI Support Forum
  2. General Questions
  3. Position Mode Rejected

Position Mode Rejected

Scheduled Pinned Locked Moved Unsolved General Questions
position-modeuartpx4ekf2
2 Posts 2 Posters 1.8k 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.
  • R Offline
    R Offline
    rapit
    Contributor
    wrote on last edited by
    #1

    Hi,
    I tried the voxl-cam for the first time and all seems to be working fine except that px4 is not getting into position mode.

    voxl-inspect-qvio prints reasonable poses, I can see the Odometry topic in QGC with 30 hz with x,y values not zero.

    My EKF2_AID_MASK is 280 and with the same parameters and the voxl flight-deck I managed to start in position mode without GPS attached.

    Problem seems to be that I cannot get values in LOCAL_POSITION_NED and nothing is being output on uorb top vehicle_visual_odometry in a nuttx console.

    I made a cable to connect the pixhawk4 and the voxlcam, which is twice as long as in the old setup. The voxl-vision-px4 systemd service suggests that UART is connected, but maybe there could be some issue in sending the data?

    Do you have any suggestions?

    Thanks!

    1 Reply Last reply
    0
    • James StrawsonJ Offline
      James StrawsonJ Offline
      James Strawson
      ModalAI Team
      wrote on last edited by
      #2

      Which version of PX4 are you running on the Pixhawk and do you have a magnetometer connected? EKF2 is generally unhappy about about starting without a magnetometer in PX4 1.11 so we patched the PX4 firmware for Flight Core to get around this. In PX4 1.12 and newer the following PX4 parameter can be set to allow EKF2 to allow position mode without a GPS/Mag

      ## disable mag
      SYS_HAS_MAG	0	
      EKF2_MAG_TYPE	5	
      
      1 Reply Last reply
      0

      Reading along? Create a free ModalAI Forum account to join in.

      With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.

      Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.

      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