This is the first post in what I hope will be a mini-series on doing hardware-in-the-loop simulations with ArduPilot. A simulation is something you do to test your autopilot on the ground, where you won't get in trouble. It's an absolutely necessary thing when you're… Continue
Great day of flight testing ArduPilot today. Jordi and I were joined by Jack Poller, and we spent the whole day debugging code, tweaking gains and otherwise building towards the aim of the day, fully autonomous flight. Good news: ArduPilot works great in the air, we… Continue
ArduPilot code, modified version for use on Microsoft Visual Studio. Compatibility with Arduino studio still maintained.
Also contains parser of KML files, for importing fly paths drawn in Google Earth.
We fixed some bugs in the ArduPilot's failsafe code, which runs on the board's second processor, an Attiny45. It now works great, and has a secret "reboot the autopilot" feature. Just toggle the autopilot enable switch on your transmitter five times fast, and it will reset the Atmega168. Great for times when you don't want to land just because a random bug froze the autopilot. Otherwise it just does what it's supposed to do: transfer control from RC to autopilot and back again on command--every… Continue
Just got the first batch of ArduPilot production boards. They're tiny--smaller than a key! Jordi is in San Francisco this weekend and we're going to spend the weekend testing them, including in the air. Hope to have videos next… Continue
Welcome to ArduPilot! Here's how to compete your new board:
You should have received the basic ArduPilot board with all surface-mount components already soldered and the essential firmware already loaded on the chips. All you've got to do now is to solder on some connectors and load the autopilot software. For this first part of that you'll need a strip of breakaway headers, and three… Continue
ArduPilot has two modes: programmed waypoints and return-to-launch (RTL). In the first one, you enter in GPS Latitude and Longitude coordinates of your waypoints into the code with the Arduino IDE. In the second, you don't enter in any waypoints and the aircraft just returns to the Lat/Lon it was at when you first powered on the board (at your launch location).
I fyou're using ArudPilot 2.1 or above, you can set it up with a desktop utility, as described… Continue
Nothing every works exactly the way you'd hoped. We're testing the new ArduPilot boards and it's looks like we'll need to tweak a few more things. One stems from our decision to run the CPU at its top speed, 20Mhz. That's the best way to get maximum performance (it gives us 20 MIPS), but it introduces some incompatibility with the standard Arduino bootloader and libraries, which for legacy reasons run at 16Mhz or… Continue