Giter VIP home page Giter VIP logo

harbour-gpsinfo's People

Contributors

andreysv avatar atlochowski avatar balta3 avatar dashinfantry avatar direc85 avatar eson57 avatar martonmiklos avatar mentaljam avatar mlehtima avatar okruhliak avatar sbridger avatar specig avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

harbour-gpsinfo's Issues

settings.updateinterval

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 missing from project and github clone

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.

Don't rotate plot with compass when phone is vertical

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)

Number of satellites calculated is higher than the displayed ones

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):
Screenshot_20191202_001

lupdate issues

TRANSLATIONS += translations/harbour-gpsinfo_*.ts

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

Compile error: NAN

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

Barchart feature?

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).

binding loop errors

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.

Translation to Slovak is not active in app

Version 0.13.2-1, Xperia X
Slovak is missing from the list of languages ​​(Figure 1)


.
The application will not be set according to the SFOS environment (Slovak) (Figure 2).



Slovak is listed in the list of translators (Figure 2 - "Slovenčina: okruhliak")
figure1
figure2

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.