robot_blockly
is a ROS package that provides web-based visualization and block programming tools for robots and drones.
mkdir -p ~/ws_xbotblockly/src
cd ~/ws_xbotblockly/src
git clone --recursive https://github.com/lazyparser/robot_blockly
cd ..
catkin_make_isolated -j2 --pkg robot_blockly --install
source ~/ws_xbotblockly/install_isolated/setup.bash
roslaunch robot_blockly robot_blockly.launch
- Open
frontend/demos/blockfactory/index.html
- Design you own block and then add the metadata to:
frontend/blockly/blocks
andfrontend/blockly/generator
- Launch
python build.py
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.