direc85 / harbour-gpsinfo Goto Github PK
View Code? Open in Web Editor NEWThis project forked from balta3/sailfish-gpsinfo
License: GNU General Public License v2.0
This project forked from balta3/sailfish-gpsinfo
License: GNU General Public License v2.0
Does this do anything now, or is it leftover from the past? Is there a timer event?
I need updates of the elapsed times (in FirstPage), when it is waiting for something to happen. I'm sure it was happening at some point, but now it only seems to update when gps state changes.
QChart doesn't clone from github and QChart is not in the project file.
so unless this can be fixed, these instructions should be added into the project somewhere:
What I did:
in folder QML -> git bash console
git clone
move contents of new folder "chart.js" to folder QChart
In QCreator, project treeview, At top "GPSINFO" right click -> "add existing directory" ->QChart
What you should theoretically need to do: (see https://gist.github.com/gitaarik/8735255):
git clone <gpsinfo url>
git submodule update --init
also changing
Chart {
to
QChart {
removes the unknown component error.
The compass reading is very jittery when the phone is not horizontal.
Don't rotate plot with compass when phone is vertical (i.e. >60 degrees to horizontal).
Perhaps revert to align polar plot N=up, or perhaps just lock it.
(yeah, I know, dredging the bottom of the barrel for things to do here)
Add ability to start and view this logging:
https://forum.sailfishos.org/t/gps-stopped-working/1181/266
QT_LOGGING_RULES="*.debug=true" QT_MESSAGE_PATTERN="%{time} [%{type}] %{appname} (%{file}:%{line}) - %{message}" /usr/libexec/geoclue-hybris
After deactivating GPS from pulley menu and/or deactivating position from top menu Satellites in use / view still shows numbers different from 0.
Jolla Phone with SFOS 3.0.1.11 and GPSInfo 0.11
I find it a very bad idea to hide satellites with 0 signal strength. I think the change should be reverted and all satellites shown in the app.
Hi Matti,
Thanks for giving us access to this app!
All is in the title to ease for you.
My first time on Github, I hope this is the correct way to do...
Cheers,
Eric (Ric9k)
First of all many thanks @direc85 for maintaining and enhancing GPSinfo.
I hesitated to update to it on an old Jolla 1 with SailfishOS 2.2.1, because your fixes and enhancements are primarily addressing newer devices and GPSinfo 0.8 did its job well. But having updated to v0.11 today, I am definitely impressed by the many small enhancements introduced without altering the simple and easy look & feel of GPSinfo: The graphical display has become so smooth and more informative etc.
But there apparently is one change I am not happy with (regardless if deliberately or inadvertently introduced):
The calculated number of satellites "x / y" is always higher than the number of satellites graphically displayed. This is confusing and may be interpreted as a hardware malfunction by the user.
This might be related to issue #11.
IIRC in the "original" GPSinfo app (was using v0.8 for a long time) the displayed and calculated number of satellites match.
Screenshot depicting this issue (3 4 satellites shown (¿screenshot did not capture the single active one for some reason?), but 1+4=5 calculated):
harbour-gpsinfo/harbour-gpsinfo.pro
Line 43 in bf0738e
Hey,
Are you sure that the wildcarding is correct to add translation files?
I have ran lupdate with the pro file as I used to and it produces a 'translations/harbour-gpsinfo_*.ts' file instead of updating the translations (same happens when I hit Tools -> external -> Linguist -> Update translation in the SFOS IDE):
mm@lapos:~/Projektek/jolla/sailfish-gpsinfo$ ls translations/*
translations/harbour-gpsinfo_de.ts translations/harbour-gpsinfo_fr.ts translations/harbour-gpsinfo_pl.ts translations/harbour-gpsinfo.ts
translations/harbour-gpsinfo_es.ts translations/harbour-gpsinfo_hu.ts translations/harbour-gpsinfo_ru.ts translations/harbour-gpsinfo-zh_CN.ts
translations/harbour-gpsinfo_fi.ts translations/harbour-gpsinfo_nl.ts translations/harbour-gpsinfo_sv.ts
mm@lapos:~/Projektek/jolla/sailfish-gpsinfo$ lupdate harbour-gpsinfo.pro
Info: creating stash file /home/mm/Projektek/jolla/sailfish-gpsinfo/.qmake.stash
Updating 'translations/harbour-gpsinfo_*.ts'...
Found 0 source text(s) (0 new and 0 already existing)
mm@lapos:~/Projektek/jolla/sailfish-gpsinfo$ ls translations/*
translations/harbour-gpsinfo_de.ts translations/harbour-gpsinfo_fr.ts translations/harbour-gpsinfo_pl.ts **'translations/harbour-gpsinfo_*.ts'**
translations/harbour-gpsinfo_es.ts translations/harbour-gpsinfo_hu.ts translations/harbour-gpsinfo_ru.ts translations/harbour-gpsinfo.ts
translations/harbour-gpsinfo_fi.ts translations/harbour-gpsinfo_nl.ts translations/harbour-gpsinfo_sv.ts translations/harbour-gpsinfo-zh_CN.ts
I have tried to specify the translation file with the -ts option and it removed all entries from the ts file:
mm@lapos:~/Projektek/jolla/sailfish-gpsinfo$ lupdate harbour-gpsinfo.pro -ts translations/harbour-gpsinfo_hu.ts -no-obsolete
Info: creating stash file /home/mm/Projektek/jolla/sailfish-gpsinfo/.qmake.stash
lupdate warning: TS files from command line will override TRANSLATIONS in /home/mm/Projektek/jolla/sailfish-gpsinfo/harbour-gpsinfo.pro.
Updating 'translations/harbour-gpsinfo_hu.ts'...
Found 0 source text(s) (0 new and 0 already existing)
Removed 76 obsolete entries
Compiling for 4.1.0.23 with fresh SDK install.
error:
../harbour-gpsinfo/src/gpsdatasource.h:69:31: error: ‘NAN’ was not declared in this scope
qreal movementDirection = NAN;
I had to add math.h at line 4
#include <math.h> //sjb for NAN
Recently I was thinking about adding a barchart feature to the app similar to the ublox u-center 's barchart:
https://i1.wp.com/ozzmaker.com/wp-content/uploads/2019/10/ucenter3.png (right barchart)
or similar to this Android app:
https://lh3.googleusercontent.com/5j7YfudqXuRJyhg9Y69AefjALx0cXGarRqOUyLB_ubEMHLvsYxPIjNvGRHszqB1umA=w1400-h865
For me this feature would have been useful during a test test of an ublox GPS receiver to see how the RSSI compares to a phone. (Others might find it useful when comparing phones GPS reception for e.g.)
I opened this issue to start a discussion about this, because before starting implementing it I would like agree on the technology to be used for the chart.
Do you have any preference on implementing a barchart in QML?
It would be handful to use the Qt's charting system, however it is not shipped with the SDK, neither to the device, so it brings up some integration questions.
But if you happen to know a QML charging library which is capable of displaying a barchart please let me know. And at the end we could even draw it manually (since it is just a matter of drawing some rectangles).
magnetic north mark on polar plot is "?"
I think I had "m" before...
Please also indicate on the bar graph page, which satellites are currently in use, as it is already the case on the polar view page.
Preferably with the same way of indicating a satellite's use: a white outline around the coloured area (which depicts the satellite's signal strength).
The usefulness of this became apparent when trying to look further into the observation made in this side note.
Don't understand why
SatelliteBarchartPage: Binding loop detected for property "status"
/usr/share/harbour-gpsinfo/qml/harbour-gpsinfo.qml:12: QML SatelliteBarchartPage: Binding loop detected for property "status"
all pages seem to do it.
is it possible to include the orientation mark in the translation, please?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.