beehive-lab / DFLOW

A framework for rapidly prototyping data DFLOW proof-of-concepts
Apache License 2.0
2 stars 0 forks source link

DFLOW

Build Status

A framework for rapidly prototyping data flow proof-of-concepts

Participants: Maximilian Gama, Osher Landes, Radu-Tudor Andra

This framework provides the means of accessing a CAN-based system(Motorcycle signals have been used in this case) and utilizing it's resources for IoT applications. The project can be used either as an example, a platform which allows for prototyping and assesment, or a starting point for a more complex project.


Components:


Functionalities provided:

On-Board:

Client:

The library is designed to work with Linux but can be adapted to other OSs.

Getting started

Libraries required

cantools can be installed using the requirements.txt file in on-board/trace_simulation by running python install -r requirements.txt. Similarly, frugally-deep can be installed running the isntall_frugally-deep.sh script in on-board.

cantools repository: https://github.com/eerimoq/cantools frugally-deep repository: https://github.com/Dobiasd/frugally-deep

Running the on-board system

  1. Compile the project using cmake build/, cd build and the cmake --build . .
  2. To run the on-board a CAN bus must be simulated on the machine: the script for this is can_bus_setup.sh in on-board/trace_simulation.
  3. In order to receive data the simulated trace must be run with run_trace.sh in on-board/trace_simulation.
  4. The on-board only functionality can now be run with ./Radu_DFLOW_OnBoard from inside the on-boards' build folder.
  5. For integration of inter-communication functionality with DFLOW_OnBoard Test certificates must be generated using generate_test_certs and the project path must be set up in on-board/src/config.cpp.
  6. The full on-board functionality can now be run with ./DFLOW_OnBoard from inside the on-boards' build folder.

Running the client

To setup and run the client simply cd into the client directory and run the run.sh script.

Wiki Page with further Information

https://github.com/beehive-lab/DFLOW/wiki