Skip to main content

Programming Robots Virtually 2: iRobot Simulator

In this series of posts, I am going to look at experimenting with a few tools that allow robots to be simulated, programmed, ideally web-based, free and simple to use. In this post, I am looking at iRobots recently released free tool that can be used on computers, tablets and phone to program a simulated iRobot Root robot targetted at educational use.


The initial inspiration for looking at this was through an IEEE Spectrum online article; the tool is web-based app and can be found at https://code.irobot.com/#/ 



In my opinion, it's most interesting feature is the same code can be written in three different ways. The codes below were the same thing (touch the left sensor turns and draws left, similarly for the right sensor; and lastly when front bump sensor touched it moves forward and plays a C) on all three levels. You only need to write it in one and it is usually available in all three levels, potentially good for transitioning between levels of challenge?


Level 1 is based around connecting icons together, aimed at young children





 Level 2 is a graphical, drag and drop blocks programming language in the same vein as Scratch and makecode   





Level 3 is a more traditional text-based programming language currently it is Swift; their website suggest other programming languages may be coming soon.




Resources
Learning library https://edu.irobot.com/learning-library is available but you need a code to access some of the resources.



My view so far
If you want a tool to use with very small children using Level 1, through more flexibility using Level 2 to text-based using Level 3. Nice, as the same tool can be used at different levels. It does simulate a real robot iRobot Root coding robot see https://www.irobot.co.uk/root for more details.


This might be of interest





All opinions in this blog are the Author's and should not in any way be seen as reflecting the views of any organisation the Author has any association with. Twitter @scottturneruon

Comments

Popular posts from this blog

Robot Software

In the previous blog posts for this 'series' "It is a good time...."  Post 1  looked at the hardware unpinning some of this positive rise in robots; Post 2  looked at social robots; Post 3  looked at a collection of small robots; Post 4 looked at further examples of small robots Robots, such as the forthcoming Buddy and JIBO, will be based some established open sourceand other technologies. Jibo will be based around various technologies including Electron and JavaScript (for more details see:  http://blog.jibo.com/2015/07/29/jibo-making-development-readily-accessible-to-all-developers/ ). Buddy is expected to be developed around tools for Unity3d, Arduino and OpenCV, and support Python, C++, C#, Java and JavaScript (for more details see http://www.roboticstrends.com/article/customize_your_buddy_companion_robot_with_this_software_development_kit ).  This post contin ues with some of the software being used with the smaller robots.  A number ...

Speech Recognition in Scratch 3 - turning Hello into Bonjour!

The Raspberry Pi Foundation recently released a programming activity Alien Language , with support Dale from Machine Learning for Kids , that is a brilliant use of Scratch 3 - Speech Recognition to control a sprite in an alien language. Do the activity, and it is very much worth doing, and it will make sense! I  would also recommend going to the  machinelearningforkids.co.uk   site anyway it is full of exciting things to do (for example loads of activities  https://machinelearningforkids.co.uk/#!/worksheets  ) . Scratch 3 has lots of extensions that are accessible through the Extension button in the Scratch 3 editor (see below) which add new fun new blocks to play with. The critical thing for this post is  Machine Learning for Kids  have created a Scratch 3 template with their own extensions for Scratch 3 within it  https://machinelearningforkids.co.uk/scratch3/ . One of which is a Speech to Text extension (see below). You must use this one ...

Scratch and web-cams in Scratch 3

Scratch 3 was launched on 2nd January 2019, so I wanted to know would Webcams still work with Scratch 3 as it did with Scratch 2. For example, in a previous post  Scratch, webcams, cats and explosions  the cat (Scratch) moved across the screen and a button burst when the object moved in the camera onto it.  Can the same thing be done in Scratch 3? The short answer is yes, but it is done slightly differently. The first change the video capture is not there in the blocks automatically; but is an extension that needs to be added. First, you need to add the extension blocks for video sensing. Go to the little icon at the bottom left of the screen (as shown below) this takes you to the extensions menu. Next, find the Video Sensing option and selected. The webcam, if enabled, with start automatically. A video sensing set of blocks is now in the list of block options.  The rest is very similar to doing this in Scratch 2. Moving ...