Code Monkey home page Code Monkey logo

meta-glide's People

Contributors

maluethi avatar ubx avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

meta-glide's Issues

Add support for SteFly Remote-Knüppelgriff

SteFly Remote-Knüppelgriff

We need to implement something that handles the speed command switch.

Key sequence from the Remote-Knüppelgriff

== Speed:
event at 1640083843.602031, code 04, type 04, val 458977
event at 1640083843.602031, code 42, type 01, val 01
event at 1640083843.602031, code 04, type 04, val 458777
event at 1640083843.602031, code 47, type 01, val 01
event at 1640083843.602031, code 00, type 00, val 00
event at 1640083843.603018, code 04, type 04, val 458977
event at 1640083843.603018, code 42, type 01, val 00
event at 1640083843.603018, code 04, type 04, val 458777
event at 1640083843.603018, code 47, type 01, val 00
event at 1640083843.603018, code 00, type 00, val 00
V


== Vario:
event at 1640083896.862303, code 04, type 04, val 458977
event at 1640083896.862303, code 42, type 01, val 01
event at 1640083896.862303, code 04, type 04, val 458774
event at 1640083896.862303, code 31, type 01, val 01
event at 1640083896.862303, code 00, type 00, val 00
event at 1640083896.863330, code 04, type 04, val 458977
event at 1640083896.863330, code 42, type 01, val 00
event at 1640083896.863330, code 04, type 04, val 458774
event at 1640083896.863330, code 31, type 01, val 00
event at 1640083896.863330, code 00, type 00, val 00
S


== CANaerospace message 1510 to generate:
  can0  5E6   [5]  01 0A 00 3C 00
    	            |  |  |  |  |
  	            |  |  |  |  +---- 0=vario, 1=speed
  	            |  |  |  +------- Message Code (UCHAR)
  	            |  |  +---------- Service Code (xCHAR*)
  	            |  +------------- Data Type (UCHAR)=0A
  	            +---------------- Node-ID (UCHAR)

Handle buttons

Implement 'something' (background program, DTS, driver ...) to generate key press for the following buttons connected to the Colibri as following:

Buttons

Key Key Name Colibri T30 Pin GPIO Description
F1 KEY.F1 34 TEGRA_GPIO_PK7 / 87 generate '2' key
F2 KEY.F2 105 TEGRA_GPIO_PK2 / 82 generate '3' key
Esc KEY.ESC 55 TEGRA_GPIO_PB6 / 14 generate '0' key

Handle rotary knobs

Implement 'something' (background program, DTS, driver ...) to generate key press for the following rotary knobs connected to the Colibri as following:

Rotary knobs

Fnc Fnc Name Colibri T30 Pin GPIO Description
? FNC1.A 106 TEGRA_GPIO_PK4 / 84 generate 'Left' key
? FNC1.B 104 TEGRA_GPIO_PX7 / 191 generate 'Right' key
? FNC2.A 102 TEGRA_GPIO_PX6 / 190 generate 'Up' key
? FNC2.B 98 TEGRA_GPIO_PZ1 / 201 generate 'Down' key
? KEY.Enter 45 TEGRA_GPIO_PV1 / 169 generate '1' key
? KEY.F3 100 TEGRA_GPIO_PX5 / 189 generate '4' key

Can't compile with C++20 feature

Since XCSoar uses the C++20 feature, we can't compile anymore, the yocto BSP 2.8 comes with gcc 7.3.

Possible solutions:

  1. Update yocto BSP 2.8 to a newer gcc compiler version (i.e. version 10.0)
    → It is not recommended by Toradex. Probably too may side effects.
  2. Add a secondary toolchain yocto BSP 2.8 with a gcc 11
    → Mixing different toolchains is something hard to accomplish, but not impossible.
  3. Cross compile and link XCSoar static on another host. XCSoar would be independent of the libs present in the module’s OS. Similar to TARGET=KOBO.
    → Seems a promising way to go.
  4. Update Yocto Project to Kirkstone
    → Would need to replace Colibri T20 with Colibri iMX6, which should be pin compatible.

So we need a new target: TARGET=COLIBRI which would be similar with KOBO or upgrade Yocto Project to Kirkstone.

TODO

  • Setup a todo list
  • XCSoar: start on boot
  • XCSoar: CAN device menu, remove speed setting
  • XCSoar: investigate map jitter
  • glide: test on Display L hardware
  • glide: create a mini maintenance menu
  • glide: maintenance menu: upload XCSoar site files
  • glide: maintenance menu: update XCSoar
  • glide: maintenance menu: download igc files from vario
  • glide: maintenance better menu
  • glide: detect idle and lower backlight power

CAN Bus not working on Display-L Board

We need a patch (for arch/arm/mach-tegra/board-colibri_t30.c ?) to get the CAN device working. BTW it works with the Colibri Evaluation Board. See the wiring differences between Evaluation Board and Display-L Board:

Eval-DisplayL

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.