Giter Site home page Giter Site logo

aravindk2604 / turtlebot3_blockly Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 14.0 26.98 MB

Control Turtlebot3 using drag and drop software developed by Google - Blockly

License: GNU General Public License v3.0

CMake 0.01% HTML 9.45% JavaScript 87.23% Python 0.64% Emacs Lisp 0.01% Shell 0.03% CSS 2.63% Batchfile 0.01%

turtlebot3_blockly's Introduction

turtlebot3_blockly

This is a modified version of the erlerobot/robot_blockly repo. You can now control TurtleBot3 using Blockly - drag and drop software developed by Google.

GIF showing drag-drop of blocks

Installation

mkdir -p ~/blockly_ws/src
cd ~/blockly_ws/src
git clone https://github.com/dabit-industries/turtlebot3_blockly
cd turtlebot3_blockly/frontend/
git submodule add https://github.com/dabit-industries/ace-builds.git ace-builds
git submodule init
git submodule update
git submodule add https://github.com/dabit-industries/blockly.git blockly
git submodule init
git submodule update
cd ~/blockly_ws/
catkin_make_isolated -j2 --pkg turtlebot3_blockly --install

or you may try this

mkdir -p ~/blockly_ws/src
cd ~/blockly_ws/src
git clone --recurse-submodules https://github.com/dabit-industries/turtlebot3_blockly

cd ~/blockly_ws
catkin_make_isolated -j2 --pkg turtlebot3_blockly --install

Launch

cd ~/blockly_ws
source devel_isolated/turtlebot3_blockly/setup.bash
roslaunch turtlebot3_blockly turtlebot3_blockly.launch

Bugs/Issues

Report here

Documentation

turtlebot3_blockly's People

Contributors

aravindk2604 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

turtlebot3_blockly's Issues

Not able to install turtlebot3_blocklt

After the installation without problem
At the Launch level the line : source devel_isolated/setup.bash
the setup.bash script is not there.
I found it with this modification:
source devel_isolated/turtlebot3_blockly/setup.bash
When I send the command
roslaunch turtlebot3_blockly turtlebot3_blockly.launch
I obtain these errors:
screenshot at 2018-04-08 14 29 37

Where is the errors I do ?
I am trying four times the installation with same issue

Best regards
Serge

No module named 'yaml' and 'rospkg'

Dear Sir/Madam

I have been tried install by follow the https://github.com/dabit-industries/turtlebot3_blockly

But, after catkin command is completed without any errors or warnings

Then, I've used bellow commands

$ source devel_isolated/turtlebot3_blockly/setup.bash
$ roslaunch turtlebot3_blockly turtlebot3_blockly.launch

I've got this............

... logging to /home/denso/.ros/log/69490f4c-bbc4-11e8-9d1b-144f8adee130/roslaunch-denso-G7-19258.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://denso-G7:32819/

SUMMARY

PARAMETERS

  • /rosdistro: kinetic
  • /rosversion: 1.12.14

NODES
/
turtlebot3_blockly_backend (turtlebot3_blockly/turtlebot3_blockly_backend.py)
turtlebot3_blockly_webserver (turtlebot3_blockly/pywebserver.py)

auto-starting new master
process[master]: started with pid [19268]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 69490f4c-bbc4-11e8-9d1b-144f8adee130
process[rosout-1]: started with pid [19281]
started core service [/rosout]
process[turtlebot3_blockly_backend-2]: started with pid [19298]
process[turtlebot3_blockly_webserver-3]: started with pid [19299]
Traceback (most recent call last):
File "/home/denso/blockly_ws/src/turtlebot3_blockly/scripts/turtlebot3_blockly_backend.py", line 35, in
import rospy
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/init.py", line 47, in
from std_msgs.msg import Header
File "/opt/ros/kinetic/lib/python2.7/dist-packages/std_msgs/msg/init.py", line 1, in
from ._Bool import *
File "/opt/ros/kinetic/lib/python2.7/dist-packages/std_msgs/msg/_Bool.py", line 5, in
import genpy
File "/opt/ros/kinetic/lib/python2.7/dist-packages/genpy/init.py", line 34, in
from . message import Message, SerializationError, DeserializationError, MessageException, struct_I
File "/opt/ros/kinetic/lib/python2.7/dist-packages/genpy/message.py", line 44, in
import yaml
ImportError: No module named 'yaml'
Traceback (most recent call last):
File "/home/denso/blockly_ws/src/turtlebot3_blockly/scripts/pywebserver.py", line 6, in
from rospkg import RosPack
ImportError: No module named 'rospkg'
[turtlebot3_blockly_backend-2] process has died [pid 19298, exit code 1, cmd /home/denso/blockly_ws/src/turtlebot3_blockly/scripts/turtlebot3_blockly_backend.py __name:=turtlebot3_blockly_backend __log:=/home/denso/.ros/log/69490f4c-bbc4-11e8-9d1b-144f8adee130/turtlebot3_blockly_backend-2.log].
log file: /home/denso/.ros/log/69490f4c-bbc4-11e8-9d1b-144f8adee130/turtlebot3_blockly_backend-2*.log
[turtlebot3_blockly_webserver-3] process has died [pid 19299, exit code 1, cmd /home/denso/blockly_ws/src/turtlebot3_blockly/scripts/pywebserver.py __name:=turtlebot3_blockly_webserver __log:=/home/denso/.ros/log/69490f4c-bbc4-11e8-9d1b-144f8adee130/turtlebot3_blockly_webserver-3.log].
log file: /home/denso/.ros/log/69490f4c-bbc4-11e8-9d1b-144f8adee130/turtlebot3_blockly_webserver-3*.log
^C[rosout-1] killing on exit
[master] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done

some problems on the blockly test with Burger

Hi,

when i carried out the turtlebot3_blockly with a burger ,i found some problems.

it can't execute the other blockly command except for the first and Burger can't stop when it run the first blockly command .

Additionally,only in the case of the use of python 2, the blockly command can be used.

thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.