LibrePilot Forum

General Category => General Discussion => Topic started by: ppnvedado on August 26, 2017, 12:04:23 am

Title: Not heading movement direction when return home activated
Post by: ppnvedado on August 26, 2017, 12:04:23 am
Hi there. Only a question on return home.
When I activate return home the quad maintains its orientation. There is a way to return home heading movement direction?
Title: Re: Not heading movement direction when return home activated
Post by: f5soh on August 26, 2017, 12:28:01 am
That's the normal/default behavior of YawControl as 'manual'

Look others options for VtolPathFollowerSettings > YawControl in UAVOBrowser
Be warned, orientation changes can be violent.

(https://forum.librepilot.org/index.php?action=dlattach;topic=3777.0;attach=6611)
Title: Re: Not heading movement direction when return home activated
Post by: ppnvedado on August 26, 2017, 12:36:10 am
violent???????!!!!!!!
let's check that!!!!!! 8)
Title: Re: Not heading movement direction when return home activated
Post by: ppnvedado on August 28, 2017, 03:35:03 pm
hi again.
Change made and the quad can handle the direction change, it's really violent. Can this be modify by bank settings?
another thing. have lots of problem calibrating the internal magnetometer. I will use only external and that one seems to work fine. Does INS13 uses internal magnetometer data in calculation even if you configure AuxOnly?
Title: Re: Not heading movement direction when return home activated
Post by: TheOtherCliff on August 28, 2017, 10:31:44 pm
You can reduce yaw rate or even reduce yaw PID 'P'

AuxOnly is aux only.  :)
Title: Re: Not heading movement direction when return home activated
Post by: ppnvedado on August 28, 2017, 10:56:17 pm
thanks, I will do that. I assumed it was only external, but have to know to descart things when something goes wrong, and I have always lot of that  ;)
Title: Re: Not heading movement direction when return home activated
Post by: ppnvedado on September 02, 2017, 09:35:26 pm
too much ??? in programing, so back to 0.
Reprogram board and do all. All seems to work fine, altitude vario and hold position with some variations in altitude. Board covered and foam to reduce light effect.
how important is thermal calibration? never done it.
Title: Re: Not heading movement direction when return home activated
Post by: TheOtherCliff on September 02, 2017, 10:19:40 pm
Thermal calibration mainly helps vertical drift.  In my experience, without it, AV, AH, and GPS modes can drift vertically about a meter per minute.
Title: Re: Not heading movement direction when return home activated
Post by: ppnvedado on September 02, 2017, 10:23:48 pm
then, it will be done!!!!! 8)
Title: Re: Not heading movement direction when return home activated
Post by: ppnvedado on September 04, 2017, 10:27:21 pm
Thermal calibration done!!!
I have oscillations in the first flight minutes, not only up and down, horizontal too. Then steady, almost no movement at all, impressive.
I'll do some testing covering the FC and post result. Any other suggestion?

Another thing, I want to use oplink in data+control. does anyone know where I can find an empty JR transmiter case to put in it BEC+oplink+bluetooth transmitter?
Thanks
Title: Re: Not heading movement direction when return home activated
Post by: TheOtherCliff on September 04, 2017, 11:11:46 pm
Maybe start another thread about that subject so users can see a problem similar to theirs by the title.

Start with the flight mode you are using and whether the oscillation is faster than 1 per second or slower.  A video would help a lot.
Title: Re: Not heading movement direction when return home activated
Post by: ppnvedado on September 05, 2017, 08:39:48 am
ok, you are right, two new subjects.
Title: Re: Not heading movement direction when return home activated
Post by: ppnvedado on November 10, 2017, 08:17:36 pm
That's the normal/default behavior of YawControl as 'manual'

Look others options for VtolPathFollowerSettings > YawControl in UAVOBrowser
Be warned, orientation changes can be violent.

(https://forum.librepilot.org/index.php?action=dlattach;topic=3777.0;attach=6611)

violent orientation changes solved in bank settings by lowering max degrees/sec in Yaw.
Title: Re: Not heading movement direction when return home activated
Post by: ppnvedado on December 13, 2017, 08:58:04 pm
new question about the same.
If you set in vtolpathfolloewrsetting > yawcontrol to movement direction, it's affect also hold position. Why? hold should be hold. there is some way that return home = movement direction and hold = manual or fixed yaw?
Title: Re: Not heading movement direction when return home activated
Post by: TheOtherCliff on December 13, 2017, 09:47:53 pm
Thinking about that a little farther, there should probably be a separate yaw control setting for each GPS mode.  I would guess that the current firmware uses a single setting to avoid having a separate setting for each mode, but still allow you to set it up the way you want your favorite GPS mode to work.

Some GPS modes are ideal for use with POI and you might (or might not) want that.  Other modes may be used in emergency conditions when your FPV stops working so you would want NSEW (or not).  VelocityRoam works best with manual, but what if your FPV stops working?  It may be best to use NSEW.

You may even want two VelocityRoams on your FMS, one with NSEW (when you can't see the model or FPV screen) and one with manual (normal usage).  So maybe the extra yaw mode field needs to be added to the FMS switch setup, like thrust mode.
Title: Re: Not heading movement direction when return home activated
Post by: ppnvedado on December 13, 2017, 11:00:08 pm
I hope that, I use return home as a safety but need stable hold. If you add to this long range in a quad and you have a far return home situation (safety) in a bad position you drain the battery and crash (non symmetric quad, best aerodynamic performance in forward poor in other positions). Will be nice to have.
Title: Re: Not heading movement direction when return home activated
Post by: f5soh on December 17, 2017, 11:55:20 pm
If you set in vtolpathfolloewrsetting > yawcontrol to movement direction, it's affect also hold position. Why? hold should be hold. there is some way that return home = movement direction and hold = manual or fixed yaw?

Try installing and setting your board using this GCS based on Next: LibrePilot-16.09+r551-g5be3aad_YawControl_i686.exe (https://drive.google.com/open?id=1I6le4KD0Ho3rl4bBeCszHEB3-8PpSeXN)
Setting YawControl will be fine for PosHold and RTB.
Title: Re: Not heading movement direction when return home activated
Post by: ppnvedado on December 18, 2017, 07:08:41 pm
ok, I'll do that and will post results after testing my new hardware upgrade.
Right Now modifying frame for FPV+camera stabilization. building and installing 2 axis gimbal.
Again, Thanks to you all!!!!