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

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. RB5 Flight, issues flying outdoors

RB5 Flight, issues flying outdoors

Scheduled Pinned Locked Moved Ask your questions right here!
3 Posts 2 Posters 496 Views 2 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.
  • M Offline
    M Offline
    mdhahne-apl
    wrote on last edited by mdhahne-apl
    #1

    Recently got a RB5 UAV. We flew it indoors using position mode and voxl-vision with no issues. However when we tried to fly outdoors we had problems with vision, GPS, and the magnetometer.

    All flights were using QGroundControl and a Spektrum RC controller, and running VOXL SDK 0.9

    In our current state, when we boot up the drone and open QGroundControl, we only ever see "reject position mode", and see that AHRS is failing, but we don't know how to get more descriptive errors.

    For context: our team has experience with ArduCopter, but this is our first exposure to PX4.

    Here are the notes we took in the field while testing:

    1. Flight 1: 12:48; 43 seconds. Manual flight to get used to aircraft. Lost vision accuracy which triggered a failsafe. In EKF2_AID_MASK turned off "vision position fusion", "vision yaw fusion", "vision velocity fusion".
    2. Had problems going to POSITION due to failing GPS Speed Check. In EKF2_GPS_CHECK turned off Max Speed Error. Still didn't work. Calibrated gyroscope and accelerometers on aircraft. Still couldn't do position mode. Turned vision back on in EKF2_AID_MASK.
    3. Flight 2: 13:22; 30sec. Lost vision went to failsafe; erratic behavior and crash.
    4. More parameter stuff: Turning off vision and turning magnetometer on. EKF2_AID_MASK using only GPS. EKF2_MAG_TYPE set to automatic. ATT_W_MAG set to .1 SYS_HAS_MAG set to 1. EKF2_HGT_MODE to Baro
    5. Couldn't get compass to calibrate. Tried various params. Changed CAL_MAG0_ID from 396809 to 0. Changed EKF2_MAG_CHECK to 1. Changed CAL_MAG0_PRIO to Disabled. Changed CAL_MAG0_PRIO back to High.
    6. Reset to mag off and vision on. Going to test vision at low altitude. SYS_HAS_MAG to 0. EKF2_AID_MASK to 281. EKF2_HGT_MODE to Vision. ATT_W_MAG to 0. CAL_MAG0_ID back to 396809.

    My instinct is that in all our fiddling we got the PX4 parameters into a bad state we don't understand, leading me to think that getting a known-good set of PX4 parameters we can load through QGroundControl would be the next thing to try, but we haven't had luck locating such a parameter file.

    If there are things I can check to help with debugging, please let me know.

    Thanks!

    1 Reply Last reply
    0
    • Chad SweetC Offline
      Chad SweetC Offline
      Chad Sweet
      ModalAI Team
      wrote on last edited by
      #2

      You can find the default parameters here: https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-px4-params/-/tree/master/params/v1.12/RB5_Flight

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mdhahne-apl
        wrote on last edited by
        #3

        Thanks for the lead! Those both include this comment:

        # This is NOT a complete set of PX4 parameters. These are non-default parameters
        # specific to the airframe and are meant to be loaded over the defaults.
        

        A little bit of searching turned up this reference:
        https://docs.px4.io/main/en/advanced_config/parameters.html#tools

        Looks like my path is to follow that guide to restore all parameters to default values, then load parameters from the files you linked to.

        The drone we have shipped with a 4s battery, and ModalAI branded motors. Looks like that leaves us needing portions of each of the two parameter files. My plan is to modify RB5_Flight_V1_param_ModalAIMotors_3s_rev_A.params to include the battery configuration from RB5_Flight_V1_param_HolyBroMotors_4s_rev_A.params, and load the resulting file on top of defaults.

        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

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups