APM 2.0 beta released!

by Chris Anderson [ http://diydrones.com/profile/zlitezlite ]
DIYDrones.com

March 11, 2011

I'm delighted to announce the release of the first public beta of ArduPilot Mega 2.0 [ http://code.google.com/p/ardupilot-mega/downloads/detail?name=APM%202.0.zip&can=2&q= ]. This is a significant upgrade to APM 1.02, and now delivers on full 2-way in-air communications, including real-time mission planning and autopilot control.

[UPDATE:Arduino-free code uploading added to features]

New features/changes include:

---------------------------------------------------------------------------------------------

Huge props to the whole development team: Doug Weibel (project leader), Michael Smith, Jason Short, James Goppert, Michael Oborne (mission planner), Paul Mather (GCS), Lorenz Meier (MAVLink integration), Randy Mackay, Ryan Beall, Darren Corley, Joe Holdsworth, and countless others who have contributed with flight testing and bug catching!

Remember that this is an initial beta release, so there may be bugs and undocumented bits. After the beta-testing period (usually about six weeks) we'll release APM 2.0 final version, and retire APM 1.02.

Loading the code automatically:

Just download the Mission Planner [ http://code.google.com/p/ardupilot-mega/downloads/detail?name=APM_MissionPlanner0415.zip&can=2&q= ] and select "Upload Firmware" from the Tools section of the menu. Make sure APM is plugged into your USB port and you've selected the right port from the Mission Planner menu. Click on "Update Check" and the program will search online for the latest version of the code and load it to APM.

If you want to do a simulation with Xplane, follow the instructions below. That will soon be a firmware option with the Mission Planner, too.

Loading manually (Optional)

[UPDATE: Ignore this section if you don't want to fiddle with the code. Arduino is no longer required to load the code!]

Download the zip file, unzip it to your desktop. You will have two folders inside your APM 2.0 folder, as shown:

Make sure you're using the latest Arduino (0022). Set your Arduino Sketchbook location to the APM 2.0 folder, as shown below. You must exit Arduino and restart it for this to take effect. Within Arduino, open up the ArduPilotMega.pde file within the ArduPilotMega folder, and that will open all the other files. Before you compile, don't forget to select the right board (Arduino Mega 1280 or Arduino Mega 2560)

(Note: in the final version of APM 2.0, you will not have to use the Arduino IDE at all: the Mission Planner will load the firmware for you and check for more recent versions. The Arduino IDE will just be available in case you want to modify or inspect the code. UPDATE: this is now live)

--------------------------------------

Additional instructions:

--If you're doing flight simulation with Xplane, instructions for doing it with APM 2.0 are here [ http://code.google.com/p/ardupilot-mega/wiki/BetaXplane ].

--Make sure you're using the latest Mission Planner [ http://code.google.com/p/ardupilot-mega/downloads/detail?name=APM_MissionPlanner0415.zip&can=2&q= ] and HK GCS [ http://code.google.com/p/happykillmore-gcs/downloads/list ]. In the Mission Planner, make sure you select APM 2.x modes (MAVLink), shown at right.

Known issues:

1) Mission Planner won't write waypoints on Port 0 in HIL mode. Instead, write the waypoints via your Xbee (port 3); remember to change the Mission Planner baud rate to 57k when using the Xbee port.
2) Uploading mission commands is still not fully documented. We'll get to that this week
3) There may be some issues with datalogs not recording. We're looking into it.

4) The manual still describes the 1.02 software. We'll change that to 2.0 during the beta test period, so by the time we release the final of 2.0 the manual is fully updated.

5) This has been mostly tested with 900 Mhz Xbee modules and the XstreamBee adapter, which work great. However, there is an issue with the 2.4 Ghz Xbee modules, which have a slightly different hardware configuration that conflicts with that adapter when sending data upstream. A short term workaround is to solder a jumper from the adapter's CTS to V+ pin. The next version of these adapter boards will include a more graceful fix.

If you find any bugs, please file a report in the Issue Tracker [ http://code.google.com/p/ardupilot-mega/issues/list ]. The dev team will not be responding to bug reports filed in blog comments

12:00am

Copyright 2011 http://diydrones.com/profiles/blogs/apm-20-beta-released