Skip to content

eborghi10/ros_blockly

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ros_blockly

ros_blockly is a web-based graphical tool for programming in ROS intended to be used for kids and newbies.

Installation:

# install apache
sudo apt-get install apache2
# Install dependencies
sudo pip3 install rosdep rosinstall_generator wstool rosinstall
sudo pip3 install autobahn
sudo apt-get install python3-defusedxml

Frontend

roscd
cd ../src
git clone --recursive https://github.com/eborghi10/ros_blockly
sudo ln -s ~/caktin_ws/src/ros_blockly/frontend/ /var/www/ros_blockly

Backend

roscd
cd ../
catkin_make --only-pkg-with-deps blockly
source devel/setup.bash
# Execute the ROS node
roslaunch blockly ros_blockly.launch
# now, open:
catkin_ws/src/ros_blockly/frontend/index.html
# and start playing!

Create your own blocks

  • Open frontend/blockly/demos/blockfactory/index.html
  • Design you own block and then add the metadata to: frontend/blockly/blocks and frontend/blockly/generators/python
  • 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

Cover photo

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 87.4%
  • HTML 9.4%
  • CSS 2.6%
  • Python 0.6%
  • Shell 0.0%
  • Emacs Lisp 0.0%