|
ROSScratch
ROS from Scratch: Scratch interface for ROS
ROS from ScratchROS from Scratch is a variation of the Scratch programming environment developed by Brown University to teach programming to middle school students through the use of robots. Scratch is actively developed at MIT as a programming environment for Middle School students and can be found here. Installation processes and project outlines have also been developed to allow instructors to get up to speed quickly and teach programming through robotics. ROS from Scratch currently supports the iRobot Create but can be easily customized to work with any ROS compatible robotic platform, such as the Parrot AR.Drone. Project ModulesClick here for information on how to use ROS from Scratch in your classroom. Project Modules outline basic programming features and the features of ROS from Scratch and how to introduce them to students who have no background in Scratch, Robotics, or Programming. TroubleshootingThe following points will help solve the most common issues that might arise while using ROS from Scratch. If you encounter other issues please contact cjenkins@cs.brown.edu
InstallationROS from Scratch can be installed in two different ways. For none technical users we have created Virtual Machine images which have all the necessary software installed. For advanced users you can install the individual components onto your computer. Installation via VMsUsing either a VirtualBox VM or VMware VM allow you to launch the entire ROS from Scratch system without installing ROS or Scratch individually, which requires advanced knowledge. By downloading and using one of these virtual machines the entire setup will be ready to go right out of the box. The virtual machines we have created will automatically connect to the robot when they start up. Click here if you'd like to download the VirtualBox image. Click here if you'd like to download the !VMware image. Both images are about 6GB in size. When installing onto multiple computers make sure to only download it once and use a USB drive to transfer it between machines as the download will take a significant amount of time. Take a look at these videos to get help on installing and using the virtual machines. Installing the VM
Launching ROS from Scratch from the VM
Manual InstallationMore advanced installation are outlined below and require that you can download and install packages in Ubuntu or other ROS and Scratch compatible operating system. This process yields a much smaller download size but requires that you know a great deal more about installing complex software packages via the command line. Install ROS from Scratch (our modified version of Scratch)Install Scratch via aptitude (cmd: sudo aptitude install scratch ). Obtain the ROSfromScratch package and unzip it on your $PATH. Modify the path within the executable wrapper ROSfromScratch to reflect the path to the file ROSfromScratch.image file that was included in the zip file. ROS and ROS/Scratch BridgeInstall ROS, then install brown-ros-pkg by checking it out of SVN and adding the checked out code to your $ROS_PACKAGE_PATH. After brown-ros-pkg has been installed you can download the ROS/Scratch Bridge. It contains ROS Launch files for icreate, icreate plus camera, and ardrone. Downloads
VideosThe following videos explain how to use ROS from Scratch and show what you can do with it. Changes from Scratch 1.4The following information is for Squeak developers looking to incorporate the changes made in our Scratch image into their own Scratch images. The changes listed below encompass all the changes that were made to Scratch to build ROS from Scratch. The following sections of the virtual filesystem have been modified:
These changes can be found by looking at the Scratch source available here: ROS from Scratch source |