Hey Everyone, I'm back fiddling with my ArduPilot after an absence caused by a couple of crashes and just being busy with summer. Anyways, I'm having an issue with my ArduPilot board that is starting…Continue
I've been working on getting Ardupilot 2.6 working. I've never had any other Ardupilot load running on this particular board. One strange thing I've found is that when I switch to any auto mode (RTL,…Continue
Hi, I've been working with ArduPilot 2.6 load currently in the repository. In my particular airframe, I need to reverse both the ailerons and the elevator, so in my header file, I have REVERSE_ROLL…Continue
Hey all, I was hoping for some tips. I'm trying to get 4 channels (ail/ele/thr/rud) of input and output working on my ArduPilot Board. I'm starting with the recent 2.6 version of the code. I've…Continue
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
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.
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