GithubHelp home page GithubHelp logo

alyramzy / learnblock Goto Github PK

View Code? Open in Web Editor NEW

This project forked from robocomp/learnblock

0.0 1.0 0.0 334.56 MB

Source code of the educational programming tool LearnBlock

License: GNU General Public License v3.0

Python 57.91% Shell 0.07% Makefile 0.08% C 37.21% Slice 2.21% CSS 0.47% C++ 2.05%

learnblock's Introduction

Donate


LearnBlock is an educational programming tool for learning programming. It has been designed to facilitate the learning process starting with a visual programming language and progressing towards a professional programming language.

LearnBlock is robot-agnostic, i.e. the same program can be executed in several robots. Clients for new robots can be easily created adding device interfaces and implementing hardware access methods for those interfaces. Examples of existing clients can be found here

Main features

Among other features, LearnBlock includes the following:

  • Available for different physical robots (EBO, Cozmo, Thymio and EV3) and simulated ones (EBO under RCIS and EV3 under V-REP).
  • Robots can be programmed using different languages: visual language, Block-Text (textual representation of the visual language) and Python.
  • New blocks can be created from code (Python) using the tool itself or external tools.
  • A program can be run and stopped at any moment. When a program is interrupted the robot is properly stopped and disconnected.

Installation

LearnBlock can be installed from PyPi or from sources. To install the last release of LearnBlock, you can follow the steps described in https://pypi.org/project/learnblock/

If you want to install LearnBlock from sources, the following packages must be installed:

sudo apt update

sudo apt install python3-pip cmake python3-zeroc-ice libnss3 libxcomposite1 libxcursor1 libxi6 libxkbcommon0 libasound2

sudo pip3 install apriltag requests pyunpack opencv-python-headless imutils six tensorflow dlib paramiko Pillow paho_mqtt PySide2 pyparsing qdarkstyle future

cd to your home directory and type:

git clone https://github.com/robocomp/LearnBlock.git

Edit your ~/.bashrc file:

gedit ~/.bashrc

Add these lines at the end:

export PYTHONPATH="${PYTHONPATH}:~/LearnBlock"

Update the bash process by typing:

source ~/.bashrc

Copy the following files to /usr/local/bin:

sudo cp -p ~/LearnBlock/learnbot_dsl/learnbotCode/LearnBlock ~/LearnBlock/learnbot_dsl/components/apriltag/src/aprilTag.py ~/LearnBlock/learnbot_dsl/components/emotionrecognition2/src/emotionrecognition2.py /usr/local/bin

You can now start LearnBlock by typing LearnBlock

Contributing

Thanks for your interest in contributing code! If you find an error or some improvement, I'd appreciate you told me. Please, use this template


Drop comments and ask questions in:

Please, report any bug to [email protected]

learnblock's People

Contributors

ibarbech avatar pilarbachiller avatar mhaut avatar jmi2k avatar aniq55 avatar brickbit avatar orensbruli avatar pbustos avatar prasadkshirsagar avatar juanmareke avatar

Watchers

James Cloos 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.