sv2fpv

  • *
  • 26
Revo AuxMag
« on: March 17, 2016, 04:30:23 pm »
Hi to all.
I have Revo kit from banggood
Baro is ok
"Complementary Basic" all modes fly very well
With internal compass could not fly, many problems.

Yes all the cables are twisted, but "mag interference" is here.

After I found you here, i have connected the external compass of the GPS,
downloaded the "next" and the compiler.
I did all calibrations in the house and everything is fine,
the compass without great error, indoor "SystemHealth" mag mostly is green, ATTI STAB green.

But it rains, not yet tested out the house.

Μany thanks to the Team LimbrePilot


Re: Revo AuxMag
« Reply #1 on: March 18, 2016, 04:50:51 pm »
Hi!

I'd like to use my GPS' compass too, it's a ubloxneo-6m (it says with compass), added two extra wires to the connector for A and L (I think these are SDA and SCL), connected the gps to the main port, then connected the mag to flexi.
I've built the GCS from the latest source, set the flexi port to I2C, but the GCS says auxmag not found :S
Did I miss something, or the ubloxneo-6m doesn't really have a mag? (the I2C icon is orange in system health)
« Last Edit: March 18, 2016, 05:17:20 pm by kennyevo »

sv2fpv

  • *
  • 26
Re: Revo AuxMag
« Reply #2 on: March 21, 2016, 11:04:59 am »
Hi kennyevo give a picture of the GpsBoard, may be help you.

Υesterday's tests

Stabilization default settings

1) Attitude = very stable
2) AltitudeVario = very stable level
3) PositionHold = solid rock
4) VelocityRoam = solid rock
5) GpsAssist = oh my God is a dream

no drifts
no oscillations

Νext test

1) AutoTakeoff
2) Land
3) ReturnToBase & Land
4) Flιps & Rolls
5) and more crashes

Μany thanks LimbrePilot
« Last Edit: March 21, 2016, 04:30:28 pm by sv2fpv »

Re: Revo AuxMag
« Reply #3 on: March 22, 2016, 07:51:52 am »
Hi!

Here's a pic of my GPS: https://drive.google.com/file/d/0B_2MdV3di_UMVm80dXZFVU1UaE0/view?usp=sharing

There were no cable for L and A so I added them and connected to the flexi port.

sv2fpv

  • *
  • 26
Re: Revo AuxMag
« Reply #4 on: March 22, 2016, 08:20:55 am »
Hi kennyevo

I am very sorry, the MagSensor is missing.

Re: Revo AuxMag
« Reply #5 on: March 22, 2016, 08:26:45 am »
Damn, thank you for your response, then I'll buy a better gps :)

zukenj

  • ***
  • 179
Re: Revo AuxMag
« Reply #6 on: March 24, 2016, 02:18:12 am »

Hi kennyevo give a picture of the GpsBoard, may be help you.

Υesterday's tests

Stabilization default settings

1) Attitude = very stable
2) AltitudeVario = very stable level
3) PositionHold = solid rock
4) VelocityRoam = solid rock
5) GpsAssist = oh my God is a dream

no drifts
no oscillations

Νext test

1) AutoTakeoff
2) Land
3) ReturnToBase & Land
4) Flιps & Rolls
5) and more crashes

Μany thanks LimbrePilot

Sv2fpv,

Did you do any calibration for your external mag?

If so, can you please tell me what you did.

Thanks
FS-TH9X RC
F450 Clone
Revolution FC
EMAX 2213 935 KV
HK 30A ESC UBEC running BLHeli 14.4
10x4.5 Propellers
DJI Naza clone Ublox M8N GPS

f5soh

  • *****
  • 3695
    • LibrePilot
Re: Revo AuxMag
« Reply #7 on: March 24, 2016, 07:32:13 am »
Here is :


sv2fpv

  • *
  • 26
Re: Revo AuxMag
« Reply #8 on: March 24, 2016, 07:53:05 am »
Εxactly

zukenj

  • ***
  • 179
Re: Revo AuxMag
« Reply #9 on: March 24, 2016, 03:02:04 pm »
Here is :



Excellent video. Thanks I will do it tonight. I got the on board all green when moved, but not the external, Last week was the other way around.
 
FS-TH9X RC
F450 Clone
Revolution FC
EMAX 2213 935 KV
HK 30A ESC UBEC running BLHeli 14.4
10x4.5 Propellers
DJI Naza clone Ublox M8N GPS

Re: Revo AuxMag
« Reply #10 on: March 24, 2016, 03:18:47 pm »
Hi,
I have the Revo + GPS M8N from Banggood and I would like to use also the ext compass of the GPS.
I attached a picture of my GPS to check if it really includes the mag.

I connected the two wires SCL & SDA between the flex port and the GPS and started the Setup wizard from GCS 15.09 to configure the I2C port.
But I have the following issues:
- I don't have the choice to select "GPS u-blox + magnetometer external" in the setup wizard (only GPS u-blox)
- The I2C port is not active and stays in black color on the flight data screen.

It seems that this configuration is supported only in release 16.01 but where can I find it or do I have other issue ?

Thanks for your help

f5soh

  • *****
  • 3695
    • LibrePilot
Re: Revo AuxMag
« Reply #11 on: March 24, 2016, 03:23:58 pm »
Looks like you need to solder two wires from SCL and SDA pads.

For i2c mag support you need to build GCS yourself, take a look how to do here:
https://librepilot.atlassian.net/wiki/display/LPDOC/Developer+Manual

Re: Revo AuxMag
« Reply #12 on: March 24, 2016, 06:54:49 pm »
Thanks,
The two wires were connected after I took the picture so no issue about this.
I started to build GCS by myself (for the first time) and everything is going well until this step: "mingw32-make package" where I have the following error message:

[email protected] MINGW32 ~/librepilot
$ mingw32-make package
/usr/bin/sh: ligne 1: qmake : commande introuvable
Makefile:185: recipe for target 'C:/msys32/home/Rodolphe/librepilot/build/uavobjgenerator/uavobjgenerator.exe' failed
mingw32-make: *** [C:/msys32/home/Rodolphe/librepilot/build/uavobjgenerator/uavobjgenerator.exe] Error 127

If you have any idea ?
Thanks,

f5soh

  • *****
  • 3695
    • LibrePilot
Re: Revo AuxMag
« Reply #13 on: March 24, 2016, 07:06:06 pm »
Looks like you miss the Qt install  :o

your are using MINGW32 shell so you need to install 32bit packages.
https://librepilot.atlassian.net/wiki/display/LPDOC/Windows+Building+and+Packaging#WindowsBuildingandPackaging-For32bit:

zukenj

  • ***
  • 179
Re: Revo AuxMag
« Reply #14 on: March 25, 2016, 05:37:16 am »
f5soh,

Thanks for that video. I have Both Mags green now.

What are the Red lines and the Yellow dots. How do I clear the map?

Regards
FS-TH9X RC
F450 Clone
Revolution FC
EMAX 2213 935 KV
HK 30A ESC UBEC running BLHeli 14.4
10x4.5 Propellers
DJI Naza clone Ublox M8N GPS