-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[Feature Request] Bring the GPS support for F3 back! #4415
Comments
|
The answer to that is simple: Flash space limitation. All of the optimisations and the addition of faster protocols like Dshot and things like onboard OSD have caused the size of the Betaflight firmware to grow, and now we are at a point where the 256kB flash on the F3 aren't enough any more to contain Betaflight with all of the features. At some point when the flash on F3 was overrunning and something had to be removed, GPS was the least useful for racing that was left, and so GPS was removed. Sorry to say, but if you want race performance and all of the other features, you're going to have to upgrade to an F4. Have you tried iNav for your long range quad? If you can live without Dshot, then iNav should work just fine for this. |
|
I understand the Flash space limitation, and the fact that GPS was removed because of that. But it can be reintroduced in the code, and an other feature that si REALLY useless, like servo support or wings, octoX etc, be removed? Because if the GPS is really the least usefull, why to developpe such OSD features. If I were good at programming I'll try to compile a version of 3.2.1 without servo support but with GPS support... |
|
Here you have a bff3 with gps but without dshot betaflight_3.2.1_BETAFLIGHTF3.zip Default Targets are amied to have the most features possible. We can remove dshot to make gps fit. Then people will start gps is a useless feature add dshot back and so on. |
FYI, there are many users of servos and plane-like mixers. OCTOX has a user, too. #3139 So, they are not completely useless. |
|
can u give me a colibri race with gps and no dshot for my vendetta? i use gps on my long range vendetta |
|
Perhaps pointing F1 and F3 users toward an easy build environment is the answer ? A pre-configured VirtualBox VM for example would be ideal. Anyone know if something like that exists already ? |
|
There allready is a preconfigured VirtualBox VM(vagrent) and a Docker Container for a long long time. |
|
We should have a binary plug-in system, and a Tetris game in BFC where the user can mix and match feature-plugs until it all fits on the FC. |
|
I think if we went that way, we should look into a server based build system like OpenTX and nodeMCU are using. But I don't even want to think into the bug reporting / debugging aspect of this ('I've got a build for F3, with options X, Y, Z, but not A, B, and now option Y does not work as it should...'). |
|
I agree with bringing back this feature. Thank you, |
|
I believe there's no global resurrection of GPS feature on F3 with BF, at least until features become selectable by a user. You can always build your custom firmware. Read few comments back. Oh, and STM32 processors never brick. |
There is absolutely zero chance of bricking the board. |
|
@MikeyZee: First of all, don't worry about bricking your board, this is almost impossible with STM32 based boards, since their boot loader is stored in ROM and therefore indestructible. |
|
@jflyper: ~ Ok that's fair enough, it's not on the high priority list at the moment which makes sense as betwflight is more tailored towards performance flight. I will have a look at the past comments and try some of them with the GPS enabled and potentially D Shot disabled. Ok that's good to know I guess, just trying to remove anything that can go wrong because I've been having waaaay to many instances of Murphy's Law recently. Thankyou for the insanely quick response! @DanNixon: ~ Awesome, thanks for letting me know, maybe I will experiment with iNav once my board comes in. @mikeller: ~ Thanks for the information, it seems like the hobby/sport is growing rapidly and betaflight is having to expand at the same rate and it's doing exactly that. Kudos to everyone keeping it updated and spotting bugs and performing fixes, it's what it's all about! Thanks all for the clarification |
|
@mikeller Could You please make a build of 3.2.2 for colibri race with gps code? |
|
@arrowcircle: How about you try your hand at it yourself? There is lots of documentation for it around, like this: https://github.com/cleanflight/cleanflight/blob/master/docs/Customized%20Version.md As for the build itself, you can use a self contained docker image for that: https://hub.docker.com/r/betaflight/betaflight-build/ |
|
@arrowcircle , yes why not try yourself. It's not that hard and once you know how to do it, you'll be able to do it for 3.3 and later releases... |
|
Is it not possible to just have a side note where the GPS slider is saying "Not supported on F3 boards"? I realize I'm whining and should have Googled sooner but man thats annoying after spending quite a few hours. |
|
@Werks89: Happy to add one, can you please point out where you came across this statement? |
|
@martinbudden @mikeller Thanks for the links. BTW, do I need to enable nav? |
|
@mikeller What do you mean? I was just saying it would save a lot of frustration for others trying to add GPS on F3 boards running Betaflight after version 3.1.7. |
|
I appreciate why the code was removed, but maybe this sort of thing could have been managed much better. From an end user perspective there has been no announcement of the removal of the GPS code from F3 boards in ANY of the 3.2.x Release Notes only this can be found if you hunt about. The removal of ANY feature should be announced like the demise of F1 support, and scheduled in for a future date not just removed without notice. Also, it would be really great if the project adopted a Semantic versioning scheme. This way a release that is not 100% backwardly compatible - such as the removal of GPS code - can be given a totally new version number to avoid confustion. This new limited edition firmware should have been released as v4.0.0 and by doing that end users would know to look at the Release Notes to see what has changed. That's how the rest of the Internet does it :-) |
|
GPS-Code never was removed it is still there :) This Project allready uses Semantic Versioning for a long time based on Interface and Flight Code. |
|
Good work, @arrowcircle. You can disable any features that you don't need or want. Some features might be dependent on others, so disabling the underlying feature will only work if the feature that requires it is disabled as well. You don't need NAV, this code has not been maintained in a while, so it's probably not working well anyway. @Werks89: I was just asking you to point out where you would like to have the "Not supported on F3 boards" added, so that I can look into adding it. @richard-scott: Totally agreed that the GPS removal was not handled in the best possible way. What you have to understand is that there is a fundamental difference between the end of F1, which was a decision that was made by the core developers, and then announced, and the removal of GPS support from F3, which was a solution to the problem of the firmware not fitting into flash on F3. This problem was not planned for, it cropped up in the middle of the release process, and a solution had to be found, without time to make an announcement ahead of time. Re semantic versioning, since Betaflight is not a library or an API (but includes a number of APIs), the distinction between major and minor releases in SemVer is not as clear cut for Betaflight as it is for libraries or APIs. If we were to use 'backwards compatibility' as the deciding measure for major or minor releases, we'd end up with only major and bugfix releases, since no two non-bugfix releases are backwards compatible when it comes to the configuration API and / or MSP. |
|
@mikeller Hi! I tried to flash built image, but cant activate GPS in the configuration. What I doing wrong? Maybe I need to enable/disable additional flags? Gist with path is in prev comment |
|
@arrowcircle: Are you trying to build this from master (3.3.0) or v3.2.x-maintenance (3.2.3)? In 3.2.3, the define is called |
|
@mikeller I checked out v3.2.2 tag. I copied my diff from your image. I also tried it with hands. |
|
@arrowcircle: You need to change |
|
@mikeller Thank You, I will try this. What tag is better to get? v3.2.x-maintenance or 3.2.2? |
|
|
|
I bought an omnibus F3 because of it |
|
Hi folks, I have the same problem, I have an OMNIBUS F3 and wanted to make GPS work on latest betaflight versions. |
|
@geokos77: No, that should be fine. Did you assign GPS to an UART on the 'Ports' tab and save before you tried to enable it on the 'Configuration' tab? If not it won't work. Also, enabling |
|
@mikeller Thanks for your reply Do I have the right parameter ? it can't be #define USE_GPS ? Is the version 3.4.0 i'm building on, a stable version ? wouldn't it be better to try with 3.3.1 ? I have the stock 3.3.1 hex file but I don't know how to choose it with docker instead of using the default one when running the building command : |
|
This issue / pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within a week. |
|
No one can help me with my build :( ? |
|
Hey guys, |
|
Hmmm, I'm guessing this issue will see a few more hits in coming weeks due to the introduction of GPS Rescue mode with 3.4.0... GPS might well become a more common request for the old F3 boards. I guess I'm gonna have to set up a build environment at some stage and play code tetris... :/ (I note also that the configurator still doesn't provide clear feedback on this missing feature) |

Building my rig for mid/long range on a BFF3 on 3.2.1, I was unable to activate the GPS in the configuration tab.
I found the problem: I'm on betaflight F3, and it seems that GPS support has been removed from all the F3 board!
I'm am hugely disappointed, and even more because I bought the BFF3 board thinking: "this is a Betaflight FC it should run absolutely every feature of the BF firmware", and it is not.
So I ask a question: since the Long Range trend is booming right now (thanks to the TBS Mini Crossfire), and since Betafight offers so many GPS informations in the OSD (coordinates, altitude, gps speed, home arrow, distance from home, etc...), WHY remove this features from virtualy HALF of the FC's of the market?
I saw it was work in 3.1.7, I flashed immediatly the 3.1.7 and the GPS is supported, but I don't have all of the top cool features of the 3.2 like dynamic filter and ironically all the OSG GPS features?
So I can have GPS working but no GPS OSD indicator (or a really few useless ones), or I can have no GPS support but everything I want on the OSD! Nobody find this ironic?
I saw that it was removed because of chip capacity, but can you not remove really useless features that nobody use? Like servo output support, and support for all useless aircraft like octoX, Wings, Airplanes etc?
I saw many comments saying that people should go using Inav, but we want fly quads so we fly Betaflight. People flying airplanes, wings and OctoX already use Inav or other firwares instead of betaflight, so why not make room here instead of GPS?
I'm really not into programming and I have a huge respect for the developpers, but I think that this is a bad choice. GPS Wings and airplanes don't need turtle mode, Dshot 1200, my 5inch GPS long range quad does!
Please bring back the GPS support for F3! Thnaks for reading if you made it to the end!
The text was updated successfully, but these errors were encountered: