[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 384: 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 - Return To Launch & Land workaround (New Beta Code Working)
Page 1 of 2

Return To Launch & Land workaround (New Beta Code Working)

PostPosted: Tue Apr 23, 2013 12:31 am
by skew
I recorded a video and uploaded a log file hopefully a guru and figure out whats going on. If you do a mission with RTL & landing it will fail until you do a mission with WP & landing

Mission: 1
Takeoff
Waypoint
Return to Launch
Landing

Mission: 2
Takeoff
Waypoint
Waypoint
Landing

After mission 2 is completed Mission 1 will work everytime



Log FIle & Mission

Re: Return To Launch workaround Let's get it working :)

PostPosted: Tue Apr 23, 2013 1:21 am
by LPR
I bet if you take a look at the text file for your missions you might see what is happening to make the RTL not work. Using a text file to save a mission does not seem to make much since to me. Excel files would be better I think.

Larry

Re: Return To Launch workaround Let's get it working :)

PostPosted: Tue Apr 23, 2013 3:13 am
by Kisssys
[quote="skew"]I recorded a video and uploaded a log file hopefully a guru and figure out whats going on. If you do a mission with RTL & landing it will fail until you do a mission with WP & landing

I noticed this problem back last November, most people just use a waypoint to come back to. You might look at some of the post's about wandering yaw and see if the code changes they are trying solves this problem.

Re: Return To Launch workaround Let's get it working :)

PostPosted: Tue Apr 23, 2013 6:07 am
by skew
So does the Return to launch work for everyone else? I was under the impression back in November that RTL didn`t work on the current firmware. That's why I have been using waypoints for auto landing. Maybe my random yawing and RTL problem are related. Everything thing else is doing perfect on my AQ it is flying the best that it ever has, if I can fix these 2 little quirks there is nothing left for me to do but fly it until it wears out.

Re: Return To Launch workaround Let's get it working :)

PostPosted: Tue Apr 23, 2013 1:15 pm
by LPR
Skew

I get random yaw when I use negative numbers for yaw angles. If I give a WP just enough time to yaw to the new angle I get a smooth yaw control. To fly a square I use 1 second to, for the most part, get good yaw at the corners.

Larry

Re: Return To Launch workaround Let's get it working :)

PostPosted: Sat Aug 03, 2013 10:56 am
by skew
UPDATE 8-3-13

I have did some more testing and found an quicker method. You don't have to fly now for the workaround to work. Maybe some coding guru might be able to figure out whats going on. I also discovered that you can use TAKEOFF, WP, or ORBIT and the workaround still works. There is some parameter in the AQ that gets set on that mission slot when the AQ is "ARMED" when using TAKEOFF, WP, or ORBIT that RTL does not do right off from the start. And of course when you unhook power it resets whatever the workaround does.

Ver 1. Quickest but AQ is "ARMED" while sending Missions to it. (maybe the easiest way to figure out whats changing if someone has a debug setup)

If you "ARM" the AQ send a mission to the AQ with WP & land then switch the WP to RTL and send again. Fly your mission it will return and land at takeoff point .

Ver 2. Safer but takes more time.

Send mission to AQ with WP and land while AQ is "disarmed". Then "Arm" AQ (important! only works if you "ARM" it) then "Disarm" AQ change WP to RTL and send back to AQ, "Arm" and start mission

Here is a video showing Ver 1




Also the workaround only makes RTL&land work on that mission WP slot if you do the work around fly the mission and add more WP to the mission that would move the RTL to another slot you have to do the workaround again.

ie.
first mission using work around
1. takeoff
2. WP
3. RTL
4. Landing

second mission add another WP
1. takeoff
2. WP
3. WP
4. RTL
5. Landing

RTL has moved from slot 3 to slot 4 now and will not work until you do the workaround to "fix" slot 4 then it will work.

Re: Return To Launch & Land workaround (NEWER EASIER WAY FOU

PostPosted: Tue Aug 06, 2013 2:18 pm
by kinderkram
Thanks for investigating on that matter, skew!

RTL on my Hexa works very predictable. It sometimes comes in too low and regains the altitude of the launch point by rising when the point was reached.
The random yawing in most cases I've seen could be worked around by increasing the WP target radius. If the radius is too small, especially under windy conditions the FC will try to match the heading without reaching it immediately.

You may want to try this also, i.e. using a radius of 2m.

Re: Return To Launch & Land workaround (NEWER EASIER WAY FOU

PostPosted: Tue Aug 06, 2013 2:59 pm
by skew
Kinderkram, Is your AQ landing after reaching the RTL point??

Re: Return To Launch & Land workaround (NEWER EASIER WAY FOU

PostPosted: Tue Aug 06, 2013 9:21 pm
by kinderkram
Nope, it stays where I set the home point.
Will try some of your workaround in the next week...

Re: Return To Launch & Land workaround (New Beta Code Workin

PostPosted: Mon Apr 07, 2014 1:13 am
by skew
UPDATE:

I upgraded to the new DIMU and started over again with R372 sadly The landing code is still broken. Kisssys made some beta code a few months back for me to test I have been using it and it has been working fine. I added his changes and Live Waypoint recording, and changed the RTH back to the original function (Rubberbanding). I attached a copy if anyone wants to try out this Beta rom with all of the fix-ens. It is compiled for ver 6.1 Dimu I also included the modded source files :)

Video showing off the new DIMU