Git Product home page Git Product logo

predictive_and_self_triggering's Introduction

Predictive and Self Triggering

This repository is the official implementation of the paper "Resource-aware IoT control: Saving comunication through predictive triggering" by Sebastian Trimpe and Dominik Baumann, published in the IEEE Internet of Things Journal.

Requirements

The code was developed using Python 3.6 and also tested with Python 3.4. The following libraries are required:

  • numpy with numpy.matlib
  • scipy
  • matplotlib
  • control
  • copy

Simulation

The code implements the simulation example discussed in Sec. IX of the paper. It consists of a bunch of vehicles platooning with a desired inter-vehicle distance and velocity. All vehicles can only measure their own absolute positions and, thus, need to communicate with the other vehicles to maintain the desired inter-vehicle distance. The decision when to communicate is taken by either the predictive or the self trigger.

Execution

To execute the code, run the command

python single_experiment.py

to start a single simulation,

python run_braking_experiment

for a single simulation in which the first vehicle in the platoon starts to brake after 10s (the seed is set such that the results from the paper can be recreated), and

python trigger_comparison.py

to start a Monte Carlo simulation comparing predictive and self triggering for different communication thresholds.

predictive_and_self_triggering's People

Contributors

baumanndominik avatar

Stargazers

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