Giter VIP home page Giter VIP logo

kuksa.val's Introduction

KUKSA.VAL

kuksa.val Logo

This is KUKSA.val, the KUKSA Vehicle Abstration Layer.

Gitter License Build Status

KUKSA.val provides a Genivi VSS data model describing data in a vehicle. This data is provided to applications using a variant based on the W3C VISS Interface. KUKSA.val supports VISS V1 https://www.w3.org/TR/vehicle-information-service/ and extensions as well as parts of the upcomming VISS2 standard (Gen2 Core, Gen2 Transport), that are applicable to in-vehicle VSS servers.

See Supported Protocol for a detailled overview.

Features

Quick start

Using Docker Image

If you prefer to build kuksa.val yourself skip to Building KUKSA.val.

Download a current docker image from our CI server:

https://ci.eclipse.org/kuksa/job/kuksa.val/job/master/

The container images should work with any OCI compliant container runtime, in this document we assume you are using docker

Import the docker image

docker load -i kuksa-val-b3084b9-amd64.tar.xz

Your build tag may vary, and for ARM machines you need to choose an arm64 images.

Prepare an empty directory $HOME/kuksaval.config. Run the docker image using the tag reported by docker load:

docker run -it --rm -v $HOME/kuksaval.config:/config  -p 127.0.0.1:8090:8090 -e LOG_LEVEL=ALL amd64/kuksa-val:b3084b9

More information on using the docker images can be found here.

To learn, how to build your own docker image see doc/build-docker.md.

If this is succesful you can skip to using kuksa.val.

Building kuksa.val

KUKSA.val uses the cmake build system. First install the required packages. On Ubuntu 20.04 this can be achieved by

sudo apt install cmake build-essential libssl-dev libmosquitto-dev 

Note: If you use cmake >= 3.14, you do not need to install boost on your system. cmake will download the required boost for building. Otherwise you need install the boost==1.75 on the system.

When fetching the source, make sure you also get the needed submodules, e.g. by using the --recursive flag

git clone --recursive https://github.com/eclipse/kuksa.val.git

Then create a build folder inside the kuksa.val folder and execute cmake

mkdir build
cd build
cmake ..

If there are any missing dependencies, cmake will tell you. If everythig works fine, execute make

make

(if you have more cores, you can speed up compilation with something like make -j8

Additional information about our cmake setup (in case you need adavanced options or intend to extend it) can be found here.

Running kuksa.val

After you successfully built the kuksa.val server you can run it like this

#assuming you are inside kuksa.val/build directory
cd src
./kuksa-val-server  --vss ./vss_release_2.0.json --log-level ALL

Setting log level to ALL gives you some more information about what is going on.

You can also edit config.ini file to configure kuksa val server. This file will be copied to the build directory and used als default config, if no other config file is specified using the command line option -c/--config-file.

For more information check usage.

Using kuksa.val

The easiest way to try kuksa.val out, is to use the test client kuksa_viss_client:

pip install kuksa-viss-client
kuksa_viss_client

try kuksa_viss_client out

The jwt tokens for testing can also be found under kuksa_certificates/jwt.

You can also use the provided python sdk to develop your own kuksa.val clients. More details about kuksa_viss_client can be found here.

Additionally, you can use the example apps and feeders to handle vehicle data, interacting with the kuksa.val server.

kuksa.val's People

Contributors

wenwenchenbosch avatar sebastianschildt avatar rai20 avatar junh-ki avatar argerus avatar linussieweke avatar nayakned avatar phongt avatar daschubert avatar alexexpleo avatar anntexx avatar phil-hei avatar rohoet avatar mwagner1886 avatar dependabot[bot] avatar

Watchers

James Cloos avatar  avatar

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.