blockly is a ROS package that provides web-based visualization and block programming tools for robots and drones.
Note: The package has been renamed from ros_rosimple to ros_blockly to meet http://wiki.ros.org/ROS/Patterns/Conventions
cd <catkin_ws_root>/src
git clone https://github.com/lucasw/ros_blockly
cd ros_blockly/frontend
git clone https://github.com/lucasw/blockly
git clone https://github.com/erlerobot/ace-builds
cd ../scripts
# install apache
sudo apt-get install apache2
# make sure that Apache is running properly in your robot and then
sudo ln -s <caktin_ws_root>/src/ros_blockly/frontend/ /var/www/ros_blockly
# Install dependencies
sudo pip3 install rosdep rosinstall_generator wstool rosinstall
sudo pip3 install autobahn
cd <catkin_ws_root>
catkin_make #_isolated --pkg blockly --install
#source install_isolated/setup.bash
roscore
rosrun blockly blockly_backend.py
# now go to http://localhost/ros_blockly
# and start playing!
- 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.
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.
- Erle-Spider
- Erle-Rover (Work in progress)
Do you need help getting your robot supported? Launch your questions at http://forum.erlerobotics.com.