kennyevo

  • ***
  • 102
Revo shaking horizon
« on: March 08, 2016, 09:38:59 pm »
Hi!

I've built a diatone whitesheep quad with a Revo using ublox gps, I've balanced the quad, but it still goes backwards after takeoff. In the telemetry I see that the horizon is shaking up and down even if the quad sits still on the table.

I calibrated everything again and again with no luck.

Any ideas are welcome!

Mateusz

  • *
  • 808
Re: Revo shaking horizon
« Reply #1 on: March 08, 2016, 09:46:43 pm »
Any ideas are welcome!

Are you using external magnetometer on a mast far from power wires/esc ? Calibrated outdoors with help of oplink far from metalic objects, and it is always green in the place you fly ?

kennyevo

  • ***
  • 102
Re: Revo shaking horizon
« Reply #2 on: March 08, 2016, 10:20:02 pm »
I've calibrated outdoors, everything was green.

I don't know if it uses the gps' magnetometer, I'll disble the gps tomorrow and we'll see if anything changes.

The gps is mounted on top of a gps mount, so it's quite far from everything.

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Revo shaking horizon
« Reply #3 on: March 08, 2016, 10:25:22 pm »
Are you using INS13 ?
How are the MAG alarms while flying ?

kennyevo

  • ***
  • 102
Re: Revo shaking horizon
« Reply #4 on: March 08, 2016, 10:56:02 pm »
Are you using INS13 ?
How are the MAG alarms while flying ?

Yep I'm using ins13, don't know about mag alarms, my old laptop is wired, but will record the telemetry tomorrow :)

kennyevo

  • ***
  • 102
Re: Revo shaking horizon
« Reply #5 on: March 09, 2016, 12:50:46 pm »
Hm, how can I replay a log file in the GCS?

@marc

  • *
  • 152
  • Ask me about LibrePilot2Go on Android.
Re: Revo shaking horizon
« Reply #6 on: March 09, 2016, 01:00:04 pm »
Disconnect you FC, and select Logfile from the dropdown list.


kennyevo

  • ***
  • 102
Re: Revo shaking horizon
« Reply #7 on: March 09, 2016, 01:24:49 pm »
Hm, it doesn't seem to work, maybe my log is corrupted :/

Here's my log: https://drive.google.com/file/d/0B_2MdV3di_UMcEFVYUpRMDUybGc/view?usp=sharing

is it possible that it was caused by the foam below the FC? It looks like it's a little tilted, but the calibration should eliminate this problem, right?

kennyevo

  • ***
  • 102
Re: Revo shaking horizon
« Reply #8 on: March 09, 2016, 01:42:58 pm »
Okay, tried it wouthout the gps, without any calibration it's much better, it now goes forward after takeoff, but I think that's just because I did not recalibrate the things.
Is it possible that my gps causes all my problems? It's a UbloxNeo-6M, it was packed with the revo.

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Revo shaking horizon
« Reply #9 on: March 09, 2016, 02:44:16 pm »
Most of the time after arming, your Mag alarm is solid Red and that looks normal using a onboard mag on a small frame.

INS13 retrieve all sensor measurements and compute data for Attitude estimation.
https://librepilot.atlassian.net/wiki/display/LPDOC/INS13+-+GPS+Navigation

You can assume the attitude estimation can't be ok with a Red mag alarm or when GPS is indoor (position and velocity jumps due to bad rx).
A small jitter while the frame is steady looks normal.

Do you still use the OP15.05 release or you miss Oplink firmware update ?

kennyevo

  • ***
  • 102
Re: Revo shaking horizon
« Reply #10 on: March 09, 2016, 03:16:08 pm »
Oops, I did not update my oplink :D

While using the gps, it looks like the quad is a little nose down and right, even if placed on the ground and leveled to be totally horizontal :S

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Revo shaking horizon
« Reply #11 on: March 09, 2016, 03:22:51 pm »
As a test for your Accel calibration (Attitude > Accelerometers calibration), you can go to UavoBrowser > RevoSettings and change the FusionAlgorithm to INS13Indoor

It uses a fake GPS data so you can use INS13 indoor and allow to check Accels.

You can try Comp+Mag+GPS that should show the same level like basic algorithm.

kennyevo

  • ***
  • 102
Re: Revo shaking horizon
« Reply #12 on: March 10, 2016, 10:36:47 am »
My gps doesn't have a mag, so I think it's using the Revo's mag, is it possible that the cables interfering with the magnetometer? (motor output)

One noob question: I need only one red and black wire coming back from the escs, that's powering the revo, right?

Mateusz

  • *
  • 808
Re: Revo shaking horizon
« Reply #13 on: March 10, 2016, 11:49:43 am »
My gps doesn't have a mag, so I think it's using the Revo's mag, is it possible that the cables interfering with the magnetometer? (motor output)

One noob question: I need only one red and black wire coming back from the escs, that's powering the revo, right?

If you don't have external magnetometer then it is using one on Revo. It's build dependent but very likely this won't work to get stable INS31.
Please have a look here https://forum.librepilot.org/index.php?topic=995.msg7204#msg7204

kennyevo

  • ***
  • 102
Re: Revo shaking horizon
« Reply #14 on: March 10, 2016, 02:39:43 pm »
So the best option would be to buy an external mag or a better gps with external mag?

Could you tell me what type should I buy that's compatible with the revo?
Thanks :)