LibrePilot Forum

Users => Applications - Autonomous Flight => Topic started by: omega3 on May 08, 2016, 06:00:40 pm

Title: Revolution and GPS..
Post by: omega3 on May 08, 2016, 06:00:40 pm
I put a revo on my quad.... Is normal that if GPS have not signal i can t arming Motors?

Inviato dal mio G7-L01 utilizzando Tapatalk

Title: Re: Revolution and GPS..
Post by: f5soh on May 08, 2016, 06:30:42 pm
That normal, if you use a fusion Algorithm that use GPS you need a good GPS data before takeoff.
Title: Re: Revolution and GPS..
Post by: omega3 on May 08, 2016, 09:21:57 pm
Ok ...but if i don t use the algorithm i cant use GPS and  assist mode....is correct ?

Inviato dal mio G7-L01 utilizzando Tapatalk
Title: Re: Revolution and GPS..
Post by: omega3 on May 08, 2016, 09:25:12 pm
What does it means config and ? In Red color when i set return base or position hold ?...i can t arming ...

Inviato dal mio G7-L01 utilizzando Tapatalk

Title: Re: Revolution and GPS..
Post by: f5soh on May 08, 2016, 09:48:29 pm
Click on [ ? ] and look the tooltip

Usually a flightmode that use GPS at some point and fusion algorithm to basic.
Title: Re: Revolution and GPS..
Post by: omega3 on May 08, 2016, 10:13:32 pm
(http://uploads.tapatalk-cdn.com/20160508/8191345939c6875aea748d81549aef73.jpg)

Inviato dal mio G7-L01 utilizzando Tapatalk

Title: Re: Revolution and GPS..
Post by: f5soh on May 08, 2016, 10:18:07 pm
yes, i know this screen. :)

Just click on [ ? ] with your mouse and look the tooltip.

Do the changes needed to remove the config alarm.
https://librepilot.atlassian.net/wiki/display/LPDOC/SystemHealth
Title: Re: Revolution and GPS..
Post by: omega3 on May 08, 2016, 10:21:23 pm
? Say : One stabilized mode use a wrong thrust mode , like cruizecontrol with rate on pich/roll.
But i dont use cruizecontrol with rate

Inviato dal mio G7-L01 utilizzando Tapatalk

Title: Re: Revolution and GPS..
Post by: f5soh on May 09, 2016, 12:03:45 am
Read again what the tooltip says just before the cruisecontrol stuff ?

Something about INS13 missing and a Gps mode set in flight mode tab ?
Title: Re: Revolution and GPS..
Post by: omega3 on May 09, 2016, 10:52:40 am
This afternoon i put it ...

Inviato dal mio G7-L01 utilizzando Tapatalk

Title: Re: Revolution and GPS..
Post by: omega3 on May 09, 2016, 06:13:49 pm
(http://uploads.tapatalk-cdn.com/20160509/0865393c6c872871a653a9d58a54fd92.jpg)

Inviato dal mio G7-L01 utilizzando Tapatalk

Title: Re: Revolution and GPS..
Post by: omega3 on May 09, 2016, 06:15:51 pm
Today i try to put position hold and this is the results (http://uploads.tapatalk-cdn.com/20160509/f041f4525b23597e2b9abd0bb3487131.jpg)
Then i try with return to base and this is the results..(http://uploads.tapatalk-cdn.com/20160509/ae456d68c1681fcaa29e1d323e1f449b.jpg)

Inviato dal mio G7-L01 utilizzando Tapatalk

Title: Re: Revolution and GPS..
Post by: omega3 on May 09, 2016, 06:16:56 pm
My settings with pos hold and with ret base (http://uploads.tapatalk-cdn.com/20160509/e75a080e8b4dd4ddd8be31cfdf0128f6.jpg)
(http://uploads.tapatalk-cdn.com/20160509/7cb331ff592646356d39ad0c9b78b6e7.jpg)

Inviato dal mio G7-L01 utilizzando Tapatalk

Title: Re: Revolution and GPS..
Post by: f5soh on May 09, 2016, 06:59:08 pm
No need the "GPSAssist" tag when the flight mode is already a GPS flight mode.

https://librepilot.atlassian.net/wiki/display/LPDOC/Gps+assist

Title: Re: Revolution and GPS..
Post by: omega3 on May 09, 2016, 07:34:10 pm
Oh....ok ...i ll  try to do this ...

Inviato dal mio G7-L01 utilizzando Tapatalk

Title: Re: Revolution and GPS..
Post by: omega3 on May 10, 2016, 09:37:19 pm
Ok...you are right.... Thank you very much

Inviato dal mio G7-L01 utilizzando Tapatalk

Title: Re: Revolution and GPS..
Post by: Luis poza on May 24, 2016, 09:04:28 am
I dont know if something can help me,
I have a GPS running and status is green but always remain red alarm in Atti, and Mag when I config GPS assist and GPS algoritm,

If I select Basic and remove GPS assist then it is working fine

Do you know why??
Title: Re: Revolution and GPS..
Post by: Mateusz on May 24, 2016, 09:37:00 am
Hi Luis,

Complementary Basic sensor fusion algorithm just uses Accel+Gyro https://librepilot.atlassian.net/wiki/display/LPDOC/INS13+-+GPS+Navigation
So it will work for basic just flying. For any GPS features you need INS31 sensor fusion algorithm and correctly working and calibrated ALL sensors (accel,gyro,baro,mag,gps).  In case just one sensor gives bad samples you won't be able to fly or sometimes even arm(safety check). You must have nice three curves stable without oscillations in Attitude states in Scopes with INS31, stable model in PFD and never ever Mag or GPS should be different from Green (no jumps to orange or worst red). Too many people just try and fail instead of fixing the problem and checking first that really all sensors are giving good data.

Most problems people have is with Magnetometer, which should be mounted on a mast (some GPS units include magnetometer because of that). This keeps that sensor away from all electronics. Also every GPS may have Mag mounted in different orientation so that should also be set correctly in GCS.
For good results I recommend 14-16cm mast.

Other problem people have is default altitude hold PIDs, this should be easy to test and tune in Altitude Hold tab by using Complementary Basic and Altitude Hold thrust mode. Coper should not oscillate/sky rocket but should maintain it's altitude. This PIDs are different from stabilization PIDs which of course should also be tunned to match your build for good stability and maneuverability (default ones are just a starting point that is determined such that it should work on most builds and allow you to get in the air).
Title: Re: Revolution and GPS..
Post by: Luis poza on May 24, 2016, 10:16:23 am
Ok thanks I will check all things
Title: Re: Revolution and GPS..
Post by: Mateusz on May 24, 2016, 11:35:46 am

Once you get that sorted out and all looks good, green stats that's not the end. Also remember for INS31 all sensors are used, next step is to make sure baro and altitude hold thrust mode is working.
Title: Re: Revolution and GPS..
Post by: Luis poza on May 24, 2016, 05:08:44 pm
I have mounted a mast of 9 cm long , is it not enough ?

Could you please tell me how can i check the baro and att?

I cann,t find it

Thaks
Title: Re: Revolution and GPS..
Post by: Luis poza on May 24, 2016, 05:20:47 pm
 Other question , how can put a PFD in scope? I just try to modify but  nothing happen
Title: Re: Revolution and GPS..
Post by: Mateusz on May 24, 2016, 05:28:22 pm
Just use Scopes and attitude states to see if stable. Also you can add other sensors like baro instead of gryo. I don't know if 9cm is enough there is no rule on thumbs, depends on build I get good mag with mast 14cm. Never tried lower because it looks too close to main power wires in mine. If you want to get feeling how mags are sensitive check Mag in scopes and move something metalic in its proximity.
Title: Re: Revolution and GPS..
Post by: omega3 on May 27, 2016, 09:44:43 pm
No need the "GPSAssist" tag when the flight mode is already a GPS flight mode.

https://librepilot.atlassian.net/wiki/display/LPDOC/Gps+assist
i have solved all the problems with gps, but now when taking off the drone flies back and I have to balance a lot with the stick...what is the problem ? Calibrations?

Inviato dal mio G7-L01 utilizzando Tapatalk

Title: Re: Revolution and GPS..
Post by: Mateusz on May 28, 2016, 11:19:39 am
I think it can be noisy input from sensors. Check posts earlier for common problems and how to solve them. Check AuxMag. Which mag are you using? Set op oplink communication and observe sensors when motors are spinning or not. Also use only AuxMag may help. Just guessing what your problem is. Read earlier posts;)
Title: Re: Revolution and GPS..
Post by: Luis poza on May 29, 2016, 10:28:00 pm
Hi,
I just calibrate outdoor , far of metal and Mobile,  but happen the same,

Any idea?
Title: Re: Revolution and GPS..
Post by: TheOtherCliff on June 13, 2016, 04:04:31 pm
I suggest that you get it working well in Attitude mode with INS13.  If it still needs a lot of stick, then you need to adjust GCS -> Configuration -> Attitude -> Settings -> RotateVirtual...  until it hovers level.