New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Betaflight 3.4 RC2 no GPS no arming problem #6198

Closed
SchonRichtig opened this Issue Jun 23, 2018 · 11 comments

Comments

Projects
None yet
5 participants
@SchonRichtig
Copy link

SchonRichtig commented Jun 23, 2018

Hi,

I have a problem with a new build.
I put a GPS on it, to have a backup on long range flights.
With bf3.4rc1 and RC2 I can't arm the quad without enough sat's.
I wanted to try it inside, but no way.
I know rth won't work if I don't have good GPS on start, but prevent arming is a mit too much for me.
A warning in osd "no GPS, no rth" and maybe another arming beeping should be enough.
Or a switch to disable all GPS would be a solution.

So if I have to disarm the quad and it lands upside down, I can't arm it, even in crash recovery mode, or you have to arm it (again) inside a building.

King regards

Steffen

@mikeller

This comment has been minimized.

Copy link
Member

mikeller commented Jun 23, 2018

@SchonRichtig: This is by design - allowing users who have set up GPS rescue to take off without having any chance of GPS rescue working does not make much sense - if you don't want GPS rescue to work then don't configure it.

However, I can see the point that you are making about bench testing / indoor testing. One option would be to assign a double function to the GPS rescue switch:

  • when disarmed / arming, 'on' means GPS rescue will be disabled after arming;
  • when armed, 'on' means the craft goes into GPS rescue mode.

What do you guys think, @s0up, @dbasch?

@SchonRichtig

This comment has been minimized.

Copy link

SchonRichtig commented Jun 23, 2018

Yes, maybe a mode option GPS on or GPS off is absolutely enough.
So you can use the quad inside or outside.
Or if you land Upside down you are able to arm it in crash recovery mode.

I only need the GPS backup if I go for long range, but I want also use the quad inside buildings.

I tried to disable GPS in the configurator, deleted the rescue mode, but the arming problem stayed.

@mikeller

This comment has been minimized.

Copy link
Member

mikeller commented Jun 23, 2018

@SchonRichtig:

I tried to disable GPS in the configurator, deleted the rescue mode, but the arming problem stayed.

The dependency on a GPS signal for arming is tied to the 'GPS RESCUE' switch. So if you remove that switch in configurator the dependency will go away.

@SchonRichtig

This comment has been minimized.

Copy link

SchonRichtig commented Jun 23, 2018

Ah, Ok,

I have the BN-180 GPS in a case to mount in on a battery strap only when I need it.

So if it is possible to make the quad arm while the GPS rescue is aktive by a switch and not arm if GPS rescue is disabled, your double Funktion solution.
If bf then change the failsafe mode, when started with GPS, failsafe is rth, without GPS is drop, then I am satisfied :)

Great job!!!!

@s0up

This comment has been minimized.

Copy link
Contributor

s0up commented Jun 23, 2018

@SchonRichtig

This comment has been minimized.

Copy link

SchonRichtig commented Jun 23, 2018

Thanks,

if I set it to zero and want to use the rth Funktion I simply wait until I have at least 8 sat's before I arm the quad?
And indors I can arm without any.
I will try it later, thank you very much!
Do you know what the quad will do, if I fly without GPS and the failsafe is set to GPS rescue?

But there should be the possibility to use the crash recovery mode in the standard configuration.

Kind regards

Steffen

@s0up

This comment has been minimized.

Copy link
Contributor

s0up commented Jun 23, 2018

@Smeat

This comment has been minimized.

Copy link
Contributor

Smeat commented Jun 23, 2018

I would love to be able to disable GPS rescue with a switch on a per flight basis.
Sometimes I fly at locations, where I either don't have a good signal or where GPS rescue would be worse than a normal failsafe. Additionally I could fly my first pack without having a GPS fix yet :)
Since I don't want to change the settings every time I ended up disabling it.

Another concern would be if you crash in a tree (or something similar) and lose GPS signal (e.g. due to orientation or damage) you won't be able to arm and (potentially) free your quad.

@mikeller

This comment has been minimized.

Copy link
Member

mikeller commented Jun 24, 2018

Ok, this is addressed in #6204. Arming is now disabled only the first time after plugging in a battery, if there is no GPS home position recorded (we absolutely need this for GPS rescue to be able to work). After that, arming is never disabled by the GPS rescue code.

As a workaround for testing / indoor flying, set gps_rescue_min_sats to 0. This will put GPS rescue into a 'best effort' mode, where it may or may not work, depending on if there was a home fix when taking off.

@SwiftFlying

This comment has been minimized.

Copy link

SwiftFlying commented Jun 24, 2018

hi mikeller
Can you tell me your mailbox address? I want to discuss some problems with you

@mikeller

This comment has been minimized.

Copy link
Member

mikeller commented Jun 24, 2018

Hi @SwiftFlying. You can join the Betaflight Slack (registration at https://slack.betaflight.com/), and we can discuss there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment