Little something for LK8000 users

Moderators: Uros, Tom, OXO

Post Reply
witor
Posts: 209
Joined: Wed Dec 15, 2010 11:47 pm

Little something for LK8000 users

Post by witor » Wed Mar 21, 2018 1:50 am

If you use LK8000 you might be interested in trying my little tool :D

https://github.com/witorwitor/Condor2LK/releases

sadatoni
Posts: 188
Joined: Sat Apr 15, 2017 1:02 am
Location: Central Ohio, USA

Re: Little something for LK8000 users

Post by sadatoni » Thu Mar 22, 2018 2:38 pm

I've yet to figure out how to make the PC version communicate with Condor. I do have XCSoar working, but it would be nice to have a choice at times.
N5503T CN(0OU)

Image
John Ferguson

roeoender
Posts: 36
Joined: Fri Oct 05, 2012 12:04 am

Re: Little something for LK8000 users

Post by roeoender » Thu Mar 22, 2018 4:24 pm

Maybe this will be helpful to anyone:
Condor works nicely with both LK800 and XCsoar running on Android phone when connected to the same Wifi - I followed instructions from last entry of this topic http://www.postfrontal.com/forum/topic. ... IC_ID=8526:

Code: Select all

1. Install HW VSP3 - Virtual Serial Port.
http://new.hwg.cz/files/download/sw/version/hw-vsp3-single_3-1-2.exe
You can choose standalone installation (without Server/Client option)

2. PC and Android phone must be connected to same WiFi router

3. Note Android IP address (Goto WiFi settings and touch current WiFi network), e.g. 192.160.0.12

4. In LK8000 FLY mode go to Config 2/3 > LK8000 Setup > Device Setup > Device B:
Name: Condor
Port: TCPServer
Port: 4353 (note this number if different because you have to enter it into TCP Client in HW VSP3)

5. Start Condor, go to Setup > Options > NMEA Output and check number of the last existing COM port (e.g. COM9). Exit Condor.

6. Start HW VSP3, go to Virtual Serial Port tab and set:
Port name: COM12 (Choose COM number higher than the last existing one in step 5)
IP Address: Android IP on WiFi network (e.g. 192.168.0.12)
Port: 4353 (port from LK8000 device B configuration)

Click "Create COM", leave HW VSP3 window in the background.

7. Start Condor, in Setup > Options enable NMEA output and choose virtual com port (e.g. COM12 created in step 6)

8. Start flight!
Works great and no cables needed :)

But I suspect witor's tool will work only with LK800 installed locally on the same PC as Condor.

sadatoni
Posts: 188
Joined: Sat Apr 15, 2017 1:02 am
Location: Central Ohio, USA

Re: Little something for LK8000 users

Post by sadatoni » Thu Mar 22, 2018 8:21 pm

It's the step to set up LK8000 to connect to the TCPIP port. I can't find where to do that in LK8000.
N5503T CN(0OU)

Image
John Ferguson

roeoender
Posts: 36
Joined: Fri Oct 05, 2012 12:04 am

Re: Little something for LK8000 users

Post by roeoender » Thu Mar 22, 2018 9:42 pm

In LK8000 6.1r: On the screen: Config 2/3 -> LK8000 Setup -> Device Setup
In "Name" field select "Condor" then in "Port" select TCPServer and in another "Port" field enter port number - like 4353.

lizz
Posts: 2
Joined: Mon Oct 17, 2011 12:10 pm

Re: Little something for LK8000 users

Post by lizz » Fri Mar 23, 2018 10:42 am

Hi,

I'm looking to connect a moving map/soaring application to Condor 2 running on my PC. It can either be the LK or the XCSOAR application.
Can I just buy any recent 'cheap' android tablet and use it to connect one of these apps to condor 2 or are there specs to meet regarding OS,versions etc. ?

Thanks

witor
Posts: 209
Joined: Wed Dec 15, 2010 11:47 pm

Re: Little something for LK8000 users

Post by witor » Fri Mar 23, 2018 2:36 pm

Yes my tool will change files in the LK8000 folder on the Pc running LK and condor. You will need other means of synchronizing files with other (external) devices. I don't use external device so I have not tested it.

User avatar
Bre901
Posts: 1799
Joined: Tue Nov 22, 2016 8:57 pm
Location: Annecy (France)
Contact:

Re: Little something for LK8000 users

Post by Bre901 » Fri Mar 23, 2018 7:25 pm

Works perfectly with XCSoar on an Android phone (I just had to make an educated guess about the COM port # as Condor 1 shows no port and the NMEA Tick-box is grayed before the COM port is created - 12 was OK)
Thanks a lot !
roeoender wrote:
Thu Mar 22, 2018 4:24 pm
Maybe this will be helpful to anyone:
Condor works nicely with both LK800 and XCsoar running on Android phone when connected to the same Wifi - I followed instructions from last entry of this topic http://www.postfrontal.com/forum/topic. ... IC_ID=8526:

Works great and no cables needed :)

But I suspect witor's tool will work only with LK800 installed locally on the same PC as Condor.
CN: MPT — CondorUTill webpage: https://condorutill.fr/

User avatar
ts
Posts: 46
Joined: Fri Aug 05, 2005 1:57 pm
Location: Hamburg, Germany

Re: Little something for LK8000 users

Post by ts » Fri Mar 23, 2018 9:01 pm

And does this tool work with Condor 2 or is there a Condor22LK planned ?
Image

witor
Posts: 209
Joined: Wed Dec 15, 2010 11:47 pm

Re: Little something for LK8000 users

Post by witor » Sat Mar 24, 2018 8:08 pm

It does work with condor 2, but you need to add polars for the new gliders. Just edit C2LKpolars.txt. I have added this to mine (Discus is not perfect as I made it with just one pilot in the cockpit)

[DuoDiscus]
SafteySpeed1=73056
AircraftType1=DuoDiscus
Handicap1=111
BallastSecsToEmpty1=198
polar=500, 198, 82, -0.52, 92, -0.56, 156, -1.50, 16.4

[Antares18S]
SafteySpeed1=77778
AircraftType1=Antares18S
Handicap1=118
BallastSecsToEmpty1=216
polar=350, 216, 76, -0.48, 99, -0.54, 180, -1.83 , 11.0

[Diana2]
SafteySpeed1=76944
AircraftType1=Diana2
Handicap1=114
BallastSecsToEmpty1=240
polar=242, 240, 79, -0.47, 89, -0.50, 179, -2.21, 8.6

[Genesis2]
SafteySpeed1=77222
AircraftType1=Genesis2
Handicap1=107
BallastSecsToEmpty1=195
polar=328, 195, 88, -0.61, 100, -0.65, 179, -2.48, 11.2

[Blanik]
SafteySpeed1=70278
AircraftType1=Blanik
Handicap1=78
BallastSecsToEmpty1=0
polar=380, 0, 73, -0.82, 88, -0.88, 135, -2.20, 19.2

[StdCirrus]
SafteySpeed1=61111
AircraftType1=StdCirrus
Handicap1=99
BallastSecsToEmpty1=60
polar=300, 60, 92, -0.67, 142, -1.47, 190, -2.89, 10.4

User avatar
Bre901
Posts: 1799
Joined: Tue Nov 22, 2016 8:57 pm
Location: Annecy (France)
Contact:

Re: Little something for LK8000 users

Post by Bre901 » Tue Jan 07, 2020 10:29 am

witor wrote:
Sat Mar 24, 2018 8:08 pm
It does work with condor 2, but you need to add polars for the new gliders. Just edit C2LKpolars.txt. I have added this to mine (Discus is not perfect as I made it with just one pilot in the cockpit)

[DuoDiscus]
SafteySpeed1=73056 [mm/s] :roll: :roll:
AircraftType1=DuoDiscus
Handicap1=111
BallastSecsToEmpty1=198
polar=500, 198, 82, -0.52, 92, -0.56, 156, -1.50, 16.4

....
If you need more glider data you can find them in the .xcp files that are available there :
https://condorutill.pagesperso-orange.fr/index.html

for example for for the DuoDiscus (one pilot)
Registration=""
CompetitionID=""
Type="DuoDiscus"
Handicap="111"
PolarInformation="92.0000,-0.5544,146.0000,-1.2601,200.0000,-2.7266, "
PolarReferenceMass="500"
PolarDryMass="500"
MaxBallast="198"
DumpTime="198"
MaxSpeed="73.056"
WingArea="16.40"

If someone is interested, I could generate the C2LKpolars.txt file with the same tool I use for .xcp and .plr files (I have all the data needed, it's just a matter of formatting).
CN: MPT — CondorUTill webpage: https://condorutill.fr/

User avatar
Bre901
Posts: 1799
Joined: Tue Nov 22, 2016 8:57 pm
Location: Annecy (France)
Contact:

Re: Little something for LK8000 users

Post by Bre901 » Sat Apr 11, 2020 3:02 pm

As I have developed a Condor->XCSoar converter, I sometimes get questions about converting tasks to LK8000, so I send people here.

The last one who tested it told me he couldn't make Condor2LK work

I tried it myself, I downloaded and opened the script with AHK and this is what I got :
Condor2LK.png
As I didn't find any documentation, maybe I didn't use it correctly.
Is there something like a manual somewhere ?
Do you plan to maintain the tool ?
You do not have the required permissions to view the files attached to this post.
CN: MPT — CondorUTill webpage: https://condorutill.fr/

User avatar
EDB
Posts: 1575
Joined: Mon Oct 31, 2011 1:17 am
Location: The Netherlands, Europe Continent, Earth Planet, Milky Way Galaxy, Virgo Super Cluster

Re: Little something for LK8000 users

Post by EDB » Sat Apr 11, 2020 3:17 pm

The manual is in the BIN.package.zip

User avatar
Bre901
Posts: 1799
Joined: Tue Nov 22, 2016 8:57 pm
Location: Annecy (France)
Contact:

Re: Little something for LK8000 users

Post by Bre901 » Sat Apr 11, 2020 3:54 pm

Thanks !
CN: MPT — CondorUTill webpage: https://condorutill.fr/

Post Reply