Just uploaded latest firmware 2.33, and APM 1.1.73.
Have an twinstar II with ardupilot mega and oilpan shield, gps, airspeed, magnatometer.
Setup flew last fall perfectly. I added the battery monitor, the attopilot 90 and a power switch. Sadly, I didn't try it prior to adding those items, so I'm not sure if they are causing problems or not. Nothing is different if I don't have the attopilot sensing wires connected or not.
The elevator servo is "frozen" when in stabilize mode. ie, it works in manual mode, but in stabilize mode it always stays put-- even if I tilt the plane.
The roll(ailerons react appropriately)
In the APM status view, I can see the radio inputs for the elevator (channel 2) does change as I move the stick, it just has no effect. It also does not move when I pitch the airplane.
Once back to manual mode it works fine.
I'm at a loss on what to do now.
Thanks for any idea's. Lincoln
I also seem not to be able to get back to manual mode sometimes after being in stabilize.
Here is the order I am doing things:
1) turn on with transmitter on in the "manual" position. (am using channel 7, with the 3 divisions RTL, Stablilize, Manual)
2) wait with plane level until steady "B" light is on.
3) turn transmitter to Stabilize... (note the elevator freezes at this point)
4) turn transmitter to Manual...
Curiously, it still doesn't work, but stabilize is working REALLY SLOWLY, the servo moves in the right direction, just about 10% of the speed, turtle like.
hmm. am going to try an older firmware and see if it works.
Did you do a new setup, including RC setup?
Ok. so I re-loaded the same 2.33 firware. I went through whole setup process. I re-wrote the settings. I restarted, then after GPS lock I hit reset.
NOW, the elevator will work, even in stabilize mode, however, the stabilizing it at a very slow speed and in the opposite direction -- so it is anti-stabilize in both roll and pitch. Resetting again does not fix this.
Then, with plane just sitting on the kitchen table as I'm typing this, it goes berserk -- and the gyro seems all out of wack, the artificial horizon showing it is going straight down and the stabilize trying to correct it.
So that was directly connecting to it with USB. I also have the 900mhz xbee.
Trying with xbee-
it does same thing-- so stabalize is in the wrong direction for roll and pitch and servo's move very slowly. However, now the elevator does work in both stabalize and manual.
I also did not change the orientation of the boards -- the line of where the servo's connect all are towards the tail of the plane. The GPS connection is to the front. (it is connect to the bottom red board). The gps is GTPA010.
Strange that the behavior is changing just by re-flashing same software. Sigh.
Sounds like you've got a hardware problem. Run the IMU tests in the CLI. Nobody else (out of many hundreds of users) has reported any software issues, and I can't replicate any of this on my boards. Perhaps something got messed up when adding the new sensors?
Yeah, I agree. does sound like hardware. For no great reason I put the power switch on the ground line of the battery... however, after I put the switch in I found that the ground of the attopilot (which is prior to the switch) was getting around the switch, so I attached that to the switch. Could that do something bad?
That may also explain the different behavior when I connect directly with the USB - it does provide power for GPS to stay alive. I wonder if the switch vibrates or bounces. hmm. So I'll take it out and see if it changes anything.
Lincoln, if the elevetor work in stabilize mode but in opposite direction... you may have a reverse issue? Version 2.33 is working pefectly. What I would suggest is to 'flash' your APM with 2.33, go to CLI and erase EVERYTHING (like stated in CLI) and start from there. Try Stabilise and correct reverse behavior using 'dip switch' (since you have APM1). ....forget about log files....Stabilize should work in your living room.... Please let us know how it goes from there ...and be patient... and cool ;) Don't worry It will work, unless you have a busted APM
... forgot to mention... forget Xbee!... minimal setup first, Anyway you don't need it since you are in your living room. Usb cable is ok...
Ok. I'll give it a shot reflashing and then erase all within CLI.
I took out the attopilot and my power switch -- so it should be back exactly as it was when it was working last year. That is what is so strange-- everything was working swimmingly last year.
Connected directly to board with USB.
Switch to CLI, did reset and erase.
Did radio setup in the terminal mode.
changed the one parameter - FLTMODE_CH to 7. Did a write and refresh.
Unplugged. Switched to flight mode.
All is fine in manual mode using transmitter, channel 7 to switch modes). In Stabilize it does opposite(anti-stabilize) in both pitch and roll and the servo's move in slow motion. However, from the radio you can control all axis no problem.
What does "erase" mean? I have some problems with my board, I want to do that "erase". I know how to reset, but Don't know how to erase?
Hey - you probably figured this out by now. when switch is in "CLI" mode there is an erase eprom data command right with the reset command.