Git Product home page Git Product logo

lk8000's Introduction

WELCOME TO THE LK8000 DEVELOPMENT HUB

Website: www.lk8000.it Forum: postfrontal.com License: GPL-2.0

Translation status

GitHub Stable GitHub Beta

GitHub Downloads


Build Targets supported

TARGET=[PPC2003|PNA|PC|PCX64|LINUX|KOBO|PI]

for a Linux build, if install is added to the command line, LK8000-LINUX and all files needed to run the software will be installed into $HOME/LK8000

for a PC build, add distrib to the command line and all files needed to run the softwre will be installed into LK8000/Distrib/PC/LK8000


Build Options supported

All Targets :

DEBUG=[y|n]  
   default = "n"
   if y is specified, no optimzation is made and debug info are included.

LINUX Target :

OPENGL=[y|n]
   default = "y" if libgl is available
   if "n" is specified, libSDL with Memory rendering is used.

USE_EGL=[y|n]
   default = "y" if "libgl" and "libegl" are available

GLES=[y|n]
   default = "n"

GLES2=[y|n]
   default = "n"

USE_SDL=[y|n]
   default = "y" if "libegl" not available or OPENGL=n

ENABLE_MESA_KMS=[y|n]
   "n" by default,
   if "y" is specified, use GBM/DRM instead of X11

Do you want LINUX greyscaled like on Kobo?

make -j4 TARGET=LINUX OPENGL=n GREYSCALE=y DITHER=y clean
make -j4 TARGET=LINUX OPENGL=n GREYSCALE=y DITHER=y install

Notice the clean that will also remove the Distrib folder, which is needed to rebuild bitmaps for use without opengl

KOBO Target :

KOBO=<kobo rootfs directory>
   default = "/opt/kobo-rootfs"

Raspberry Pi 2

dependencies : 
   zlib1g-dev
   libpng-dev
   libfreetype6-dev
   libgeographic-dev
   libboost-dev
   libinput-dev
   libudev-dev
   libglm-dev
   libsndfile1-dev
   libasound2-dev
   xsltproc
   imagemagick

PI=<rPi rootfs directory>
   required only to cross compile.

Desktop Target ( LINUX or PC ) :

FULLSCREEN=[y|n]
   default = "n"

Prebuild toolchain

Kobo & WinCE toolchain for Debian host can be found here : http://lk8000.it/toolchain/

a Doker image is also available here : https://hub.docker.com/r/lk8000/lk8000/tags

lk8000's People

Contributors

alberiolima avatar alphalima avatar alus- avatar amagnolo avatar artemmolotov avatar bobmorane06 avatar brunotl avatar comradekingu avatar danielvelezbravo avatar f5oeo avatar gereic avatar jaaaaf avatar jamesyoo01 avatar jharting avatar jkubrynski avatar klinkenberg avatar kovalevartem avatar lyusupov avatar maxkellermann avatar milotype avatar mpusz avatar parapent1sta avatar peclik avatar pventafridda avatar rab77 avatar rkalman avatar ryszardlewandowski avatar santossi avatar toninotarsi avatar turbo87 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lk8000's Issues

Size of PENs in linux are 1 point bigger than requested

For example Pen Black_N0 is not thin, it sized as 1.
This is affecting all calculations for graphics that are using NIBLSCALE as well.
What is ok under linux is no more working good on PC.
All graphics need to be retuned after fixing this problem.

Easier configuration of flight specific options

Easier configuration and verification of:

  • current pilot (name, weight)
  • current competition logger data (comp class, comp id)
  • current glider with all connected data (not only polar but also handicaps, speeds, empty mass etc.)

Load task from SeeYou .CUP file

Using waypoint file 2 in config, we can force loading a task overriding the current default tsk.
Or, to make it more complicated, we could make Load Task do the same.
Suggestions?

Github very slow due to faulty secure.gravatar.com

The gravatar site sucks and while we load from github the entire process goes nuts depending on late responses from this external and useless site.
We should not use gravatar. I can host your pictures on lk8000.it where we have unlimited bandwidth and space.

Focus on window not working in config correctly

Linux version. Simulate. Directly go to System setup, and for example enter page13, try to change Screen Data. When you click to change to half overlays you will not get the choice selected and be back to list of choices . If you click on Help instead of Half overlays, then you will be able to select half overlays, the focus been working.

Expose OverTargets::RotateOvertarget() as a ChangeMultitarget event

This is a minor feature request.

I am using events to bind certain actions to my hardware buttons (e.g. setting MC, launching basic setup and Analysis, etc. directly using hardware buttons). So far so good except for the MultiTarget Rotate function. With the current ChangeMultitarget event values:

TASK
BALT
ALT1
ALT2
HOME
THER
MATE
FLARM
MARK
PASS

I am able to bind a button to an action that always switches multitarget to one of the aforementioned modes. Instead, I would like to bind the button to the ROTATE action that would iterate over the targets just like when hitting the upper left corner. Exposing the ROTATE value of the ChangeMultitarget event would do the trick.

Thanks in advance!

Speed up MapWindow by splitting CalculateWayPointReachable function

There is no reason to recalculate each second waypoints. LK was doing this at 0.5hz already, but with giant wp files a lot of CPU is requested nevertheless.
Instead of doing a flip/flop , we can divide the waypoints into slots, and split this calculations during 5 to 20 seconds.
Preliminar tests are showing a good speed gain, better GUI response no more "randomly fast".
In a test with 1800 waypoints, Old cpustat was jumping between 520-680ms (because of flip/flop) average 600ms . New cpustat is showing 490ms constant.

Loading 8000 waypoints, old cpu: 3650ms , new cpu: 800ms
Startup old> very very slow, unresponsive. New> immediate, and fast response on GUI.

There is still an overhead somewhere, but 800ms is acceptable considering that they are calculated on a MIO400, airspaces on. On a faster device, it would probably be around 500ms.

Why one would load 8000 waypoints is another issue.

Under test.

HalfOverlay depends on the 'Show Clock'

Half Overlay in landscape mode depends from 'Show Clock' parameter, but clock is never shown in HalfOverlay. Clock should either be visible in that mode or its parameter should not have any effect on HalfOverlay layout.

TasToIas and IasToTas calculation

These conversion use AirDensityRatio at QNE altitude (aka pressure altitude).
We should check that a pressure altitude is available, check for QNH to be consistent with gps altitude (separate function) and eventually consider adjusting it.
For estimation of tas and ias we should always try to use the best possible pressure altitude in airdensityratio.
Use of NavAltitude is not good and has been changed to gpsaltitude in the meantime.

Special AutoZoom for Paragliders

Paragliders request special AutoZoom behavior. It should be Zoomed In until the specific range from the target is reached. After that map should adjust zoom to always see TP but should Zoom In no more than the value provided in System Setup. After advancing TP initial (Zoomed In) scale should be restored.

Possible bug in profiles and DEFAULT profile settings

I think there is a possible bug, not critical but annoying,somewhere concerning profiles.
I suspect that the same instance of variable, for example AutoZoom=0 can be saved two times in the profile file.
So the first instance is used by dlgConfiguration, and for example AutoZoom will appear as off.
But the second instance will be loaded at startup by the profile parser, too, and in this case will set AutoZoom on . This is an example.
I am not 100% sure , but this might be the cause.

Script for code reversibility is creating problems with VI and some editors?

Using "vi" editor, under linux, after saving the file all lines created with the reversibility script will result to be changed too! This will create a big confusion since it will make it hard to see real changes.

Fixing the script is required, in order to use it for the future. I have updated the wikis, also, to make it more clear: it is highly better to make reversibility manually, while coding, than asking a software to create thousands of ifdef which will make the code unreadable.
This is not the scope of reversibility!

Problems with AutoZoom

AutoZoom calulations have problem because "DerivedDrawInfo.ZoomDistance" is not always in sync with "Task[ActiveWayPoint].Index". It happens that current waypoint changes but the distance to it is recalculated too late.

AutoZoom for any target

Right now AutoZoom zooms always to the nearest waypoint. If a pilot selected multitarget to ie. last thermal or a buddy from his team wouldn't it be able to zoom the map too in such a case?

Crash after unloading waypoint DAT file

This is not critical, because it can only happen on ground.
Not sure it is a happening all the times, and maybe it depends on the file size too.
Anyway.
Load waypoint file 1 with CUP wps, and file 2 with a big DAT wp file.
For example this http://www.segelflug.de/vereine/welt2000/download/CAMBRIDG.DAT

After startup, go back to config and unselect the big DAT file.
Sw crashes while "Loading waynotes.." or something.
Happens on PC, and on PNA of course as well.

Disabled choices in configuration not grey backgrounded

ON 5.0 PC version go to system config page 13 Map Overlays, choose Screen Data Half Overlay.
The "Show Clock" choice is now painted on a grey background to indicate the choice is not available. If you click on it, Help is issued.
On Linux there is no grey painted.

Pan Mode Full Screen problems

When a PAN mode works in a Full Screen mode the lower part of the display (part when normally Bottom Bar is) is not responsive. It has many drawbacks like:

  1. You cannot zoom out by clicking on the lower part of the display
  2. Higher Zoom In button takes less than 50% of the screen
  3. When Active Map is on waypoints at the bottom part of the screen are not selectable.

I recommend fixing that bug after merging new map zoom to prevent not needed merge conflicts.

Glider flaps setting helper

That feature needs:

  1. Changes to polar file. It will no longer be a PLR file. It will contain optional data about flap speeds also. Creating a new LK8000 dedicated glider file will allow us to remove all glider specific fields from PRF file (i.e. handicap, max speed, etc.) and move them to that new file. Alternatively we can provide another parallel file with that information but I do not think it will be the best answer.
  2. A few calculations to change flap speeds according to wing loading
  3. InfoBox presenting which flap setting should be used right now.

glider Puchacz can not load water

The polar file SZD-50 Puchacz.plr has defined water ballast but the glider Puchacz has no tanks. Please set the water ballast to 0 in the polar file.

Size all fonts correctly

Currently custom fonts, including 800x600 , in linux have bad font sizes.
They will be fixed soon and most issues with text and screen glitches will be fixed too.
The problem is under my care

Make Pan event naming scheme consistent

Currently, the Pan event has the following arguments:

up - zooms in
down - zooms out
left - actually moves the map to the left
right - actually moves the map to the right

This is pretty inconsistent. What's worse is that events that would actually move the map up/down are not exposed at all which makes it impossible to use special mapping of hardware keys in the pan mode.

I propose exposing the real up/down event arguments.

PC version, crashes on startup

To reproduce: run a 5.0 version, enter map.
Without exiting the running 5.0, run a new 5.3 (two simultaneous instances of LK can be run in testbench mode in fact).
Even after exiting the 5.0 version, running 5.3 version will make them crash.

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.