Code Monkey home page Code Monkey logo

cluon-lwe450's Introduction

cluon-lwe450

Copyright 2021 RISE Research Institute of Sweden - Maritime Operations. Licensed under the Apache License Version 2.0. For details, please contact Fredrik Olsson (fredrik.x.olsson(at)ri.se).

A libcluon-based microservice for listening in on a multicast-based LWE450 network. This software does not perform any parsing or validation of the LWE450 messages, merely acts as a one-way bridge from a LWE450 transmission group to the libcluon group.

How do I get it?

Each release of cluon-lwe450 is published as a docker image here and is publicly available.

Can also be used as a standalone commandline tool. No pre-built binaries are, however, provided for this purpose.

Example docker-compose setup

version: '2'
services:
    listener_1:
        # TGTD transmission group
        container_name: cluon-lwe450-listener-1
        image: ghcr.io/rise-mo/cluon-lwe450:v0.3.0
        restart: on-failure
        network_mode: "host"
        command: "--cid 111 --id 1 gather -a 239.192.0.2 -p 60002"
    listener_2:
        # SATD transmission group
        container_name: cluon-lwe450-listener-1
        image: ghcr.io/rise-mo/cluon-lwe450:v0.3.0
        restart: on-failure
        network_mode: "host"
        command: "--cid 111 --id 2 gather -a 239.192.0.3 -p 60003"

Details

Message set

Makes use of the public message set for maritime applications: https://github.com/MO-RISE/memo

Build from source

This repository makes use of CPM.cmake for dependency resolution as an interal part of the CMake setup. As a result, the only requirements for building from source are:

  • a C++17 compliant compiler
  • CMake (>=3.14)

As part of the CMake configuration step, the following dependencies are downloaded and configured:

To build (from the root directory of this repo):

cmake -Bbuild -DCMAKE_BUILD_TYPE=Release
cmake --build build -- -j 8

Development setup

This repo contains some configuration files (in the .vscode-folder) for getting started easy on the following setup:

  • Ubuntu 20.04 (WSL2 is fine)
  • GCC 9
  • python 3
  • VSCode as IDE, using the following extensions:
    • C/C++ (ms-vscode.cpptools)
    • C/C++ Extension Pack (ms-vscode.cpptools-extension-pack)
    • CMake Tools (ms-vscode.cmake-tools)
    • Python (ms-python.python)

Do the following steps to get started:

  • Clone repo
  • Create a python virtual environment (python3 -m venv venv) in the root of the repo.
  • Open vscode in the repo root (code .)

The provided configuration is very lightweight and should be easily adaptable to other enviroments/setups.

cluon-lwe450's People

Contributors

freol35241 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.