PostFrontal Forum
PostFrontal Forum
LK8000_Support_Forum | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 LK8000 International Support
 General Support
 LK8000 on alfapilot rs
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

tvebi
Pulcino

Germany
25 Posts

Posted - 09/06/2020 :  08:22:09  Show Profile  Reply with Quote
Hallo,
installed lk8000-beta on alfapilot rs from app store. Could not access gps, the devices offered are TCPclient/Server and UTAR0-3, I think there must be a /dev/xxxx but I could not figure out what to use.

I also tried XCsoar which offers a "GPS&Sensors" device which works.

Any idea how to fix it in lk8000?

Best Regards,
Eberhard

brunotl
Pterodattilo

France
1096 Posts

Posted - 09/06/2020 :  18:25:07  Show Profile  Reply with Quote
"internal" should work if it's android device ...
Go to Top of Page

tvebi
Pulcino

Germany
25 Posts

Posted - 09/06/2020 :  21:09:28  Show Profile  Reply with Quote
I can confirm lk8000 and "internal" works status is GPSfix, baro should be there but is missing.
lk8000-beta does not work with same setting.
I try to get some log files.

Best Regards,
Eberhard
Go to Top of Page

parapenT1sta
Pterodattilo

Portugal
1864 Posts

Posted - 10/06/2020 :  01:34:47  Show Profile  Visit parapenT1sta's Homepage  Click to see parapenT1sta's MSN Messenger address  Reply with Quote
It's better if you create a NMEA LOG. (Config 2/3 - NMEA LOGGER)
Go to Top of Page

tvebi
Pulcino

Germany
25 Posts

Posted - 11/06/2020 :  15:57:42  Show Profile  Reply with Quote
did not mange to get a NMEA Log file so I send the runtime log for V7.1n and V7.0.

GPS works on V7.0 but there is no sensor information like "baro".
May be there is something wrong reading "INTERNAL" data.



quote:

[000163664] ------------------------------------------------------------
[000163666] . Starting LK8000 v7.1n May 5 2020 LINUX
[000163674] . System Name: Linux localhost
[000163674] . Kernel Version: 3.0.36+
[000163674] . Kernel Build: #4 SMP PREEMPT Thu Mar 9 14:20:11 HKT 2017
[000163674] . Machine Arch: armv7l
[000163677] . Free ram=3780 K storage=4294967295 K
[000163722] . Host and Cpu informations not available
[000163723] . Program execution path : <>
[000163725] . Program system directory : </mnt/asec/org.lk8000.test-1/pkg.apk/>
[000163740] . Program data directory : </mnt/sdcard/LK8000/>
[000164301] language : syntax error at line 2561 near: }
[000164307] .... LoadProfile </mnt/sdcard/LK8000/_Configuration_beta/DEFAULT_AIRCRAFT.acf> open failed
[000164307] .... LoadProfile </mnt/sdcard/LK8000/_Configuration_beta/DEFAULT_PILOT.plt> open failed
[000164307] .... LoadProfile </mnt/sdcard/LK8000/_Configuration_beta/DEFAULT_DEVICE.dvc> open failed
[000164308] .... LoadProfile </mnt/sdcard/LK8000/_Configuration_beta/DEFAULT_PROFILE.prf> open failed
[000164531] . InitLKScreen: AUTORES 1072x1350
[000167224] language : syntax error at line 2561 near: }
[000172361] . LKInstall created </mnt/sdcard/LK8000/_Configuration_beta/LASTINFO.TXT>
[000175693] .... LoadProfile </mnt/sdcard/LK8000/_Configuration_beta/DEFAULT_PILOT.plt> open failed
[000175694] .... LoadProfile </mnt/sdcard/LK8000/_Configuration_beta/DEFAULT_DEVICE.dvc> open failed
[000175694] .... LoadProfile </mnt/sdcard/LK8000/_Configuration_beta/DEFAULT_AIRCRAFT.acf> open failed
[000177133] language : syntax error at line 2561 near: }
[000177166] . Loading polar file </mnt/asec/org.lk8000.test-1/pkg.apk/assets/polars/Default.plr>
[000177188] . Terrain Open RasterMapRaw </mnt/sdcard/LK8000/_Maps/DEMO.DEM>
[000177188] ... Terrain size is 2073600
[000177188] ... Available memory is 47184kB
[000177188] ... Terrain : use heap memory
[000177218] . Waypoint file 0 format: SeeYou
[000177221] . LOADED 58 WAYPOINTS + 20 virtuals
[000177222] ... Cannot load recent wp history
[000177235] . open AirfieldFile <WAYNOTES.txt>
[000177236] ...... No HomeWaypoint, default position set to terrain center
[000177355] language : syntax error at line 2561 near: }
[000177366] . Reading OpenAir airspace file
[000177393] . Now we have 16 airspaces
[000177393] . OpenAir: 0 airspaces of 15 excluded by Terrain Filter
[000177394] ... No airspace file 2
[000177394] ... No airspace file 3
[000177394] ... No airspace file 4
[000177394] ... No airspace file 5
[000177394] ... No airspace file 6
[000177394] ... No airspace file 7
[000177394] ... No airspace file 8
[000177394] ... No airspace file 9
[000177460] . LKMAPS Advanced Topology file found
[000177467] . FLARMNET database, found 0 IDs
[000177499] . ComCheck Init
[000177499] . Device A is <Internal> Port=internal
[000177610] . Device B is DISABLED.
[000177614] . Device C is DISABLED.
[000177615] . Device D is DISABLED.
[000177620] . Device E is DISABLED.
[000177621] . Device F is DISABLED.
[000177900] . GCE_STARTUP_REAL
[000177901] . ProgramStarted=NormalOp h10:22:44 (NO FIX)
[000177901] . Free ram=41588 K storage=4294967295 K
[000178574] . LoadTask : </mnt/sdcard/LK8000/_Tasks/Default.lkt>
[000181556] . LK Battery Manager V1 started, current charge=100%
[000221031] . ComPort RESET ordered
[000221031] . RestartCommPorts begin @h10:22:44 (NO FIX)
[000221032] . Device A is <Internal> Port=internal
[000221084] . Device B is DISABLED.
[000221086] . Device C is DISABLED.
[000221087] . Device D is DISABLED.
[000221087] . Device E is DISABLED.
[000221088] . Device F is DISABLED.
[000271032] . ComPort RESET ordered
[000271032] . RestartCommPorts begin @h10:22:44 (NO FIX)
[000271032] . Device A is <Internal> Port=internal
[000271036] . Device B is DISABLED.
[000271036] . Device C is DISABLED.
[000271036] . Device D is DISABLED.
[000271037] . Device E is DISABLED.
[000271037] . Device F is DISABLED.
[000272829] . Entering shutdown h10:22:44 (NO FIX)
[000272948] . Save history to </mnt/sdcard/LK8000/_Configuration_beta/History.txt>
[000272949] . SaveRecentList: saved 0 recent waypoints
[000273021] . SaveTask : saving </mnt/sdcard/LK8000/_Tasks/Default.lkt>
[000273040] . Stop COM devices
[000273046] . Settings for 16 airspaces saved to file </mnt/sdcard/LK8000/_Airspaces/AspConfig.LK>
[000273047] . CloseLKAirspace
[000273047] . ComPort 0: status=1 Rx=0 Tx=0 ErrRx=0 ErrTx=0
[000273047] . ComPort 1: status=1 Rx=0 Tx=0 ErrRx=0 ErrTx=0
[000273047] . ComPort 2: status=1 Rx=0 Tx=0 ErrRx=0 ErrTx=0
[000273047] . ComPort 3: status=1 Rx=0 Tx=0 ErrRx=0 ErrTx=0
[000273047] . ComPort 4: status=1 Rx=0 Tx=0 ErrRx=0 ErrTx=0
[000273047] . ComPort 5: status=1 Rx=0 Tx=0 ErrRx=0 ErrTx=0
[000273047] . Finished shutdown h10:22:44 (NO FIX)
[000273049] . WndMain::OnDestroy
[000279024] ------------------------------------------------------------
[000279025] . Starting LK8000 v7.0 Oct 26 2018 LINUX
[000279025] . System Name: Linux localhost
[000279026] . Kernel Version: 3.0.36+
[000279026] . Kernel Build: #4 SMP PREEMPT Thu Mar 9 14:20:11 HKT 2017
[000279026] . Machine Arch: armv7l
[000279037] . Free ram=83136 K storage=4294967295 K
[000279037] . Host and Cpu informations not available
[000281016] .... LoadProfile </mnt/sdcard/LK8000/_Configuration/DEFAULT_AIRCRAFT.acf> open failed
[000281017] .... LoadProfile </mnt/sdcard/LK8000/_Configuration/DEFAULT_PILOT.plt> open failed
[000281017] .... LoadProfile </mnt/sdcard/LK8000/_Configuration/DEFAULT_DEVICE.dvc> open failed
[000281027] . InitLKScreen: AUTORES 1072x1350
[000286561] . LKInstall created </mnt/sdcard/LK8000/_Configuration/LASTINFO.TXT>
[000288948] .... LoadProfile </mnt/sdcard/LK8000/_Configuration/DEFAULT_PILOT.plt> open failed
[000288948] .... LoadProfile </mnt/sdcard/LK8000/_Configuration/DEFAULT_DEVICE.dvc> open failed
[000288948] .... LoadProfile </mnt/sdcard/LK8000/_Configuration/DEFAULT_AIRCRAFT.acf> open failed
[000291351] . Loading polar file </mnt/asec/org.lk8000.beta-1/pkg.apk/assets/polars/Default.plr>
[000291366] . Terrain Open RasterMapRaw </mnt/sdcard/LK8000/_Maps/DEMO.DEM>
[000291366] ... Terrain size is 2073600
[000291366] ... Available memory is 20288kB
[000291367] ... Terrain : use heap memory
[000291387] . Waypoint file 1 format: SeeYou
[000291390] . LOADED 58 WAYPOINTS + 19 virtuals
[000291390] ... Cannot load recent wp history
[000291401] . open AirfieldFile <WAYNOTES.txt>
[000291403] ...... No HomeWaypoint, default position set to terrain center
[000291421] . Reading OpenAir airspace file
[000291428] . Now we have 15 airspaces
[000291428] ... No airspace file 2
[000291567] . LKMAPS Advanced Topology file found
[000291584] . FLARMNET database, found 0 IDs
[000291652] . ComCheck Init
[000291652] . Device A is <Internal> Port=internal
[000291686] . Device B is DISABLED.
[000291692] . Device C is DISABLED.
[000291692] . Device D is DISABLED.
[000291692] . Device E is DISABLED.
[000291692] . Device F is DISABLED.
[000291898] . GCE_STARTUP_REAL
[000291898] . ProgramStarted=NormalOp h8:24:38 (NO FIX)
[000291898] . Free ram=15700 K storage=4294967295 K
[000292075] . LoadTask : </mnt/sdcard/LK8000/_Tasks/Default.lkt>
[000293004] . First GPS DATE: 2020-6-11 h8:24:39 (NO FIX)
[000293118] . LK Battery Manager V1 started, current charge=100%
[000369027] ... GPS Port 0 no hearthbeats, but still gpsValid: forced invalid h8:25:50 (UTC 08:25)
[000384028] ... GPS Port 0 no hearthbeats, but still gpsValid: forced invalid h8:26:03 (UTC 08:26)




Best Regards,
Eberhard
Go to Top of Page

tvebi
Pulcino

Germany
25 Posts

Posted - 11/06/2020 :  20:07:45  Show Profile  Reply with Quote
Hallo,

in the mean time I had a contact to a guy from ALFAPILOT he stated:

quote:

In our latest version of the software we have improved the compatibility with third-party applications and they all work well.

As soon as we can, we will test the application and send you a video or all the information to make it work. Right now only 1 person works in the company, the rest of us are at home due to the state of alarm in Spain.



so I will wait for the answer and give it a try.
I will report as soon as there is any progress.

Best Regards,
Eberhard
Go to Top of Page

brunotl
Pterodattilo

France
1096 Posts

Posted - 12/06/2020 :  12:11:21  Show Profile  Reply with Quote
AlphaPilot device is a rebranded and customized "Boygue T62 eReader" hardware runing a customized Android 4.2.2, original version don't have GPS nor Baro, so it look at least 2 things is wrong in this device Android version :

- android.location.GpsStatus.NmeaListener is not called by GPS driver
https://developer.android.com/reference/android/location/GpsStatus.NmeaListener

- Baro is not registred in android.hardware.SensorManager or don't send SensorEvent with type "TYPE_PRESSURE"
https://developer.android.com/reference/android/hardware/Sensor#STRING_TYPE_PRESSURE

you can try GPSTest to test GPS (https://play.google.com/store/apps/details?id=com.android.gpstest&hl=fr) and CPU-Z to check available sensor (https://play.google.com/store/apps/details?id=com.cpuid.cpu_z&hl=fr)
Go to Top of Page

tvebi
Pulcino

Germany
25 Posts

Posted - 20/06/2020 :  19:43:52  Show Profile  Reply with Quote
Alfapilot managed to get GPS/Baro working.

For this a "seri-launcher 3.8" which is the tool to read out the sensors is necessary.
Following should be done in device setup:

Device A
  • Name LX
  • Port UDPServer
  • Port 4353


Nmea sentence supported $LXWP0 - $GPGGA - $GPRMC

It seams that this works fine now.

But the next problem I encountered is that obvious there is no gray scale version available for android.

I have seen that there is a possibility to build a gray scale version for LINUX, but I don't know how to do it for Android.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To:
PostFrontal Forum © PostFrontal - La community del Volo a Vela Go To Top Of Page
This page was generated in 0.21 seconds. Snitz Forums 2000

Since 2006, owned and maintained by PostFrontal S.A.S. di Giuliano Golfieri & c. - VAT ID: IT05264240960
THIS WEBSITE ONLY USES FUNCTIONAL COOKIES
Privacy & Cookie Policy