Giter Site home page Giter Site logo

GPS configuration about betaflight HOT 18 CLOSED

betaflight avatar betaflight commented on June 14, 2024
GPS configuration

from betaflight.

Comments (18)

borisbstyle avatar borisbstyle commented on June 14, 2024

Cli command has changed:
set gps_provider = UBLOX

from betaflight.

MarceloFarinon avatar MarceloFarinon commented on June 14, 2024

Sorry, but "command invalid".
By the way, I didn´t find this command using "dump" on CLI.

Cli command has changed:
set gps_provider = UBLOX

from betaflight.

borisbstyle avatar borisbstyle commented on June 14, 2024

maybe gps is disabled on your board.

Some boards dont have it due to memory space like cc3d for example
Op 7 dec. 2015 21:11 schreef "MarceloFarinon" [email protected]:

Sorry, but "command invalid".
By the way, I didn´t find this command using "dump" on CLI.

Cli command has changed:
set gps_provider = UBLOX


Reply to this email directly or view it on GitHub
https://github.com/borisbstyle/betaflight/issues/57#issuecomment-162646025
.

from betaflight.

Schalonsus avatar Schalonsus commented on June 14, 2024

Does not work on Naze32 rev5 Acro and Flip32+ 10DOF. What a bummer.

from betaflight.

MarceloFarinon avatar MarceloFarinon commented on June 14, 2024

I installed Cleanflight latest version 1.10 and 1.11 versions and it´s working fine... so I believe there is something wrong with Betaflight version.

from betaflight.

Schalonsus avatar Schalonsus commented on June 14, 2024

There is nothing wrong i think. It is disabled to make place for the gtune code.
In a german forum someone is willing to recode the latest betaflight firmware to activate GPS and deactivate gtune.
So you can use the standard betaflight firmware to tune your copter and after that flash the recoded one to use GPS. He said he will try to code this this evening if he has time for it.
Will report back if there are any news.

from betaflight.

dakingen avatar dakingen commented on June 14, 2024

Not working on Naze32 Rev6 Acro. (working in Cleanflight)
Boris, can you confirm that gps is disabled in Betaflight or is this an issue?

from betaflight.

borisbstyle avatar borisbstyle commented on June 14, 2024

@dakingen
GPS is disabled on Naze targets to make space available for gtune

https://github.com/borisbstyle/betaflight/blob/betaflight/src/main/target/NAZE/target.h#L172

from betaflight.

Schalonsus avatar Schalonsus commented on June 14, 2024

Tried enabling GPS und disabling gtune in target.h but gps only works for 20 seconds and then does not work for 20 seconds. Any hint on this term?

from betaflight.

fellebomp avatar fellebomp commented on June 14, 2024

Version 3.0.0 (stable), on Naze32 FULL: Go to target.h file in \src\main\target\NAZE and search for the line where GPS is disabled in the sourcecode: //#undef GPS

For having enough flash memory on the STM32 controller I disabled the BLACKBOX logger and enabled the GPS:

#define GPS
#undef BLACKBOX

Seems to work fine! But I will do some additional testing using an UBLOX GPS...

from betaflight.

mikeller avatar mikeller commented on June 14, 2024

@fellebomp: If you are interested in getting better GPS support, you might want to try iNav: https://github.com/iNavFlight/inav

from betaflight.

fellebomp avatar fellebomp commented on June 14, 2024

Thanks for this hint!
My idea was to have betaflight installed on the naze to get it's really good flight characteristics for my race kwad - much better than cleanflight AND only show the most important flight information on OSD like battery voltage, RSSI, altitude, speed and distance to home. For this purpose this configuration seems to work pretty well - so far!

from betaflight.

VoicOfReason avatar VoicOfReason commented on June 14, 2024

I can confirm that GPS Smart port Frsky receiver works. Does anyone know if the F7 boards support GPS on Betaflight? I am not interested in RTH or anything, just getting speed, location, etc.

from betaflight.

mikeller avatar mikeller commented on June 14, 2024

@VoicOfReason: Yes they do:

https://github.com/betaflight/betaflight/blob/master/src/main/target/common_fc_pre.h#L137

Removal of GPS from F3 is due to flash space limitation, and F7 is not affected (yet).

from betaflight.

VoicOfReason avatar VoicOfReason commented on June 14, 2024

OK. How about F4 boards? Are they affected, as well, i.e. do they have enough memory for GPS?

from betaflight.

Schalonsus avatar Schalonsus commented on June 14, 2024

You should better use iNav for gps assistance

from betaflight.

VoicOfReason avatar VoicOfReason commented on June 14, 2024

from betaflight.

jflyper avatar jflyper commented on June 14, 2024

will F4 work?

F4 does have GPS code in most, if not all, targets.

For further assistance, please consider using other user support options such as RCGroups, Slack or other user support forums & groups (e.g. facebook).

Thank you in advance.

from betaflight.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.