A simple way to program ROS robots using blockly.
JavaScript HTML CSS Python Shell Emacs Lisp
Pull request Compare This branch is 5 commits ahead, 3 commits behind erlerobot:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
frontend
graph
img
launch
scripts
srv
.gitignore
.gitmodules
CHANGELOG.rst
CMakeLists.txt
LICENSE
README.md
package.xml

README.md

robot_blockly

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

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

You can also try

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

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 build.py to regenerate the blocks.

In-depth explanation here

License

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.

Documentation

Robots where blockly has been implemented:

Do you need help getting your robot supported? Launch your questions at http://forum.erlerobotics.com.