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


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.




mkdir -p ~/blockly_ws/src
cd ~/blockly_ws/src
git clone
cd robot_blockly/frontend/
git clone
git clone
cd ~/blockly_ws/
catkin_make_isolated -j2 --pkg robot_blockly --install


mkdir -p ~/blockly_ws/src
cd ~/blockly_ws/src
git clone --recurse-submodules
cd ..
catkin_make_isolated -j2 --pkg robot_blockly --install

Launch it

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


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.

Wiki: robot_blockly (last edited 2016-10-05 03:59:05 by VictorMayoral)