Arducopter 2.8.1 is now in the mission planner and in the downloads area! Remember to do your MP configuration again after loading this code, since it erases your EEPROM and sets it to the new defaults. 

Note: Issues with APM1 user's level feature not working are now resolved.  If you installed 2.8 we highly recommend you upgrade to 2.8.1 as 430 extra bytes of RAM have been freed up which reduces the chance of memory corruption (although we haven't seen any cases of this on the APM2 at least) .

Note #2: this release has not gone out for Traditional Helicopters until they can be tested fully.  Flip and Toy mode have also not been fully tested.

Improvements over 2.7.3:

  • Improved ACRO mode (Leonard Hall)
  • Improved stability patch to reduce "climb-on-yaw" problem (Leonard, Rob Lefebvre, Randy)
  • Rate controller targets moved to body frames (yaw control now works properly when copter is inverted) (Leonard/Randy)
  • Less bouncy Stabilize yaw control (Leonard)
  • OpticalFlow sensor support for APM2.5 (Randy)
  • DMP works again by adding "#define DMP_ENABLED ENABLED" to APM_Config.h You can also log DMP vs DCM to the dataflash by adding "#define SECONDARY_DMP_ENABLED ENABLED" (Randy)
  • Watch dog added to shutdown motors if main loop feezes for 2 seconds (Randy)
  • Thrust curve added to linearize pwm->thrust. Removes deadzone found above 90% throttle in most ESC/motors (Randy)
  • More timing improvements (main loop is now tied to MPU6000s interrupt) (Randy)
  • GPS NMEA bug fix (Alexey Kozin)
  • Logging improvements (log I terms, dump all settings at head of dataflash log) (Jason)

 

Bug Fixes / Parameter changes:

  • fixed skipping of last waypoint (Jason)
  • resolved twitching when no GPS attached (Tridge)
  • fixed loss of altitude if alt hold is engaged before first GPS lock (Randy/Jason)
  • moved Roll-Pitch I terms from Stabilize controllers to Rate controllers
  • TILT_COMPENSATION param tuned for TradHeli (Rob)


Code Cleanup:

  • HAL changes for platform portability (Pat Hickey)
  • Removed INSTANT_PWM (Randy)


As per usual PIDs are optimised for the 3DR/jDrones quad with 850 motors and 10" props. If you're using more powerful motors/props and are seeing bad flight behaviour in stabilize, start by turning down Rate Roll P in 25% steps.

Please note that on this release we've moved the Roll and Pitch I terms from the Stabilize controller to the Rate controller. There's some evidence that says this can lead to flips on take-off if you move the roll or pitch sticks around as you take-off so we recommend you leave these sticks in the middle until you're in the air.

Please feel free to report issues you find in the discussion below and/or add them to the issues list.

Thanks and enjoy!

Tags: ACM, APM1, APM2, ArduCopter, Heli, Quad

Views: 112625

Reply to This

Replies to This Discussion

Thank you ....... I will test and fun it.

This sounds great! As soon as the monsoons stop, I will check it out!.

Any plan of implementing an autotune function? Even if it's a seperate firmware  (because of space restrictions) it would be extremely usefull. That and a cheap bluetooth function, I can't tell you how much I despise having to land, disconnect batt and then plug in usb.

Anyways, I will go play :)

Better...... use the 3dr radios.

You can set autotune to channel 7.

How do we use auto-tune is it documented anywhere ?

Guys, I'm not sure what you're referring to with autotune.  I think you mean "autotrim" or "autolevel".  This is not a PID autotune feature if that's what you're thinking.

That is "auto-trim" not "auto-tune" -- I assume that by Auto-tune, Victor is asking about a PID self-tuning algorithm. The Channel 7 thing is not really auto-anything, but it is a handy way to trim out drift.

Whoops.. yea.

For an almost auto-trim, use channel 6 and dial it in to your preference. Described here (look for In-Flight Tuning):

 http://code.google.com/p/arducopter/wiki/AC2_Tweaks

it should be also useful even a batch log analisys (better online) to give some automatic advices  like this http://www.diydrones.com/group/arducopterusergroup/forum/topics/cw-...

i dont have experience but suppose from logs there are a lot of information that can generate warning/advice/troubleshooting etc. etc. 

may be we open a thread to collect ideas?

First testing on an APM1 and a quad.

Previously having many good flights on 2.7.3

Loaded 2.8 through the Mission Planner 1.2.14.

The eeprom was detected as change and was erased and I went through radio calibration ok and set up my hardware options (compass, sonar).  I also set and saved my modes. 

That is when I started running into problems.  

1.  Tried an Arducopter X-frame level.  Took a very long time (25 seconds or so with weird flashing light pattern) and came back with a dialog box:

Failed to level : ac2 2.0.37+ is required.

2. I tried entering the CLI through the Mission Planner and it is not possible to get the prompt. I get the start messages repeating over and over as if the software is restarting:

Init ArduCopter V2.8

Free RAM: 1033
FW Ver: 120
----------------------------------------


load_all took 5468us

Press ENTER 3 times for CLI

Init ArduCopter V2.8

Free RAM: 1033
FW Ver: 120
----------------------------------------


load_all took 5456us

Press ENTER 3 times for CLI

Init ArduCopter V2.8

Free RAM: 1033
FW Ver: 120
----------------------------------------


load_all took 5468us

Press ENTER 3 times for CLI

Init ArduCopter V2.8

Free RAM: 1033
FW Ver: 120
----------------------------------------

etc.

I gave up at this point and tried reloading 2.7.3. It isn't available from the previous firmware options (latest available is 2.7.2), so I loaded it through Arduino 1.0.1 from my zip of the source and all is working again. 

Heino

Heino,

I also have APM1 and a quad.

Code loaded fine.

I used the latest MP.

Team, thanks!

Flew it in my lounge and a bit in very windy/turbulent backyard, perfect :-)

Will try the rest tomorrow.

Gustav,

Thanks for the info. I've reloaded three times now with 2.8 and it is flaky on my setup. I'll try loading on my second apm1 to try to eliminate my hardware as the issue.

RSS

© 2014   Created by Chris Anderson.

Badges  |  Report an Issue  |  Terms of Service