[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/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/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/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 - random yawing while take-off or landing: SOLVED

random yawing while take-off or landing: SOLVED

News, Setup, Compiling, Flashing, Development

random yawing while take-off or landing: SOLVED

Postby afernan » Wed Dec 19, 2012 6:33 pm

afernan
 
Posts: 1214
Joined: Sat Jul 07, 2012 5:24 pm
Location: Madrid, Spain

Re: random yawing while take-off or landing: SOLVED

Postby kinderkram » Wed Dec 19, 2012 9:02 pm

Good job, Angel! 8-)

If you don't need the copter to keep the heading on take-off & landing (i.e. as a part of the video scene) you can do without.
Usually t-o & l is near where the operator stands, so it does make sense to control the yaw manually.

If the copter also behaves like that on a waypoint/loiter then you'd better try to tune the nav. PIDs first.
I've seen similar behaviours for the yaw - first reacts too slow, speeds up, overshoots, yaws back and so on...
This can be tuned.
But if it only chases the heading on t-o & l then your code might be a solution.

Thanks for your constant investigations and tinkering! :D
Once confirmed your changes might make it into the next release.

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

Re: random yawing while take-off or landing: SOLVED

Postby afernan » Wed Dec 19, 2012 11:15 pm

The yaw problem happens only in takeoff and landing. Loiter is OK since heading is a fix value.
Takeoff will have the heading of the initial position, and landing the last heading before landing start.
Angel
afernan
 
Posts: 1214
Joined: Sat Jul 07, 2012 5:24 pm
Location: Madrid, Spain

Re: random yawing while take-off or landing: SOLVED

Postby afernan » Mon Jan 28, 2013 6:11 pm

This yad fix is still not implemented in r56+.

This is an essential fix for me, unless you have a "perfect" tunned AQ, where this problem is minimissed. I always mod the new code´s to implement this and others like signalling.

LED´s is also an important addittion that many of us are willing to get implemented in the standard.

Angel
afernan
 
Posts: 1214
Joined: Sat Jul 07, 2012 5:24 pm
Location: Madrid, Spain

Re: random yawing while take-off or landing: SOLVED

Postby Kisssys » Mon Jan 28, 2013 11:12 pm

Hi Angel,

I have not messed with missions for a couple of month's but was aggravated with it yawing randomly after a Return to Home and landing.

Returning to a waypoint and then a landing did not have the problem.

Does this fix that problem?

Steve
Steve
Kisssys
Kisssys
 
Posts: 1340
Joined: Sat Jun 23, 2012 9:23 pm

Re: random yawing while take-off or landing: SOLVED

Postby afernan » Sun Feb 03, 2013 11:13 pm

@Steve:

It doesn't matter where you come from for a landing: I allwasys get the problem. My quad is not perfectly equilibrated in yaw ( when I move the stick for a yaw, it also moves laterally a bit). So, when landing, it tries alwais to point the goal, and this generates this kinda random yawing.
With one line of code is solved, as I've wrote before
Angel
afernan
 
Posts: 1214
Joined: Sat Jul 07, 2012 5:24 pm
Location: Madrid, Spain

Re: random yawing while take-off or landing: SOLVED

Postby Max » Sun Feb 03, 2013 11:59 pm

So would the real fix be to fix the yawing problem of your quad? The proposed code is just a hack around whatever the real issue is here.

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

Re: random yawing while take-off or landing: SOLVED

Postby afernan » Mon Feb 04, 2013 8:13 am

afernan
 
Posts: 1214
Joined: Sat Jul 07, 2012 5:24 pm
Location: Madrid, Spain

Re: random yawing while take-off or landing: SOLVED

Postby Max » Mon Feb 04, 2013 12:03 pm

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

Re: random yawing while take-off or landing: SOLVED

Postby afernan » Mon Feb 04, 2013 3:17 pm

@Max:
This video shows the yaw-missalignement problem :

You can also see a "bad" landing on the track-2 of the "kml" attached. Play at the end of the mission.

navSetHoldHeading(navData.targetHeading) tries to keep heading to the target all time. In a landing, for instance, if your descend is perfectly vertical, there´s no problem. But if you move slightly out of the vertical, it will point to the target all time that is a fixed point in the floor. Looking the kml file is easy to understand.

Setting navSetHoldHeading(AQ_YAW); yaw is fixed during all TO/landing on the last yaw position.


My motors are noy tilted (at least this is what I try), but my quad of the video is a bit "extreme": very light (< 800g) with big motor/props (RCT5010 & carbon 15x5) so is highly sensible in yaw. In other much bigher Hexa I have is realy minimised the problem.

Angel
Attachments
009-AQL.zip
(81.61 KiB) Downloaded 213 times
afernan
 
Posts: 1214
Joined: Sat Jul 07, 2012 5:24 pm
Location: Madrid, Spain

Next

Return to AQ Firmware

Who is online

Users browsing this forum: No registered users and 1 guest