Tom Hastie's Blog (6)

Closed loop Simulation with X-Plane and ArduPilot

Well I'm back in the basement tinkering after a brief hiatus. After a couple in-air resets of the Ardupilot, I…

Continue

Added by Tom Hastie on July 16, 2010 at 12:00pm — 13 Comments

First Flight with Ardupilot 2.6

I had a couple of very brief flights with my slightly modified ArduPilot 2.6 code this evening.

I only had the chance to do a couple of passes in fly by wire mode, but the initial results are promising.

Still some gain tuning to do, but this isn't bad for a first attempt.

In the plot below:

Blue line is bank angle

Red line is pitch

Green is heading.

Blue DOTS indicate times when the Ardupilot was in Fly By Wire…

Continue

Added by Tom Hastie on April 14, 2010 at 7:52pm — 6 Comments

ArduPilot Channel 4 Code

In case it is useful to anyone, here is my code for controlling the 4th channel through the Ardupilot board.

The main thing that stumped me for a while is you need to change timer2 from CTC mode to Normal mode. The default Ardupilot code has Timer 2 in CTC mode which resets the counter every time the throttle compare interrupt is captured. To drive two channels you need to be in Normal mode allowing the timer to go all the way to 255 before resetting.

Channels 3…

Continue

Added by Tom Hastie on April 14, 2010 at 7:00pm — 10 Comments

OpenLog Resetting Issues

I think I've debugged one of the issues I was having with my OpenLog connecting to Ardupilot. This will probably be blatantly obvious to you veteran Arduino Programmers, but it got me, so I figured I'd post in case it helps anyone else.

After a few flights with only the open log and the ArduIMU, I decided to integrate the ArduPilot board and move the logger to the Ardupilot board. My ArduIMU was now talking to the…

Continue

Added by Tom Hastie on March 31, 2010 at 8:30am — No Comments

More ArduIMU Fun

Had a few more flights with the ArduIMU yesterday.

I should mention, that with regards to RC flying, my main interest is competing in IMAC (Scale Aerobatics). Basically it's flying giant scale aircraft through predefined aerobatic patterns for judges. Last year I competed in intermediate (3rd of 5 difficulty levels) and this year I'll be moving up to Advanced (4th of 5 levels).

Arising from this interest, my long term goal would be to get an autopilot doing…

Continue

Added by Tom Hastie on March 22, 2010 at 1:50pm — 24 Comments

Maiden Ardu-Flight for me

It was my first flight with an Ardu-anything today. Working towards getting an ArduIMU/ArduPilot working.

So far it was just a data logging flight. I had a GPS and ArduIMU installed in my Stevens Aero Edge 540 along with an OpenLog from Sparkfun.

After…

Continue

Added by Tom Hastie on March 19, 2010 at 1:21pm — 3 Comments

© 2019   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service