Skip to content

lucasw/ros_blockly

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blockly

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

Installation:

Frontend

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

Backend

# 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!

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.

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.

About

A simple way to program robots using ROS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 87.3%
  • HTML 9.4%
  • CSS 2.7%
  • Python 0.6%
  • Shell 0.0%
  • Emacs Lisp 0.0%