3D Robotics

ArduPilot 2.0 Beta Code Released!

I'm delighted to announce the release of the ArduPilot 2.0 software, now in public beta. This software uses the current ArduPilot hardware but handles the FMA Co-Pilot stabilization function itself, without the need for a separate stabilization unit. It is, in short, a complete integrated autopilot. That little ArduPilot board can do a lot! 2.0 Features:
  • All the ArduPilot 1.0 functions: programmable 3D waypoints; return-to-launch mode, in-flight reset ability, fully programmable actions at waypoint and totally expandable board.
  • Now integrates the stabilization and navigation functions, eliminating the need for a FMA Co-Pilot and vastly improving waypoint tracking
  • Controls elevator and ailerons/rudder. Throttle control coming in 2.1
  • "Fly-by-wire" mode stabilizes the aircraft in RC mode, duplicating the function of the FMA Co-Pilot
  • Stores home waypoints and sensor calibration in EEPROM, so they are retained even in the case of a system restart
  • Controls altitude with the elevator, vastly improving performance in wind
  • Currently optimized for the three-channel EasyStar. Versions have also been tested on Funjet and four-channel Superstar (code coming soon)
  • Simple in-field calibration process
  • Can use any thermopile XY sensors (default settings are for the FMA sensor, but Paparazzi, AttoPilot and custom sensors can also be used)
  • Currently supports the EM406 GPS. Support for Locosys and Ublox GPS modules coming soon
  • Uses "chained PID loops" to combine the stabilization and navigation functions seamlessly
What you need (if you already have an ArduPilot and FMA Co-Pilot you don't need anything else): Instructions for modifying the FMA sensor cable to use it with ArduPilot are here. Instructions for in-field calibration and setup of ArduPilot 2.0 are here. (Note: ArduPilot 2.0 put the EM406 GPS module into binary mode, which disables its onboard LED. That means that if you try to use the same GPS module with ArduPilot 1.0, it won't work (unless you program back into NMEA mode with a utility such as this one). However, if you let it sit for a few days without power, the onboard capacitor will run out and it will return to its default NMEA mode and will work with ArduPilot 1.0 again) The next version, 2.1, is now in private alpha. It will include the following:
  • Uses Z sensor for self-calibration in the field
  • Uses small desktop app to load ArduPilot settings and waypoints, without having to work with code
  • Adds throttle to altitude control, improving accuracy and wind performance
E-mail me when people leave their comments –

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

Join diydrones

Comments

  • 3D Robotics
    The Z sensor has two advantages:

    --Super-easy field calibration
    --Better angular resolution for turns (XY alone is good at spotting level flight but not as good at maintaining a 15 degree angle, say)
  • Hello

    This may be a silly question but in your IR conversion to degrees do you assume that the midpoint is 511? Would it not be better to calculate an average IR value in the level position and reference to this instead?

    Thanks for your time.
    Sirk
  • Developer
    The central point should be always 511, no matter the voltage because is referenced.. I never had a problem flying my UAV at all...
  • Hello

    This may be a silly question but in your IR conversion to degrees do you assume that the midpoint is 511? Would it not be better to calculate an average IR value in the level position and reference to this instead?

    Thanks for your time.
    Sirk
  • Chris , the FMA z sensor use in 2.1 code change what ?

    better fly ?
  • Developer
    Nothing, i have the old and new version, the new version just have different resistors... The only difference i've discovered is that the gain of the last version is a little bit higher. That's ok because has better resolution. But also the sensors in the last version are different, so maybe they have changed the resistors to increase the gain and compensate the difference of new sensors against the old ones.
  • Here's a question for Jordi or Chris. How old is the XY sensor your using? I heard the the opamps were changed in early 2008, and I beleive mine is the older model. What are the implications for the PID loop?
  • 3D Robotics
    John Mac: Yes, you can. Just follow the link in the post above. They're going to keep making those sensors to support existing users.
  • I just noticed that FMA has discontinued the FS8 and is now selling (or at least taking orders for) CoPilot II with a new digital output sensor...don't know if you can still get the old sensor.
  • I ordered my ArduPilot on March 11 from SparkFun, and it arrived with the wrong divisor programmed into the AT45 (so the autopilot control input was not being processed properly; effectively ignored). Thank goodness for bcr's comment on Feb 22, using avrdude to reprogram the fuse & reflash the AT45 code (see: http://diydrones.ning.com/profiles/blog/show?id=705844%3ABlogPost%3...)

    I dropped the "-c stk200" from his command line example because I was using the tinyUSB AVR programmer from Lady Ada.
This reply was deleted.