APM 2.012 Factory Reset issues

I've erased EEPROM completely, then factory reset, then setup everything and run every test. Everything looks fine. I even trimmed my RC transmitter, so that in CLI radio test in neutral postions it shows 0 for all used channels except ch8. Tried many times.

Always getting this line on factory reset (even after few times reflashing same 2.012 hil mavlink firmware):

EEPROM format version  2 not compatible with this firmware (requires 2)

 

Another bug that I've found is that Yaw PID values by default is always zero.

Gains----------------------------------------

servo roll:P: 0.400, I:0.000, D:0.000, IMAX:500

servo pitch:P: 0.600, I:0.000, D:0.000, IMAX:500

servo rudder:P: 0.000, I:0.000, D:0.000, IMAX:0

nav roll:P: 0.700, I:0.000, D:0.020, IMAX:500

nav pitch airpseed:P: 0.650, I:0.000, D:0.000, IMAX:500

energry throttle:P: 0.500, I:0.000, D:0.000, IMAX:20

nav pitch alt:P: 0.650, I:0.000, D:0.000, IMAX:500

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

Join diydrones

Email me when people reply –

Replies

  • Developer

    The "error" message you get on factory reset is normal behavior.   We do not try to catch this "exception" as the we are getting short on code space and it is not considered worth the space.

     

    By "Yaw PID values by default is always zero", do you mean that the default is zero, or that when you change the values in the config file that the values do not appear after reset?  If you mean the default that is again normal behavior.  The rudder can can be controlled using a PID loop off the y axis accelerometer and/or a feedforward off the aileron output.  The default is to use "Rudder_Mix" to feedforward from the aileron output as this works well enough for most airframes and is much easier to tune.  Tuning the yaw PID loop is probably the most "advanced" loop to tune.

     

    If you did mean that values changed in the config file do not appear after a reset, please enter an issue in the repository issue tracker.

This reply was deleted.

Activity

DIY Robocars via Twitter
Practice virtual race this Saturday; the real thing will be on Oct 3 https://www.meetup.com/DIYRobocars/
yesterday
DIY Robocars via Twitter
yesterday
Derrick Davies liked lisa TDrones's profile
yesterday
DIY Robocars via Twitter
Monday
DIY Robocars via Twitter
RT @SahikaGenc: AWS DeepRacer & Hot Wheels Track https://youtu.be/4H0Ei07RdR4 via @YouTube
Sep 14
DIY Robocars via Twitter
Sep 8
DIY Robocars via Twitter
RT @davsca1: We are releasing the code of our Fisher Information Field, the first dedicated map for perception-aware planning that is >10x…
Sep 8
DIY Robocars via Twitter
RT @SmallpixelCar: How this works: 1)object detection to find cones in single camera image, 30 frames/sec on @NVIDIAEmbedded Xavier. 2)comp…
Sep 8
DIY Robocars via Twitter
RT @SmallpixelCar: Use two color cones to guide the robocar. No map needed, on onsite training needed. Just place the cones and it will fol…
Sep 7
DIY Robocars via Twitter
Sep 7
DIY Robocars via Twitter
RT @roboton_io: Great to see http://roboton.io running at 60fps on the cheapest #chromebook we could find! #edtech #robotics #educat…
Sep 3
DIY Robocars via Twitter
RT @openmvcam: Crazy in-depth article about using the OpenMV Cam for Astrophotography: https://github.com/frank26080115/OpemMV-Astrophotography-Gear https://t.co/BPoK9QDEwS
Sep 3
DIY Robocars via Twitter
RT @openmvcam: Hi folks, it's finally here! Our first draft of our Arduino Interface Library is out! It works over SoftwareSerial, Hardware…
Sep 3
DIY Robocars via Twitter
RT @chr1sa: Please let them have an open API. This would be perfect for @DIYRobocars races https://twitter.com/NintendoAmerica/status/1301513099707658246
Sep 3
DIY Robocars via Twitter
RT @SmallpixelCar: Lanenet pretty much used all my GPU power on @NVIDIAEmbedded Xavier since I optimized with tensorRT. I need to run anoth…
Sep 3
DIY Robocars via Twitter
RT @LyftLevel5: Our @kaggle competition on Motion Prediction for Autonomous Vehicles is now live! Experiment with the largest-ever self-dri…
Aug 24
More…