/scratch3-ros

Experimental ROS Extension for Scratch 3

Primary LanguagePython

ROS Extension for Scratch 3

WORK IN PROGRESS

scratch3-ros

Run from browser

Access https://affonso-gui.github.io/scratch-gui.

MALFUNCTION on ROS connection

Run from source

sudo apt install npm # Tested with versions 6.4.0 and 10.12.0
mkdir Scratch; cd Scratch
git clone https://github.com/Affonso-Gui/scratch-vm.git
git clone https://github.com/Affonso-Gui/scratch-gui.git

cd scratch-vm
npm install
npm link

cd ../scratch-gui
npm install
npm link scratch-vm
npm start

Then, access http://localhost:8601.

Basic Usage

Basic inverse kinematics sample from tork_moveit_tutorial using MoveGroupCommander interface is reproduced in Scratch 3 and shown below.

tork_example

TODO: Add scratch built-in documentation

Demo Program

This repository have sample programs and launch files for using Scratch 3 ROS extension to control PR2 robot.

To run demos launch demo.launch on a terminal and load files places on examples/ from Scratch 3.

pr2_cup_demo

TODO: add turtlesim and turtlebot demos