
Ralph, APM doesn't support the regular Arduino Mega 2560 board. It uses the custom APM 2560 board. They're also sold as complete kit.
Ralph, don't get discouraged, large chunks of the necessary code are already working and I'd be happy to help answer questions you might have. Though email is easier for me.
Most of what needs to be done is figuring out how all the parts fit together and make it work with the APM. There are parts of the larger problem that I am already committed to working on, however I am not available to work on integrating the APM until I can dequeue my to do list.
MAVLink is really two separate things
First it is a lightweight communications and marshaling protocol that can run on a microcontroller.
This is already running on the APM
and on the ROS side there is a driver that handles generic messages
http://www.ros.org/wiki/lcm_mavlink_ros
Second there is a set of commands that can be sent over the protocol to control the MAV
This is a matter of getting the APM to act on incoming messages
This should be at least partially done for qground control integration but there is probably
more work to be done.
http://qgroundcontrol.org/mavlink/start
This also requires that ROS is capable of processing and formatting these messages
AFAIK, this is where most of the work is. You need to figure out how to get the GPS
position, and etc, from a generic MAVLink message into a properly formatted ROS message.
Also keep in mind that this is an area of open research and there are quite a few groups working on different parts of the problem. The current version of ROS has some issues with robots that operate in 3D, however it is quickly improving.
I suspect the easiest way to work on this type of project is to start with a task you want to use ROS/APM for and work backwards to add the necessary functionality.
Comment by Ralph Castain on May 28, 2011 at 3:19pm 
Comment by Ralph Castain on May 28, 2011 at 6:40pm
Comment by Ellison Chan on September 16, 2011 at 8:42am Correct me if I'm wrong, but currently there is no ground station software that runs in Linux. So, before any ROS integration is going to be useful, I think we will need a Ground Station software that runs in Linux. Otherwise we'll need a Windows PC to run a ground station, another one to run Linux/ROS.

Ellison, I'm afraid you're mistaken. QGroundControl is native Linux.
Comment by Ellison Chan on September 16, 2011 at 8:53am Thanks Chris. I'll try it out. This helps a lot. Now, I don't have to keep rebooting my PC. I'm learning ROS myself, right now, so might use the my APM as the first try at making a first node.
Comment
Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.51 members
136 members
51 members
185 members
24 members
© 2013 Created by Chris Anderson.
Powered by

You need to be a member of DIY Drones to add comments!
Join DIY Drones