Developer

PixRacer with Ardupilot

This is a discussion to focus the feedback and support of ardupilot on the PixRacer board from AUAV.co.

We believe that all teething problems encountered are now resolved and so we recommend people load Copter-3.3.4 which is available for all multicopters through the Mission Planner's (and other GCS's) Install Firmware screens.  Note that because regular Pixhawks are still on Copter-3.3.3 the install icon may show Copter-3.3.3 but rest assured, Copter-3.3.4 will be installed (you can check the version by looking at the very top of the Mission Planner).

3691274249?profile=original

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

    • When I do the live calibration like you say at the end it shows #1 and #2 even with just one checked.

      When I do the onboard I never get a beep or fitness value it just appears to continue to run with me moving it through all the axis like with the live.

      What am I possibly doing wrong . Help me out here Michael.

  • I am not understanding something here. Here is a test I tried. Disconnect your GPS, and see if you can calibrate your compass using the internal compass. I have tried this in every way I can think of and can not calibrate compasses unless it sees GPS/w external compass. Now I have seen several post by Chopper not being able to calibrate compass and now it is saying health problems with sensors. I don't have GPS/w compass on my machine as of yesterday and I am getting the same errors as chopper is. He has been told the problem sounds like hardware, I am beginning to believe it is software because I just duplicated his problem by removing the GPS/compass unit. Could we get some of the DEV's to remove the GPS/compass and see if it is possible to calibrate and if they can how do you do it. I am not trying to be smartass or sound disrespectful but just want to try to figure out what is going on and why is so much priority being given to the GPS when it should not be even used in some of the modes.

  • You got hit by the EKF bug.  Apparently EKF is always there and fuses the GPS into its readings even in Stabilize mode.

    Because you were not in the open, your GPS experienced sudden GPS drift in multiple directions.  EKF2 started to compensate by making big changes in roll and pitch.

    I don't like this as Stabilize used to be just simple and now its not.

    • isn't this suppose to avoid GPS ?

      http://ardupilot.org/copter/docs/common-apm-navigation-extended-kal...

      EKF_GPS_TYPE: Controls how GPS is used.

      • 0 : use 3D velocity & 2D position from GPS
      • 1 : use 2D velocity & 2D position (GPS velocity does not contribute to altitude estimate)
      • 2: use 2D position
      • 3 : no GPS (will use optical flow only if available)
      Extended Kalman Filter (EKF) — Copter documentation
      • AHRS_EKF_USE : set to “1” to enable the EKF, “0” to disable and rely on DCM for attitude control, inertial nav (Copter-3.2.1)

        In Copter-3.3, this feature is forced to “1” and cannot be changed.

        EKF_GPS_TYPE

        I'm not sure that setting 3 will avoid EKF use without optical flow, it is unclear to me.

        Anyway , why AHRS_EKF_USE cannot be changed and is forced to "1" ?

        Extended Kalman Filter Navigation Overview and Tuning — Dev documentation
    • Agree and if I have well understand EKF has been a way to solve vibrations problem of  3DR Iris .

      I really do not see any advantage with EKF onlt problems and for what ?

      Vibrations are not a problem if you design a good frame and take care of motors and props balancing.

    • The last two auto missions I flew thank goodness I heard my Taranis tell me, "EKF variance... mode landing"!!! This is with 3.4 so I can't complain. Not sure if the same issue happens in 3.3 or what. External compass has low offsets... only using one gps. So not sure what more I could do. Don't really trust it now :[ This is with a 3dr Pixhawk not pixracer. 

      • I think this is not good at all.. 
        GPS cannot be trusted!  In my 2 years of flying now, GPS has given me more problems than anything else..  It's fine when flying 100 meters above everything, but as soon as I come down around trees or buildings to land or fly for fun, GPS is a complete mess..  drifts 20 meters any random direction at any moment... 
        I'd think GPS would be the very last thing the flight controller should consider in any mode... and it shouldn't even know it exists in manual modes!  (But Im not a developer and really don't know how EKF works, so maybe my opinion doesn't mean much....)

      • Yes, I believe 3.3 has it as well.  I think you can turn it off by setting AHRS_GPS_USE = 0.

  • Guys, I was flying today , was in althold all at once it yaw's left motors sounded like they went full and it hit the ground. GPS, was knocked off wires and plug ripped out of GPS and the buzzer was completely gone , I guess it ate it. When you look at the log it shows some errors but they were after it hit the ground.

    28 5-14-2016 7-23-40 PM.bin

    https://storage.ning.com/topology/rest/1.0/file/get/3702241739?profile=original
This reply was deleted.

Activity

DIY Robocars via Twitter
RT @DanielChiaJH: Great racing against @a1k0n today at @diyrobocars! Pretty cool to both break sun-9s at the track today I think I got very…
9 hours ago
DIY Robocars via Twitter
Broadcasting the @circuitlaunch race live now at https://m.twitch.tv/diyrobocars Races begin around 2:00pm PT
13 hours ago
DIY Robocars via Twitter
RT @a1k0n: ran a huge number of hyperparameter tuning experiments yesterday; now I can train a new policy, far with better quality, in 15 m…
14 hours ago
DIY Robocars via Twitter
RT @a1k0n: Did I get rid of hand-tuned parameters? Yes. Am I still hand-tuning more parameters? Also yes. I have a few knobs to address the…
Monday
DIY Robocars via Twitter
RT @a1k0n: I'm not going to spoil it, but (after charging the battery) this works way better than it has any right to. The car is now faste…
Monday
DIY Robocars via Twitter
RT @a1k0n: Decided to just see what happens if I run the sim-trained neural net on the car, with some safety rails around max throttle slew…
Monday
DIY Robocars via Twitter
Sep 24
DIY Robocars via Twitter
RT @SmallpixelCar: @a1k0n @diyrobocars I learned from this. This is my speed profile. Looks like I am too conservative on the right side of…
Sep 24
DIY Robocars via Twitter
RT @a1k0n: @SmallpixelCar @diyrobocars Dot color is speed; brighter is faster. Yeah, it has less room to explore in the tighter part, and t…
Sep 24
DIY Robocars via Twitter
RT @a1k0n: I'm gonna try to do proper offline reinforcement learning for @diyrobocars and throw away all my manual parameter tuning for the…
Sep 23
DIY Robocars via Twitter
RT @circuitlaunch: DIY Robocars & Brazilian BBQ - Sat 10/1. Our track combines hairpin curves with an intersection for max danger. Take tha…
Sep 22
DIY Robocars via Twitter
RT @SmallpixelCar: Had an great test today on @RAMS_RC_Club track. However the car starts to drift at 40mph. Some experts recommended to ch…
Sep 11
DIY Robocars via Twitter
RT @gclue_akira: 世界最速 チームtamiyaのaiカー https://t.co/1Qq2zOeftG
Sep 10
DIY Robocars via Twitter
RT @DanielChiaJH: Always a good time working on my @diyrobocars car at @circuitlaunch. Still got some work to do if I’m to beat @a1k0n howe…
Sep 10
DIY Robocars via Twitter
RT @SmallpixelCar: My new speed profile for @RAMS_RC_Club track https://t.co/RtLb7TcgIJ
Sep 10
DIY Robocars via Twitter
RT @SmallpixelCar: Practiced at @RAMS_RC_Club today with my new @ARRMARC car https://t.co/AEu2hCx89T
Aug 28
More…