Skip to main content

More computing. more interaction - Greenfoot




One of the criticism of the robot programming part of the Junkbots project is not everyone necessarily gets a go at the programming. To address this a new feature has been added to the project. There are now two parallel activities  as well as programming a robot; there is a separate programming exercise carried out at the same time which replicates some of the same actions of the robot but this time on screen.
Figure: Robot pushing a barrel

These exercises are based around the increasngily popular Greenfoot software (http://www.greenfoot.org/download/) which is free to download and use. This can be put on as many machines as are need enabling more people to have a go at programming.

The exercises initially gets participants to set-up the world, place a robot within it and get the robot to move across the screen. Building on the each previous exercise, the complexity increases and includes challenges (such as in the figure) where the robot pushes a piece of rubbish (in this case a barrel) off the screen.


Some of the material can be found at: http://www.computing.northampton.ac.uk/~scott/greenfoot_ex/sco1/default.htm





Comments

Popular posts from this blog

junkbots 3 - bring it all together

Junkbots session 3: Move the robot but now there are rocks in the way.  This is the last of three posts - Introduction and sequence - Loops and just having fun - This one: Making decisions and bringing it all together. What is the Junkbots project The Junkbots project has been running for a number of years as an initiative to bring sustainability, computing and engineering together by building bots out of junk; details of the project can be found at.  https://junkbots.blogspot.com/  . Junkbots is an extension of the Research into the teaching problem-solving going on at the University of Northampton please feel to visit  https://computingnorthampton.blogspot.com/2019/01/problem-solving-research-outputs-and.html  for more details.   What are we going to do? ·         Play with a Scratch robot on the screen! ·         Build on the routines from the previous session. ·    ...

Junkbot Raspberry Pi: 2 Raspberry Pi Junkbot in action

First video of a junkbot being controlled by a Raspberry Pi. The bot was developed by Hayden Tetley and Scott Turner. Hayden's time was paid  for through the Nuffield Research Placements  Scheme ( http://www.nuffieldfoundation.org/nuffield-research-placements ). Next post will provide further details on how this was done. If you would like to know more about the Junkbots project contact scott.turner@northampton.ac.uk

Junkbot Raspberry Pi: 1 ScratchGPIO

A development I have being wanting to develop for a while is the combine the Raspberry Pi with a Junkbot to add some control.  This the first of postings about these experiments. All the development will be around ScratchGPIO ( http://cymplecy.wordpress.com/scratchgpio/ ) so this posting will look into its use . Why ScratchGPIO? Short answer - simplicity. It is designed to look and work like Scratch ( http://scratch.mit.edu/ ) but allowing access to board that can drive motors. Installing ScratchGPIO? As a suggest use as lastest as possible version of the operating system as you can on your SD card. Initially we had trouble with missing Python files that was resolved when using an updated version of the operating system. In the LXTerminal Type in: sudo wget http://goo.gl/Pthh62 -O isgh5.sh then type in sudo bash isgh5.sh You should get to new icons for ScratchGPIO5 and ScratchGPIO5Plus Now use these instead of the Scratch that came with the operating...