LibrePilot Forum

Users => Vehicles - MultiRotors => Topic started by: alanfjr on August 30, 2017, 04:54:57 pm

Title: Quad at angle pictured on Flight Data Screen
Post by: alanfjr on August 30, 2017, 04:54:57 pm
Just switched out standard CC3D to a Revolution. Everthing is working except in the flight data picture of my quad is at a 30-40deg angle. When I arm the quad, and take off, it wants to right itself. I've tried calibrating it over a half dozen times and it is still at an angle, pictured on the flight data controller. How do I correct this so it looks level. All my lights are green , ie; GPS, Mag, ALT, etc. I can even arm it. It flops over every time because of this. I need to make it look level in the flight data screen and don't now how when it is sitting on level ground? Help would be appreciated. :)
Title: Re: Quad at angle pictured on Flight Data Screen
Post by: f5soh on August 30, 2017, 05:03:58 pm
Hi, welcome.

Please post your config file : File > Export UAV Settings

Maybe also a screenshot of flight data.
Title: Re: Quad at angle pictured on Flight Data Screen
Post by: alanfjr on August 30, 2017, 05:41:00 pm
Here's the Data....
Title: Re: Quad at angle pictured on Flight Data Screen
Post by: f5soh on August 30, 2017, 06:15:50 pm
Strangely your boardRotation trim values are not close to zero. (15° / 10°).
(https://forum.librepilot.org/index.php?action=dlattach;topic=3788.0;attach=6633)
If your board is parallel to a level ground, this should not happens.
Try redo a Attitude > Calibration > Board Level Calibration

Check how is the PFD using the Attitude tab > Settings > Attitude Estimation Algorithm set to Basic

Additional warning: Except if you are using a big sized quad with all the power wires twisted you cannot use the GPS assistance and INS13 without a auxiliary mag.
Title: Re: Quad at angle pictured on Flight Data Screen
Post by: alanfjr on August 30, 2017, 06:19:14 pm
Here's a pic and UAV most recent full flight settings sitting on level ground.
Title: Re: Quad at angle pictured on Flight Data Screen
Post by: alanfjr on August 30, 2017, 06:30:58 pm
It's working now. Thanks! re-doing the board calibration alone & saving it, solved the problem! Thanks, I'll go try it out agai and give you an update. Al
Title: Re: Quad at angle pictured on Flight Data Screen
Post by: alanfjr on August 30, 2017, 07:30:01 pm
It will not fly w/GPS Navigation INS13. It will fly when Basic is selected. So, I guess I need a GPS upgrade? Right now I am using th supplied OP GPS ??? not good I guess for a F450 large drone. The picture of my quad is still level in my flight data. Thanx for that advice. So what do I need to do to get all the GPS features to work. I did manage to configure my Spectrum for 6 flight modes. That took a couple of days. ::)
Title: Re: Quad at angle pictured on Flight Data Screen
Post by: f5soh on August 30, 2017, 08:11:14 pm
With "OP GPS" i think you are talking about the small chinese version / maroon plastic case ?
This one is poor quality and do not have mag.

Assuming you still have the DSM receiver connected to the FlexiPort, the best option is use a Naza GPS and get mag data + GPS position from MainPort.
https://librepilot.atlassian.net/wiki/spaces/LPDOC/pages/12058679/GPS+setup#GPSsetup-NazaGPS
Title: Re: Quad at angle pictured on Flight Data Screen
Post by: alanfjr on August 30, 2017, 08:24:01 pm
It is black and small and does not have a compass. Will this one satisfy my needs?  http://www.ebay.com/itm/Mini-Ublox-M8N-GPS-W-Built-in-Compass-For-CC3D-SP-Racing-F3-Flight-Controller-/232347384755?hash=item3618fbbbb3:g:Tq4AAOSw~OVWydWw
Title: Re: Quad at angle pictured on Flight Data Screen
Post by: f5soh on August 30, 2017, 08:30:14 pm
Not a good one, and not sure there is I2C mag in GPS you linked.

You need a Naza GPS because the flexiport (where you should connect the I2C mag) is already used for DSM input.
Title: Re: Quad at angle pictured on Flight Data Screen
Post by: alanfjr on August 30, 2017, 09:23:38 pm
Is this the right one? http://www.ebay.com/itm/US-NEO-M8N-GPS-Built-in-Compass-for-DJI-NAZA-Lite-V1-V2-Flight-Controller-holder-/252133286639?hash=item3ab450a2ef:g:5L0AAOSwZVhWTajP
Title: Re: Quad at angle pictured on Flight Data Screen
Post by: f5soh on August 30, 2017, 09:34:44 pm
This one is a clone, works most of the time.
You will be able to find original around 45$

Need also a extra JST-4pins connector and some soldering to be connected to the Revo.
Title: Re: Quad at angle pictured on Flight Data Screen
Post by: TheOtherCliff on August 30, 2017, 11:31:18 pm
Don't buy that type of "clone".  It works, but it drops packets.  I have bought two of them, a black one like that a long time ago and a white one recently (white color, small case, red insignia, but same shape insignia) and they act the same.

There may be a different issue with the "authentic" DJI Naza GPSs in that because of extra smoothing they do, they can cause oscillations when used with LP firmware.


========================================================================
Good DJI Naza GPS clone #1
(https://forum.librepilot.org/index.php?action=dlattach;topic=3788.0;attach=6642)
Good DJI Naza GPS clone #1
========================================================================


========================================================================
Good DJI Naza GPS clone #2
(https://forum.librepilot.org/index.php?action=dlattach;topic=3788.0;attach=6644)
Good DJI Naza GPS clone #2
========================================================================








========================================================================
BAD DJI Naza GPS clone
(https://forum.librepilot.org/index.php?action=dlattach;topic=3788.0;attach=6646)
BAD DJI Naza GPS clone
========================================================================
Title: Re: Quad at angle pictured on Flight Data Screen
Post by: alanfjr on August 31, 2017, 10:33:08 am
Ordered the 2nd one pictured, that you recommend. Any advice for setup would be appreciated. Thanks again. Al
Title: Re: Quad at angle pictured on Flight Data Screen
Post by: TheOtherCliff on August 31, 2017, 11:27:18 am
Mount it with a GPS mount similar to this.  Mount it with double sided tape; quad to mount and mount to GPS.  Airplane picture on GPS pointing forward.
http://www.ebay.com/itm/Folding-Base-Antenna-GPS-Sliver-Mount-Holder-Set-For-DJI-Quadcopter-Multicopte-/112545687039
(http://i.ebayimg.com/images/g/4LwAAOSw4HxZpmgf/s-l1600.jpg)

Twist high current wiring including cables from battery all the way to motor wires.

Set Attitude -> Settings -> AttitudeEstAlg to INS13

Set Attitude -> Magnetometer -> Type to DJI

Set Attitude -> Magnetometer -> Usage to AuxOnly

Calibrate mag.

Make sure you have a failsafe set up correctly so that motors stop if you switch transmitter off.

Test fly in Attitude mode.

In a large field (say 50x50 yards), take off in Attitude mode and switch to VelocityRoam mode.  Be ready to immediately switch back to Attitude if anything unexpected happens.  VelocityRoam is like a GPS version of Attitude mode; with all sticks centered it is PositionHold.