Giter Club home page Giter Club logo

robolab-ev3dev-startup's Introduction

RoboLab Startup Service

A systemd service that automatically executes some commands and scripts that speed up the process of testing code during the RoboLab courses.

What does it do?

  1. Initiate a tmux session after boot called ev3-robolab-startup
  2. Run the Python script startup.py in interactive mode which then performs the following steps:
  3. Import the package ev3dev.ev3 as ev3.
    This particular import takes a lot of time as it is a huge package that is responsible for all functions related to the LEGO MINDSTORMS EV3 hardware.
  4. Import the reloader package.
    This package is capable of reloading specific modules including their dependencies.
  5. Blacklist the ev3dev.ev3 package
    As this package does not alter during the development and testing of Python scripts, we want to avoid reloading it over and over again.
  6. Wait for further commands
    As we ran startup.py with the -i after execution of the past steps, we remain with an open Python interactive shell awaiting further commands.

Developed as part of the RoboLab project at the Systems Engineering Group, TU Dresden.
Copyright © 2017 Lutz Thies

robolab-ev3dev-startup's People

Contributors

lutzthies avatar

Stargazers

 avatar

Watchers

 avatar  avatar

robolab-ev3dev-startup's Issues

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.