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.
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.
Well. no xbee, no gps, no airspeed. reflash, in CLI did a reset and erase. Did radio setup. wrote parameters. I unplugged and re-plugged in everything as well(just in case something wasn't seating properly.).
I connected my channel 7 to the 8th pins so didn't need to change any parameters anymore.
behavior is same. Super slow-motion anti-stabilize when in stabilize mode. Manual mode is fine. I also have not had any strange reboots.
IMU test looks fine. radio test looks fine. At least the behavior is consistent now.
The log files, when it went crazy.