sctg-development / RtkGps

Playing with rtklib on android
Other
223 stars 102 forks source link

Link to functionnal dev tree and APK for 2.4.3b26 with Lapack #11

Open Matioupi opened 8 years ago

Matioupi commented 8 years ago

Hello,

I managed to setup the project under Android Studio 2.2.2 (up to date version) on Windows. I also have LAPACK enabled and working. The full dev tree (including a working APK) is available here (for a short time I guess) :

https://we.tl/xR5e2Y7HIZ

If someone wants to set it/merge up cleanly under github (which I'm not used to work properly), this is of course welcome !

I only activated GPS+GLO+SBAS as this greatly speeds up computations.

Regards

eltorio commented 8 years ago

I'll take a look soon

Le 14 nov. 2016 17:19, "Matioupi" notifications@github.com a écrit :

Hello,

I managed to setup the project under Android Studio 2.2.2 (up to date version) on Windows. I also have LAPACK enabled and working. The full dev tree (including a working APK) is available here (for a short time I guess) :

https://we.tl/xR5e2Y7HIZ

If someone wants to set it/merge up cleanly under github (which I'm not used to work properly), this is of course welcome !

I only activated GPS+GLO+SBAS as this greatly speeds up computations.

Regards

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/eltorio/RtkGps/issues/11, or mute the thread https://github.com/notifications/unsubscribe-auth/AGpNoUw3Y4G7bjE8yAnfJ_RHWW3Mf-Yeks5q-In0gaJpZM4KxgVm .

Matioupi commented 8 years ago

Si il faut vous renvoyer le fichier pas de pb. J'ai ôté la clef Géoportail du source mais j'ai généré l apk avec la même clef que votre version... Cordialement

Mathieu Peyréga

Le 14 nov. 2016 19:39, "Ronan LE MEILLAT" notifications@github.com a écrit :

I'll take a look soon

Le 14 nov. 2016 17:19, "Matioupi" notifications@github.com a écrit :

Hello,

I managed to setup the project under Android Studio 2.2.2 (up to date version) on Windows. I also have LAPACK enabled and working. The full dev tree (including a working APK) is available here (for a short time I guess) :

https://we.tl/xR5e2Y7HIZ

If someone wants to set it/merge up cleanly under github (which I'm not used to work properly), this is of course welcome !

I only activated GPS+GLO+SBAS as this greatly speeds up computations.

Regards

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/eltorio/RtkGps/issues/11, or mute the thread https://github.com/notifications/unsubscribe- auth/AGpNoUw3Y4G7bjE8yAnfJ_RHWW3Mf-Yeks5q-In0gaJpZM4KxgVm .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/eltorio/RtkGps/issues/11#issuecomment-260422074, or mute the thread https://github.com/notifications/unsubscribe-auth/AFTu8qDwpTNprrk8aQLkEm1YTemghRdUks5q-Kr0gaJpZM4KxgVm .

eltorio commented 8 years ago

Merci, surtout ne mettez pas la clé dans le code (même si c'est très facile de la récupérer depuis l'apk) l'ign l'annulerait Ronan

Le 14 nov. 2016 21:15, "Matioupi" notifications@github.com a écrit :

Si il faut vous renvoyer le fichier pas de pb. J'ai ôté la clef Géoportail du source mais j'ai généré l apk avec la même clef que votre version... Cordialement Mathieu Peyréga

Le 14 nov. 2016 19:39, "Ronan LE MEILLAT" notifications@github.com a écrit :

I'll take a look soon

Le 14 nov. 2016 17:19, "Matioupi" notifications@github.com a écrit :

Hello,

I managed to setup the project under Android Studio 2.2.2 (up to date version) on Windows. I also have LAPACK enabled and working. The full dev tree (including a working APK) is available here (for a short time I guess) :

https://we.tl/xR5e2Y7HIZ

If someone wants to set it/merge up cleanly under github (which I'm not used to work properly), this is of course welcome !

I only activated GPS+GLO+SBAS as this greatly speeds up computations.

Regards

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/eltorio/RtkGps/issues/11, or mute the thread https://github.com/notifications/unsubscribe- auth/AGpNoUw3Y4G7bjE8yAnfJ_RHWW3Mf-Yeks5q-In0gaJpZM4KxgVm .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/eltorio/RtkGps/issues/11#issuecomment-260422074, or mute the thread https://github.com/notifications/unsubscribe-auth/ AFTu8qDwpTNprrk8aQLkEm1YTemghRdUks5q-Kr0gaJpZM4KxgVm .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/eltorio/RtkGps/issues/11#issuecomment-260449195, or mute the thread https://github.com/notifications/unsubscribe-auth/AGpNoYOj36b0HpnuUDhw8I3QtI5LWTt6ks5q-MFpgaJpZM4KxgVm .

gto234 commented 8 years ago

I installed the apk but the bluetooth is broken. When I press to start the server there is a message "(1) bind error (13) : 80" Can you confirm and fix that?

tech4bot commented 8 years ago

Hi, is there any repository where I can take the rtkgps+ with rtklib 2.4.3b26? Or at least the apk? Because I have a problem with ntrip clinet is seeing only glonass, and I want to see if the problem is from the version 2.4.2.

Thank you!

zeroping commented 7 years ago

@Matioupi Can you re-post that tree? I'm struggling to get this to build at all, and would find your dev tree helpful.

gto234 commented 7 years ago

@tech4bot try this version https://dl.dropboxusercontent.com/u/75599473/RtkGps%2B2.4.2.P11_ARMx86_FF_160606.apk and see if it works. For me it works the best of all i have tried.

jdatalog commented 7 years ago

Mathieu, Serait-il possible que tu partage de nouveau ta version upgradé. Les vacances aidant je vais pourvoir essayer de recompiler l'ensemble avec la dernière version de rtklib (voire avec la version de rtklibexplorer). A moins que Ronan soit sur le point de mettre à jour son repo ? Merci d'avance Christophe

Matioupi commented 7 years ago

https://we.tl/ZiWOC37Ca9

Le 20/12/2016 à 10:36, jdatalog a écrit :

Mathieu, Serait-il possible que tu partage de nouveau ta version upgradé. Les vacances aidant je vais pourvoir essayer de recompiler l'ensemble avec la dernière version de rtklib (voire avec la version de rtklibexplorer). A moins que Ronan soit sur le point de mettre à jour son repo ? Merci d'avance Christophe

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/eltorio/RtkGps/issues/11#issuecomment-268197712, or mute the thread https://github.com/notifications/unsubscribe-auth/AFTu8q--DunYWzcdtcI2B831OhIXjjQrks5rJ6GygaJpZM4KxgVm.

-- tel : +33 (0)6 87 30 83 59

jdatalog commented 7 years ago

Génial, Merci

ivanskj commented 7 years ago

Does anyone have a link to new package that will compile?

mazherChoudhury commented 7 years ago

Does any one have a package that can be compiled with Android studio for android 6.0+? I have tried different ways to compile for the api level 23 but could not go past certain areas. Like USB connection. As soon as the usb connected, the app froze. Looking at the logcat it shows 'System.err: java.io.IOException: No such file or directory'. On the other hand, googleplay version works nicely. I assume, this issue due to newer version of apis and the permission issues. If anybody have solved such issue please help me to go through this trouble. Many thanks.

mazherChoudhury commented 7 years ago

@Matioupi : will you please share your project? This will save some time for me. Many thanks and regards.

ivanskj commented 7 years ago

+1 on that :-)

Matioupi commented 7 years ago

Le 18/01/2017 à 07:23, mazherChoudhury a écrit :

@Matioupi https://github.com/Matioupi : will you please share your project? This will save some time for me. Many thanks and regards.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/eltorio/RtkGps/issues/11#issuecomment-273394427, or mute the thread https://github.com/notifications/unsubscribe-auth/AFTu8iF3uU6cKvyy2U7tmG9XhckzdYmUks5rTa_TgaJpZM4KxgVm.

here you are :

https://we.tl/3Il9HaiIAV

if someone with good github skill can place/create its own repository, that would be nice...

regards

jdatalog commented 7 years ago

Hello Mathieu, Thanks to share your work. I successfully build your version and ran it on 2 different devices. Still have some pbs with my usb ublox GPS but I will investigate. You have your own github rtkgps+ fork, no ? Hello Ronan (eltorio), You have stopped rtkgps+ development ? @+ Christophe

Matioupi commented 7 years ago

Thanks for the feedback.

I've not been using the usb / bluetooth stuff so I can't tell about that. With Ronan public version, this was working well for me with a Comnavtech board (Novatel compatible) and bluetooth on a Galaxy S4.

For the tests with recompiling rtkgps, I've only been feeding the rtk engine with a rt27 (Trimble) datastream through wifi (ip port)

Regards

Le 18/01/2017 à 19:23, jdatalog a écrit :

Hello Mathieu, Thanks to share your work. I successfully build your version and ran it on 2 different devices. Still have some pbs with my usb ublox GPS but I will investigate. You have your own github rtkgps+ fork, no ? Hello Ronan (eltorio), You have stopped rtkgps+ development ? @+ Christophe

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/eltorio/RtkGps/issues/11#issuecomment-273557533, or mute the thread https://github.com/notifications/unsubscribe-auth/AFTu8tOF6HCSRzbJf7HWy5FC-nkjfR5Bks5rTliPgaJpZM4KxgVm.

-- tel : +33 (0)6 87 30 83 59

mazherChoudhury commented 7 years ago

Hello Mathieu, Thanks a lot. Regards

mazherChoudhury commented 7 years ago

@jdatalog : Thanks for the info. I also see that when USB is connected it shows me "bind error(13):80". All I know it is generated from stream.c(Line 1066) file of RTKLIB. however, do not understand why this happens. Please do let me know if you can fixe this. Many thanks.:)

mazherChoudhury commented 7 years ago

I guess I got one issue for the USB ublox GPS. Looks like it can not write to the mobile.

I hope this can help the Android guru's:

From logcat, I got followings: 01-20 15:30:20.293 17267 17337 V RtklibLocalSocketThread: Maz-> connect Issue: mSocketPath-> /data/user/0/gpsplus.rtkgps/files/usb_InputRover 01-20 15:30:20.293 17267 17337 W System.err: java.io.IOException: No such file or directory 01-20 15:30:20.293 17267 17337 W System.err: at android.net.LocalSocketImpl.connectLocal(Native Method) 01-20 15:30:20.294 17267 17337 W System.err: at android.net.LocalSocketImpl.connect(LocalSocketImpl.java:299)

01-20 15:30:20.294 17267 17337 W System.err: at android.net.LocalSocket.connect(LocalSocket.java:130)

01-20 15:30:20.294 17267 17337 W System.err: at gpsplus.rtkgps.RtklibLocalSocketThread.connectLoop(RtklibLocalSocketThread.java:156)

01-20 15:30:20.294 17267 17337 W System.err: at gpsplus.rtkgps.RtklibLocalSocketThread.run(RtklibLocalSocketThread.java:234)`

ivanskj commented 7 years ago

That could be something with the rtklib.h file not having the correct routines for unixsockets? Got it to compile with 2.4.2 p12 just now. Had to add the unixsockets from eltorios git. Had similar issues. Try info output in logcat? Found output from gps in there, that way i knee the gps was working

ivanskj commented 7 years ago

Stream.c is the file i had to edit and add the most to

mazherChoudhury commented 7 years ago

Thanks @ivanskj. I will check this. Good to know this could be the issue in my case. @Matioupi: May i know why there are only GPS, GLONASS and SBS. Where is the other GNSS system gone like BeiDou, Galileo. I saw in codes that it is blocked. However, do not know how to open other GNSS option? Will you please let me know how to use all the GNSS. Many thanks

Matioupi commented 7 years ago

Le 24/01/2017 à 10:17, mazherChoudhury a écrit :

Thanks @ivanskj https://github.com/ivanskj. I will check this. Good to know this could be the issue in my case. @Matioupi https://github.com/Matioupi: May i know why there are only GPS, GLONASS and SBS. Where is the other GNSS system gone like BeiDou, Galileo. I saw in codes that it is blocked. However, do not know how to open other GNSS option? Will you please let me know how to use all the GNSS. Many thanks

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/eltorio/RtkGps/issues/11#issuecomment-274749562, or mute the thread https://github.com/notifications/unsubscribe-auth/AFTu8l9VN0z-v0n22VbGCwrWxAbQbwMIks5rVcGngaJpZM4KxgVm.

I compiled for GPS+GLO+SBAS only because it is much faster (some loops in RTKLIB are of fixed length of max possible sats which makes a much heavier cpu usage for nothing when your board does not have GAL+BEIDOU)

This is achieved through flags defined in rtklib.mk taht are triggered ah-hoc stuff in rtklib.h

RTKLIB_CFLAGS := -DENAGLO -DENAGAL -DENAQZS -DENACMP -DNFREQ=3 -DTRACE

RTKLIB_CFLAGS := -DENAGLO -DNFREQ=3 -DTRACE

regards

mazherChoudhury commented 7 years ago

Thanks a lot @Matioupi.

jdatalog commented 7 years ago

Hello all, Any advance on this subject ? I tried to merge rtklib (2.4.2b9 rtkgps version (some stuff like unix socket not exist in original rtklib version)) from rtkgps+ with latest (2.4.3b26) but there is lot of change (rtklib.h, stream.c, ...). I have something building with Android studio (both on Linux and Windows) but not running . I think, I will restart merging but with small step. In your side, have you made some progress ? @+ Christophe

ivanskj commented 7 years ago

What errors are you getting? What is the difference with 2.4.3 vs 2.4.2? I never studied that since i got 2.4.2 p12 working

jdatalog commented 7 years ago

Hello, Thanks Ivanskj for you reply. The majority of changes are in stream.c and rtklib.h but there is also modification in some other files (ubloc.c, ...). The error I have actually is sigsev (segmentation fault). Reading your answer I Rebuild with 2.4.2 p12 (patched with rtkgps+ modifs) and I can start rtkgps+ on my android phone. I connect my M8T gps, configure it, green ligth is blinking but I cannot see any GNSS. I will try to use ublox.c from 2.4.3p26 to see if it's help. @+ Christophe

ivanskj commented 7 years ago

Did you try to debug?

jdatalog commented 7 years ago

Yes but without success yet.

ausioz commented 7 years ago

Hi, I've tried to modify stream.c and rtklib.h with 2.4.3 and 2.4.2 p12 but i still get the same error "(1) bind error (13) : 80". I'm not sure how to modify them though. @jdatalog where can i have 2.4.2 p12 with rtkgps+ modifs? can you post that?

also, i found https://github.com/tomojitakasu/RTKLIB/pull/240 i dont know how to use that, but is it possible to link that files to Matioupi's tree?

jdatalog commented 7 years ago

Starting from Eldorio version, download rtklib-2.4.2p12 sources. Compare src directory between the 2 versions (essentially stream.c, rtkilb.h and ublox.c ...) and import modifs to rtkgps/rtklib version (which is a 2.4.2p9 with some modifs. Import but don't remove special stuff like unix socket). I'm trying to merge 2.4.3p26 version, it's not the same story, lots of modifications comparing the 2.4.2p12 version . Let us know if you have other pbs.

ausioz commented 7 years ago

Thanks jdatalog for your hints I've modify 2.4.2p12 and i can run it i tested and green ligth is blinking but I cant see any gnss too i check the output and it is blank i still learning about c/c++ language and i dont know whats wrong any suggestions?

jdatalog commented 7 years ago

@ausioz Sorry for my late answer. No progress in my side, stucked with jni debugger and have not lot of time actually. Perhaps if you activate debug in the GUI and find where is the log file is located you will find some infos. I don't understant if it's an usb pb or a (ublox) protocol issue (have a m8t connected to my android device). For all, if there is some progress, thanks to share ;-)

ivanskj commented 7 years ago

What IDE do you use? I couldnt get it to compile on Android Studio, but eclipse compiled it eventually. I am using MacOS to compile

ausioz commented 7 years ago

i tried to modify matioupi's 2.4.3p26 unix socket with Android Studio and got pb with changelog.java when i remove changelog activity, somehow i suceed to build and run it i tested it with SkyTraq ns-raw and run nicely

ivanskj commented 7 years ago

Anyone still working on this?

elsol666 commented 7 years ago

Hi ... same question from my side: It would be extremely helpful to have an actual 2.4.3 android version to merge the new stuff of tomojitakasu (https://github.com/tomojitakasu/RTKLIB/tree/rtklib_2.4.3)!

@Matioupi: Could you please share once more your latest efforts because the old links are of course invalid again meanwhile