[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4792: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4793: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
AutoQuad Forum • View topic - AQ6 stable flight without gps

AQ6 stable flight without gps

Info and discussion about the original AQ v6 flight controller

Re: AQ6 stable flight without gps

Postby LPR » Thu Jun 18, 2015 4:53 am

Johannes

I see in your log that your RC channel 6 starts out at -700 and then goes to 350 micro seconds. If your using channel 6 for flight mode control then you may be flying in APH and not manual control. The only difference in APH, without a GPS 3D lock, is that you can't arm in APH and you have altitude control with the barometer.

If you are in APH when you get a 3D lock you should expect to have control problems like you described. After a minute or two the GPS gets more accurate and then APH is very precise if you don't have some of the GPS signals blocked by trees.

Larry
LPR
 
Posts: 1323
Joined: Tue Jun 26, 2012 1:29 pm
Location: MN, USA

Re: AQ6 stable flight without gps

Postby johannes3154 » Thu Jun 18, 2015 7:37 pm

Hello,
today i did some testing and i think i got a bit further^^.
I did a hover in 10cm height indoors and stable, then i went outside and held it over my head and then i did a short hover.
Test 1 and 2 was successful. Though test 1 was a indoor test i had no gps signal. When i was holding the copter over my head i had a stable 3d fix and the copter behaved normally. This motivated me to test a outdoor freeflight. This was test 3 in my logfile. First everything was as it should be, but right after the takeoff, the blue gps light went off and motor number 3 decelerated and the quad started to flip. My reaction was to set throttle to 0 and it landed without damage:-). I think the gps antenna is damaged somehow, could that be? Perhaps i should order a spare one for testing.
I attached a screenshot of the qGroundControl where u can see the stick positions and flap positions of the radio i configured for manual flight. The gui also says manual.
@lpr i think i switched to set home position last time and then back, just to be sure this was not the fault.
I configured the limits for channel 6 to -350 to 350. The gui says -350 for manual 0 for pos hold and 350 for mission mode.
Does that mean i was in mission mode? :shock:
Attachments
012-AQL.LOG.zip
(4.27 MiB) Downloaded 996 times
johannes3154
 
Posts: 56
Joined: Sat Jun 14, 2014 7:33 pm

Re: AQ6 stable flight without gps

Postby johannes3154 » Thu Jun 18, 2015 7:39 pm

picture of my normal take off configuration
Attachments
20150618_194044.jpg
johannes3154
 
Posts: 56
Joined: Sat Jun 14, 2014 7:33 pm

Re: AQ6 stable flight without gps

Postby kinderkram » Thu Jun 18, 2015 7:55 pm

kinderkram
 
Posts: 2911
Joined: Fri Jun 22, 2012 7:47 am

Re: AQ6 stable flight without gps

Postby chschmid » Thu Jun 18, 2015 7:57 pm

Hi Johannes

Good you could land your craft without damage. Instead of closing the throttle, you can always switch back to manual (throttle at center) and land more graceful. :)

Flight modes:

<-350 = manual
>=-350 to <=350 = Pos Hold
>350 = mission mode

So you where in manual mode. But RC can jump 2 or 3 points easily - I would set the channel to -700 to + 700 as we suggest.

Check your GPS connection. You should always see a steady Hacc GPS value of 0.4 - 0.8 for good performance. I usually do not use GPS modes (PH and NAV) with Hacc above 1.0.


Cheers
Christof
chschmid
 
Posts: 1800
Joined: Wed Jul 11, 2012 7:41 pm
Location: Herrliberg, Switzerland

Re: AQ6 stable flight without gps

Postby Max » Thu Jun 18, 2015 8:16 pm

Actually the switch thresholds (in the fw code) are +/- 250, so 350 gives a safe overhead. < or > 350 is also fine, of course. The important part is that middle switch value should be > -250 and < 250 (which isn't obvious from the hints in QGC).

-Max
Max
 
Posts: 2814
Joined: Mon Aug 13, 2012 9:45 pm
Location: Near Ithaca, NY, USA

Re: AQ6 stable flight without gps

Postby johannes3154 » Thu Jun 18, 2015 8:35 pm

the strange thing is i never tried a mode other than manual, what gives me headaches is, that even when i am in manual mode, i can fly normally and stable, but as soon as i get a gps fix it goes mad, so i sadly cant switch to manual mode to land softly:-(. This also prevents me from testing in open airspace. :D
The compass stands still and doesnt move a bit if i dont move the aircraft.
I always go testing with live telemetry and do a preflight check with the groundcontrol.
I think even magnetic interference should not have any influence here since the dimu firmware doesent use the mag after arming, or after the init phase. I saw in the logs, that the mag is a flatline after arming the aircraft.
One more point that gives me headaches is that if i test the aircraft above my had and holding it in my hands, i cant reproduce that behaviour, it behaves normal (with 3d fix) and counters the movements of my hand. :idea: Taking of from the ground is impossible. If i disconnect the gps antenna, i can easily take off from the ground to and hover in place for minutes.
johannes3154
 
Posts: 56
Joined: Sat Jun 14, 2014 7:33 pm

Re: AQ6 stable flight without gps

Postby kinderkram » Thu Jun 18, 2015 9:01 pm

Man, this is giving us headaches, too! :?

Ok, replace the antenna. While waiting on a new one you could do further tests with a simple Dipole antenna:
http://autoquad.org/wiki/wiki/m4-microc ... PS-Antenna

Now that you know how to set it up you could also start from scratch again. That´s sometimes the only way to find out.
Especially check the plugs of the GPS port, both on the wire and the board.

If this doesnt help, you might have a rare case of bad GPS module or something else in the way producing abnormal behaviour....
kinderkram
 
Posts: 2911
Joined: Fri Jun 22, 2012 7:47 am

Re: AQ6 stable flight without gps

Postby johannes3154 » Thu Jun 18, 2015 9:09 pm

jap;-)
I will also try to disconnect all my peripherals like the wireless telemetry and the teensy for the taranis telemetry and do a bare metal test. Also i will build a gps shield.
But there is still one question that drives me mad, where is the difference between manual mode without gps antenna and manual mode with gps 3d fix?
Because in any case something goes wrong, i want to have the ability to switch to manual and have the rudimentary gyro acc stabilization to land savely land the craft.
johannes3154
 
Posts: 56
Joined: Sat Jun 14, 2014 7:33 pm

Re: AQ6 stable flight without gps

Postby kinderkram » Thu Jun 18, 2015 10:18 pm

Of course this is the way it should work. Manual is manual, no matter what the GPS says.
This is the first case I´ve ever heard of, where a 3D fix makes it freak out.

"Something" is triggering that odd behaviour and so far no real hint of what it could be.

Could be both (corrupted) firmware or bad hardware or a fatal combination of both.
Atm I`m tending to a hardware problem...

btw: what does the MCU load and tx/rx losses say in the status details? Any significant change when the 3D fix occurs?
kinderkram
 
Posts: 2911
Joined: Fri Jun 22, 2012 7:47 am

PreviousNext

Return to AutoQuad 6 Flight Controller

Who is online

Users browsing this forum: No registered users and 8 guests

cron