Awesome Open Source
Awesome Open Source


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


Requeriments for Erle-Brain3

sudo apt update
sudo apt install -y git cmake python3 python3-pip python3-yaml
sudo pip3 install autobahn rospkg
mkdir -p ~/blockly_ws/src
cd ~/blockly_ws/src
git clone
cd robot_blockly/frontend/
git clone
git clone
cd ~/blockly_ws/
sed -i 's/crab_msgs.msg//g' scripts/ #Remove spider msgs
catkin_make_isolated -j2 --pkg robot_blockly --install

You can also try

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

Create your own blocks

  • Open frontend/demos/blockfactory/index.html
  • Design you own block and then add the metadata to: frontend/blockly/blocks and frontend/blockly/generator
  • Launch python to regenerate the blocks.

In-depth explanation here


blockly has been built based on blockly, ACE and Bootstrap. Refer to their sources for the corresponding licenses.

Unless specified, the rest of the code is freed under a GPLv3 License.


Robots where blockly has been implemented:

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
javascript (68,779
ros (244
robot (143
scratch (23
blockly (20

Find Open Source By Browsing 7,000 Topics Across 59 Categories