Kein Reboot bei reboot GPS mehr- stabilerer FIX

Hartmut

Active member
Um den Ardumowerreset beim Reboot GPS auszuschalten habe ich auf die SparkFun_u-blox_GNSS_v3
migriert. Die alte Version ist von 2016 , die neue von 2022 mit vielen Verbesserungen.
Getestet mit Sunary 1.0. 230 und 1.0. 298



Am einfachsten nehmt den Bibliotheksmanager und installiert "SparkFun_u-blox_GNSS_v3"
oder https://github.com/sparkfun/SparkFun_u-blox_GNSS_v3.



löschen alles aus ........\Sunay\src\ublox
- SparkFun_Ublox_Arduino_Library.cpp
- SparkFun_Ublox_Arduino_Library.hublox.cpp
- ublox.h
- ublox.cpp



### Nur wenn nicht in der IDE installiert ###

einfügen von SparkFun_u-blox_GNSS_v3

C:\Users\....\....\SparkFun_u-blox_GNSS_v3-main\SparkFun_u-blox_GNSS_v3-main\src\ublox

-alles

einfügen von Sunay-Master mit verbesserten Fix ..../src/ublox

- ublox.h
- ublox.cpp
###############################################################################################

Die Migration auf v3 ist einfach. Es gibt zwei/drei kleine Änderungen, die alle Benutzer vornehmen müssen:


ublox.cpp
zeile 9
//#include "SparkFun_Ublox_Arduino_Library.h"
#include "SparkFun_u-blox_GNSS_v3.h" //Hartmut


//Die Bibliothek verwendet jetzt drei separate Hardwareklassen: SFE_UBLOX_GNSS, SFE_UBLOX_GNSS_SERIALundSFE_UBLOX_GNSS_SPI

//Wenn Sie Serial verwenden, müssen Sie Ihren Code ändern in:
zeile 12
//SFE_UBLOX_GPS configGPS; // used for f9p module configuration only
SFE_UBLOX_GNSS_SERIAL configGPS; //Hartmut

zeile 243
//configGPS.GNSSRestart();
configGPS.softwareResetGNSSOnly(); //Hartmut: kein Reboot mehr


Alle Verbesserungen stehen im Master siehe oben. Viel Spaß, funktioniert super stabil.
 
Hi .
I try to test this solution but it fail to compile , maybe i have trouble to understand or translate !!!
Can you share directly the Ublox folder inside a zip file ?
 
After updating the firmware to 1.32 , do i need to also upload a configuration file or it's already done by sunray firmware when starting with
the config.h value ?
#define GPS_CONFIG true // configure GPS receiver (recommended - requires GPS wire fix above!

1710498256739.png
 
Its done by sunray if you have GPS_CONFIG enabled, yes.
I do not know if the settings that need to be changed in the ublox app survive a firmware update though:
Thanks.
With only firmware update mower work (no change in config file or other), so certainly initial config survive.
It mow actualy, so i need to check the behaviour under some particular position to see if it's better.

Next step is the update of the base station , and change in the sunray code for v3 implementation.

After one week i can confirm that result is better and more stable under tree and near wall: V3 implementation help a lot.
 
Zuletzt bearbeitet:
Oben