[Documentation] [TitleIndex] [WordIndex

Blockly_img

Overview

Blockly is a ROS package that provides web-based visualization and block programming tools for robots and drones.

Intro

For several weeks we taught different groups (going from the high-shool level to the PhD one) how to make use of our robots. While most of the people quickly understand the different mechanical parts of a robot, understanding the underlying software is something that took quite a bit of effort.

When making our training sessions, one of the first things we try to introduce is the concept of the Robot Operating System (ROS). While there're many resources on this topic, it's a fact that learning ROS takes some effort even at the PhD level so we started prototyping ideas to make this proccess as simple as possible.

We wanted to reach high schools students so we realized that we had to remove the assumption of "coding skills" from the equation. This made us look into systems like Scratch for robot programming. The output of these prototypes has become blockly. A multiplatform web-based tool for programming robots and drones that use ROS. In fact, Blockly itself is a ROS package.

This package has been created in order to execute it under Erle-Brain 2, Erle-Robotics artificial brain for making drones and robots.

Examples

Tutorials

Installation

mkdir -p ~/blockly_ws/src
cd ~/blockly_ws/src
git clone https://github.com/erlerobot/robot_blockly
cd robot_blockly/frontend/
git clone https://github.com/erlerobot/ace-builds.git
git clone https://github.com/erlerobot/blockly.git
cd ~/blockly_ws/
catkin_make_isolated -j2 --pkg robot_blockly --install

or

mkdir -p ~/blockly_ws/src
cd ~/blockly_ws/src
git clone --recurse-submodules https://github.com/erlerobot/robot_blockly
cd ..
catkin_make_isolated -j2 --pkg robot_blockly --install

Launch it

source ~/blockly_ws/install_isolated/setup.bash
roslaunch robot_blockly robot_blockly.launch

Support

Please ask your questions not related to bugs/feauture requests on:

We'd like to keep the project bugtracker as free as possible, so please contact via the above methods.


2024-11-16 14:54