f5soh

  • *****
  • 4572
    • LibrePilot
Re: Return to base/home testing as fail safe
« Reply #30 on: May 19, 2016, 06:23:38 pm »
Thats my question.

So many questions :)

INS/EKF13 assumes all sensors are well calibrated.
Fun fly / acro should only need Complementary.

Learn, test, learn, test, crash (sometimes)
That the best way to answers all questions.

The ublox brand has nothing related to Mag, ublox only refers to gps receiver module. Visit Ublox website.

Again: compile the next branch, we already posted the link to do by yourself.
Browsing the wizard, you should have all hardware / GPS / Mag answers.

darkdave

  • ***
  • 152
Re: Return to base/home testing as fail safe
« Reply #31 on: May 19, 2016, 08:42:37 pm »
Ublox comes with mag. Sometimes you have to solder the cable to the Mag component your self.

https://forum.librepilot.org/index.php?topic=1512.msg11757#msg11757

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Return to base/home testing as fail safe
« Reply #32 on: May 19, 2016, 08:48:15 pm »
Yes, i know... that a i2c mag.

Ublox refers only to the brand name of GPS module used, nothing related to Mag support.

darkdave

  • ***
  • 152
Re: Return to base/home testing as fail safe
« Reply #33 on: May 20, 2016, 12:52:01 pm »
So back to my original questions:

1. Why is the support team choosing DJI GPS in particular to be the GPS+MAG combo of choice to replace OP GPS+MAG?

2. Can you send me an ebay link to this DJI GPS+MAG device? I cant seem to find any evidence that it even exists.

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Return to base/home testing as fail safe
« Reply #34 on: May 20, 2016, 06:26:25 pm »
Quote
Can you send me an ebay link to this DJI GPS+MAG device? I cant seem to find any evidence that it even exists.

http://www.banggood.com/Ublox-M8N-GPS-Compatible-with-DJI-NAZA-Lite-V1-V2-Flight-Controller-Phantom-1-2-Vision-p-991718.html

You must be able to search the same or similar GPS from ebay. Just put "DJI GPS" keywords ?



darkdave

  • ***
  • 152
Re: Return to base/home testing as fail safe
« Reply #35 on: May 21, 2016, 03:37:55 am »
This is a Ublox GPS. You said this GPS is DJI?
« Last Edit: May 21, 2016, 03:43:04 am by darkdave »

Mateusz

  • *
  • 808
Re: Return to base/home testing as fail safe
« Reply #36 on: May 21, 2016, 07:19:57 am »
This is a Ublox GPS. You said this GPS is DJI?
Product name says DJI compatible GPS.

You must learn how to use Google to find more information, here how to find Ublox products
http://lmgtfy.com/?q=Ublox

Answering your question, DJI (another brand try Googling them) just uses Ublox modules in many if not all of their GPS units. All GPS units I have use Ublox module, its the most popular one.

I wrote earlier "All those units use Neo M8,M7 or M6 modules" as well as " Ublox has some guide lines on integrating their modules in designs."

Module is a small part not the whole device.

Ublox module is just a brand of a module and not a GPS unit. The Neo M8 is just a part of GPS. Go to Ublox website to check their products.
GPS unit is composed of: Ublox module, GPS antenna and some electronics around which talks to or powers Ublox module.
On the top of that some GPS units happen to include additionally Magnetometer. Although it is not necessary for GPS unit to have magnetometer at all.

Please read this post by Cliff explaining how things work https://forum.librepilot.org/index.php?topic=15.msg36#msg36

How this GPS units are called by Chinese is irrelevant, they call most of products wrong, shops like "good luck buy", "bang good" I mean really ? is that what they really mean ? Then another example "Revolution" never existed, but it makes marketing easier so people looking for CC3D can find Revolution. I don't even know where some of those names come from.

darkdave

  • ***
  • 152
Re: Return to base/home testing as fail safe
« Reply #37 on: May 21, 2016, 01:51:18 pm »
Google is useless if I'm under the incorrect assumption (that you gave me from your ambigious language) that there is a brand of GPS called "DJI".

Now that you have clarified that the GPS is actually a UBLOX GPS it clears up a lot of misunderstanding.

Mateusz

  • *
  • 808
Re: Return to base/home testing as fail safe
« Reply #38 on: May 21, 2016, 07:13:12 pm »
Good luck, I won't poison you with my "ambiguous" language anymore. You were warned at least three times not just by me, that you try to bypass safety feature, yet you attempted still to fly. Hope next time no one gets hurt because of your actions. For a very good reason firmware prevents from arming when you do something wrong ("wrong" here is saying it politely).

Sent from my Nexus 5X
« Last Edit: May 21, 2016, 07:33:05 pm by Mateusz »

darkdave

  • ***
  • 152
Fail Safe Setting set to 1% throttle but get 100% - And "SAVE" vs "SEND"
« Reply #39 on: May 22, 2016, 02:30:54 pm »
Hi guys.

I did 2 experiments today:

Failsafe channel = -1
Failsafe Channel Throttle % = 1%

Failsafe channel = 1
Failsafe Channel Throttle % = 1%

Channel 1 = Stabalize 1 (Attitude, Attitude, Axis Lock)

Here were the results:

Experiment 1: Drone went to 100% Throttle
Experiment 2: Drone went to 100% Throttle

Why is that?

2nd Question:

Whats the difference between:

1. SAVE (Red up arrow)
2. SEND (Green up arrow)

in Systems Settings?

I notice that when I press Save and then press SEND (For good measure) it doesn't always "save" into the drone and sometimes I have to double check by disconnecting and reconnecting the drone/controller to the USB in my PC and check that the changes stayed "changed". But usually it doesn't until I have done above procedure it 2 times.

David
« Last Edit: May 22, 2016, 03:43:37 pm by darkdave »

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Return to base/home testing as fail safe
« Reply #40 on: May 22, 2016, 05:47:49 pm »
You set perfectly to make a nice rocket and return to ground after the battery is low.
+1value is 100% throttle
Look how the values react while moving the sticks in Data > ManualControlCommand

FailsafeFlightModeSwitchPosition refers to the flightmode switch position
With FailsafeFlightModeSwitchPosition = 0 this set the flightmode pos number 1
For test you just need to see the FM position in input tab while failsafe is on

Send: Send values to the board, but do not save
Save: Send values to the board, and save.


darkdave

  • ***
  • 152
Re: Return to base/home testing as fail safe
« Reply #41 on: May 22, 2016, 06:21:58 pm »
Please look at the screenshot that you removed from my previous message when you moved it into this thread.

As you can see:

                       Value   Unit

Throttle               1         %

Doesn't look like a setting for a rocket to me!

Also you haven't dealt with the issue:

That saving/sending system settings doesn't work the first time. I have to disconnect and then reconnect via usb to either the drone or my oplink and repeat the saving and sending to make it work.

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Return to base/home testing as fail safe
« Reply #42 on: May 22, 2016, 06:30:37 pm »
Sorry i do not understand how the Throttle values works :)

I didn't notice you put a screenshot, but indeed that's a nice screenshot.
Again, 1% mean full throttle, a perfect rocket.

Quote
Look how the values react while moving the sticks in Data > ManualControlCommand

darkdave

  • ***
  • 152
Re: Return to base/home testing as fail safe
« Reply #43 on: May 22, 2016, 07:42:11 pm »
Well I got the idea to adjust the throttle settings on youtube. But on youtube the guy got different results. Is this another China Clone issue?

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Return to base/home testing as fail safe
« Reply #44 on: May 22, 2016, 08:00:19 pm »
So, what value do you set for Throttle failsafe finally ?